MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetKey

Method GetKey

src/base58.cpp:433–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433CKey CBitcoinSecret::GetKey()
434{
435 CKey ret;
436 assert(vchData.size() >= 32);
437 ret.Set(vchData.begin(), vchData.begin() + 32, vchData.size() > 32 && vchData[32] == 1);
438 return ret;
439}
440
441bool CBitcoinSecret::IsValid() const
442{

Callers 15

signmessageFunction · 0.45
MutateTxSignFunction · 0.45
SignMethod · 0.45
importprivkeyFunction · 0.45
importwalletFunction · 0.45
dumpprivkeyFunction · 0.45
dumpwalletFunction · 0.45
bip38encryptFunction · 0.45
GetVinFromOutputMethod · 0.45
SetKeyMethod · 0.45
CreateCoinStakeMethod · 0.45
signrawtransactionFunction · 0.45

Calls 3

sizeMethod · 0.45
SetMethod · 0.45
beginMethod · 0.45

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36