diff options
author | glozow <gloriajzhao@gmail.com> | 2023-01-04 17:47:52 +0000 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2023-01-04 17:53:58 +0000 |
commit | 65ecf24b5c42d3f5320c58c56387fef22eecdecb (patch) | |
tree | 102a020ebe4fb369535e4418af6689d8a9dfacc2 /src/interfaces | |
parent | a27324148089d86cf8cc51ba552338544b8c9b43 (diff) | |
parent | 55696a0ac30bcfbd555f71cbc8eac23b725f7dcf (diff) | |
download | bitcoin-65ecf24b5c42d3f5320c58c56387fef22eecdecb.tar.xz |
Merge bitcoin/bitcoin#26752: wallet: Remove `mempool_sequence` from interface methods
55696a0ac30bcfbd555f71cbc8eac23b725f7dcf wallet: remove `mempool_sequence` from `transactionRemovedFromMempool` (w0xlt)
bf19069c53501231a2f3ba59afa067913ec4d3b2 wallet: remove `mempool_sequence` from `transactionAddedToMempool` (w0xlt)
Pull request description:
This PR removes `mempool_sequence` from `transactionRemovedFromMempool` and `transactionAddedToMempool`.
`mempool_sequence` is not used in these methods, only in ZMQ notifications.
ACKs for top commit:
instagibbs:
ACK https://github.com/bitcoin/bitcoin/pull/26752/commits/55696a0ac30bcfbd555f71cbc8eac23b725f7dcf
Tree-SHA512: 621e89230bcb6edfed83e2758601a2b093822fc2dc4e9bfb00487e340f2bc4c5ac3bf6df3ca00b7fe55bb3df15858820f2bf698f403d2e48b915dd9eb47b63e0
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/chain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 734bf0b70a..a3fa753a98 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -268,8 +268,8 @@ public: { public: virtual ~Notifications() {} - virtual void transactionAddedToMempool(const CTransactionRef& tx, uint64_t mempool_sequence) {} - virtual void transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason, uint64_t mempool_sequence) {} + virtual void transactionAddedToMempool(const CTransactionRef& tx) {} + virtual void transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason) {} virtual void blockConnected(const BlockInfo& block) {} virtual void blockDisconnected(const BlockInfo& block) {} virtual void updatedBlockTip() {} |