|
|
@ -30,10 +30,10 @@ private: |
|
|
|
public: |
|
|
|
public: |
|
|
|
PeerLogicValidation(CConnman* connmanIn); |
|
|
|
PeerLogicValidation(CConnman* connmanIn); |
|
|
|
|
|
|
|
|
|
|
|
virtual void BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindexConnected, const std::vector<CTransactionRef>& vtxConflicted); |
|
|
|
void BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindexConnected, const std::vector<CTransactionRef>& vtxConflicted) override; |
|
|
|
virtual void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload); |
|
|
|
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override; |
|
|
|
virtual void BlockChecked(const CBlock& block, const CValidationState& state); |
|
|
|
void BlockChecked(const CBlock& block, const CValidationState& state) override; |
|
|
|
virtual void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock>& pblock); |
|
|
|
void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock>& pblock) override; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
struct CNodeStateStats { |
|
|
|
struct CNodeStateStats { |
|
|
|