MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / BerkeleyDatabase

Method BerkeleyDatabase

src/wallet/db.h:100–102  ·  view source on GitHub ↗

Create dummy DB handle */

Source from the content-addressed store, hash-verified

98public:
99 /** Create dummy DB handle */
100 BerkeleyDatabase() : nUpdateCounter(0), nLastSeen(0), nLastFlushed(0), nLastWalletUpdate(0), env(nullptr)
101 {
102 }
103
104 /** Create DB handle to real database */
105 BerkeleyDatabase(const fs::path& wallet_path, bool mock = false) :

Callers

nothing calls this directly

Calls 4

GetWalletEnvFunction · 0.85
MakeMockMethod · 0.80
CloseMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected