aboutsummaryrefslogtreecommitdiff
path: root/src/validationinterface.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-11-11 10:43:34 -0500
committerJohn Newbery <john@johnnewbery.com>2020-03-11 18:38:33 -0400
commitcdb893443cc16edf974f099b8485e04b3db1b1d7 (patch)
treee18f5ecc5fa42220d222a926c47ba702d28bfb44 /src/validationinterface.h
parent1168394d759b13af68acec6d5bfa04aaa24561f8 (diff)
downloadbitcoin-cdb893443cc16edf974f099b8485e04b3db1b1d7.tar.xz
[validation interface] Remove vtxConflicted from BlockConnected
The wallet now uses TransactionRemovedFromMempool to be notified about conflicted wallet, and no other clients use vtxConflicted.
Diffstat (limited to 'src/validationinterface.h')
-rw-r--r--src/validationinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h
index 3bb4639f47..5707422635 100644
--- a/src/validationinterface.h
+++ b/src/validationinterface.h
@@ -128,7 +128,7 @@ protected:
*
* Called on a background thread.
*/
- virtual void BlockConnected(const std::shared_ptr<const CBlock> &block, const CBlockIndex *pindex, const std::vector<CTransactionRef> &txnConflicted) {}
+ virtual void BlockConnected(const std::shared_ptr<const CBlock> &block, const CBlockIndex *pindex) {}
/**
* Notifies listeners of a block being disconnected
*
@@ -192,7 +192,7 @@ public:
void UpdatedBlockTip(const CBlockIndex *, const CBlockIndex *, bool fInitialDownload);
void TransactionAddedToMempool(const CTransactionRef &);
void TransactionRemovedFromMempool(const CTransactionRef &);
- void BlockConnected(const std::shared_ptr<const CBlock> &, const CBlockIndex *pindex, const std::shared_ptr<const std::vector<CTransactionRef>> &);
+ void BlockConnected(const std::shared_ptr<const CBlock> &, const CBlockIndex *pindex);
void BlockDisconnected(const std::shared_ptr<const CBlock> &, const CBlockIndex* pindex);
void ChainStateFlushed(const CBlockLocator &);
void BlockChecked(const CBlock&, const BlockValidationState&);