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

Method GetKey

src/base58.cpp:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288CKey CBitcoinSecret::GetKey()
289{
290 CKey ret;
291 assert(vchData.size() >= 32);
292 ret.Set(vchData.begin(), vchData.begin() + 32, vchData.size() > 32 && vchData[32] == 1);
293 return ret;
294}
295
296bool CBitcoinSecret::IsValid() const
297{

Callers 5

MutateTxSignFunction · 0.45
signrawtransactionFunction · 0.45
BOOST_FOREACHFunction · 0.45
AddAddressKnownMethod · 0.45
PushAddressMethod · 0.45

Calls 3

sizeMethod · 0.45
SetMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected