From 91a4b775a7ce76566536874342774c12e0f4178c Mon Sep 17 00:00:00 2001 From: Pasta Date: Tue, 3 Sep 2019 20:07:05 -0500 Subject: [PATCH] fix some things Signed-off-by: Pasta --- src/validationinterface.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/validationinterface.h b/src/validationinterface.h index 023fe59ea..89aba7ea9 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -98,18 +98,18 @@ public: /** Call any remaining callbacks on the calling thread */ void FlushBackgroundCallbacks(); - void AcceptedBlockHeader(const CBlockIndex *pindexNew) {} - void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload) {} + void AcceptedBlockHeader(const CBlockIndex *pindexNew); + void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload); void UpdatedBlockTip(const CBlockIndex *, const CBlockIndex *, bool fInitialDownload); void TransactionAddedToMempool(const CTransactionRef &); void BlockConnected(const std::shared_ptr &, const CBlockIndex *pindex, const std::vector &); void BlockDisconnected(const std::shared_ptr &); - void NotifyTransactionLock(const CTransaction &tx, const llmq::CInstantSendLock& islock) {} - void NotifyChainLock(const CBlockIndex* pindex, const llmq::CChainLockSig& clsig) {} - void NotifyGovernanceVote(const CGovernanceVote &vote) {} - void NotifyGovernanceObject(const CGovernanceObject &object) {} - void NotifyInstantSendDoubleSpendAttempt(const CTransaction ¤tTx, const CTransaction &previousTx) {} - void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff) {} + void NotifyTransactionLock(const CTransaction &tx, const llmq::CInstantSendLock& islock); + void NotifyChainLock(const CBlockIndex* pindex, const llmq::CChainLockSig& clsig); + void NotifyGovernanceVote(const CGovernanceVote &vote); + void NotifyGovernanceObject(const CGovernanceObject &object); + void NotifyInstantSendDoubleSpendAttempt(const CTransaction ¤tTx, const CTransaction &previousTx); + void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff); void SetBestChain(const CBlockLocator &); void Inventory(const uint256 &); void Broadcast(int64_t nBestBlockTime, CConnman* connman);