diff options
author | Jesse Cohen <jc@jc.lol> | 2018-07-09 15:02:32 -0400 |
---|---|---|
committer | Jesse Cohen <jc@jc.lol> | 2018-07-09 21:09:58 -0400 |
commit | 3339ba28e95aaaa355b7d33a69cffca7ab29b3fd (patch) | |
tree | b6a935e4bfb14659f952c42da2bb00b5ce4d6998 /src/net_processing.h | |
parent | 6690a28606d6ada23355de7d9a9878f841b21e67 (diff) |
Make g_enable_bip61 a member variable of PeerLogicValidation
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index 9b867b25ec..a5f32c7842 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -22,7 +22,7 @@ private: CConnman* const connman; public: - explicit PeerLogicValidation(CConnman* connman, CScheduler &scheduler); + explicit PeerLogicValidation(CConnman* connman, CScheduler &scheduler, bool enable_bip61); /** * Overridden from CValidationInterface. @@ -65,6 +65,9 @@ public: private: int64_t m_stale_tip_check_time; //! Next time to check for stale tip + + /** Enable BIP61 (sending reject messages) */ + const bool m_enable_bip61; }; struct CNodeStateStats { |