MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / TestUnloadWallet

Function TestUnloadWallet

src/wallet/test/util.cpp:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void TestUnloadWallet(std::shared_ptr<CWallet>&& wallet)
100{
101 // Calls SyncWithValidationInterfaceQueue
102 wallet->chain().waitForNotificationsIfTipChanged({});
103 wallet->m_chain_notifications_handler.reset();
104 WaitForDeleteWallet(std::move(wallet));
105}
106
107std::string getnewaddress(CWallet& w)
108{

Callers 4

BOOST_FIXTURE_TEST_CASEFunction · 0.85
WalletIsMineFunction · 0.85
WalletLoadingDescriptorsFunction · 0.85
WalletEncryptFunction · 0.85

Calls 3

WaitForDeleteWalletFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected