MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / Set

Method Set

src/base58.cpp:221–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219} // anon namespace
220
221bool CBitcoinAddress::Set(const CKeyID& id)
222{
223 SetData(Params().Base58Prefix(CChainParams::PUBKEY_ADDRESS), &id, 20);
224 return true;
225}
226
227bool CBitcoinAddress::Set(const CScriptID& id)
228{

Callers 2

operator()Method · 0.45
GetKeyMethod · 0.45

Calls 2

ParamsClass · 0.70

Tested by

no test coverage detected