mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
wallet: introduce active db txn listeners
Useful to ensure that the in-memory state is updated only after successfully committing the data to disk.
This commit is contained in:
@@ -95,6 +95,7 @@ public:
|
||||
bool TxnBegin() override { return m_pass; }
|
||||
bool TxnCommit() override { return m_pass; }
|
||||
bool TxnAbort() override { return m_pass; }
|
||||
bool HasActiveTxn() override { return false; }
|
||||
};
|
||||
|
||||
/** A WalletDatabase whose contents and return values can be modified as needed for testing
|
||||
|
||||
Reference in New Issue
Block a user