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

Method LoadWalletFlags

src/wallet/wallet.cpp:1495–1505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1493}
1494
1495bool CWallet::LoadWalletFlags(uint64_t flags)
1496{
1497 LOCK(cs_wallet);
1498 if (((flags & KNOWN_WALLET_FLAGS) >> 32) ^ (flags >> 32)) {
1499 // contains unknown non-tolerable wallet flags
1500 return false;
1501 }
1502 m_wallet_flags = flags;
1503
1504 return true;
1505}
1506
1507bool CWallet::AddWalletFlags(uint64_t flags)
1508{

Callers 1

LoadWalletMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected