MCPcopy Create free account
hub / github.com/ElementsProject/elements / GenerateNewSeed

Method GenerateNewSeed

src/wallet/scriptpubkeyman.cpp:1180–1186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1178}
1179
1180CPubKey LegacyScriptPubKeyMan::GenerateNewSeed()
1181{
1182 assert(!m_storage.IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS));
1183 CKey key;
1184 key.MakeNewKey(true);
1185 return DeriveNewSeed(key);
1186}
1187
1188CPubKey LegacyScriptPubKeyMan::DeriveNewSeed(const CKey& key)
1189{

Callers 1

sethdseedFunction · 0.80

Calls 2

IsWalletFlagSetMethod · 0.80
MakeNewKeyMethod · 0.80

Tested by

no test coverage detected