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

Function CreateMockableWalletDatabase

src/wallet/test/util.cpp:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120{}
121
122std::unique_ptr<WalletDatabase> CreateMockableWalletDatabase()
123{
124 return std::make_unique<MockableSQLiteDatabase>();
125}
126
127wallet::DescriptorScriptPubKeyMan* CreateDescriptor(CWallet& keystore, const std::string& desc_str, const bool success)
128{

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
WalletTestingSetupMethod · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
TestDatabasesFunction · 0.85
NewWalletFunction · 0.85
CreateSyncedWalletFunction · 0.85
NewWalletFunction · 0.85
fees.cppFile · 0.85
FuzzedWalletMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected