Skip to content

Commit

Permalink
Missing mainsignal
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Nov 14, 2024
1 parent 30593a6 commit 72a4804
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/validationinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class CValidationInterface {
virtual void AcceptedBlockHeader(const CBlockIndex* pindexNew) {}

protected:
virtual void AcceptedBlockHeader(const CBlockIndex *pindexNew) {}
virtual void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload) {}
virtual void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) {}
virtual void SyncTransaction(const CTransaction &tx, const CBlockIndex *pindex, int posInBlock) {}
Expand All @@ -102,8 +101,6 @@ class CValidationInterface {
friend void ::RegisterSharedValidationInterface(std::shared_ptr<CValidationInterface>);
friend void ::UnregisterValidationInterface(CValidationInterface*);
friend void ::UnregisterAllValidationInterfaces();
/** Notifies listeners of updated deterministic masternode list */
virtual void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff) {}
};

struct CMainSignals {
Expand Down Expand Up @@ -145,8 +142,7 @@ struct CMainSignals {
/** Notifies listeners that a block has been successfully mined */
boost::signals2::signal<void (const uint256 &)> BlockFound;
/** Notifies listeners of a ChainLock. */
/** Notifies listeners that a key for mining is required (coinbase) */
boost::signals2::signal<void (boost::shared_ptr<CReserveScript>&)> ScriptForMining;
boost::signals2::signal<void (const CBlockIndex* pindex, const llmq::CChainLockSig& clsig)> NotifyChainLock;
};

CMainSignals& GetMainSignals();
Expand Down

0 comments on commit 72a4804

Please sign in to comment.