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

Method GetAccount

src/hdchain.cpp:187–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187bool CHDChain::GetAccount(uint32_t nAccountIndex, CHDAccount& hdAccountRet)
188{
189 LOCK(cs_accounts);
190 if (nAccountIndex > mapAccounts.size() - 1)
191 return false;
192 hdAccountRet = mapAccounts[nAccountIndex];
193 return true;
194}
195
196bool CHDChain::SetAccount(uint32_t nAccountIndex, const CHDAccount& hdAccount)
197{

Callers 3

getwalletinfoFunction · 0.80
dumpwalletFunction · 0.80
DeriveNewChildKeyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected