diff options
author | Matt Corallo <git@bluematt.me> | 2016-11-03 14:58:29 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-11-23 12:29:26 -0800 |
commit | d2b88f97a1235057290f9e8ca0bf11437ba919f8 (patch) | |
tree | 91cf817b80242a6c0e28a5353f3bc1bd750536cc /src/main.h | |
parent | 97e28029c94bc187721242a8c59468cebd73441b (diff) |
Move orphan-conflict removal from main logic into a callback
This makes the orphan map a part of net-processing logic instead
of main logic.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 678f0fd99d..6d4240c26c 100644 --- a/src/main.h +++ b/src/main.h @@ -560,6 +560,7 @@ private: public: PeerLogicValidation(CConnman* connmanIn); + virtual void SyncTransaction(const CTransaction& tx, const CBlockIndex* pindex, int nPosInBlock); virtual void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload); virtual void BlockChecked(const CBlock& block, const CValidationState& state); }; |