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:
furszy committed 2024-10-21 08:29:22 -03:00
1 parent 91e065ec17
commit 57249ff669
8 files changed
+44 -2

No files matched your search

+1
View File
@@ -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