aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorJesse Cohen <jc@jc.lol>2018-07-09 15:02:32 -0400
committerJesse Cohen <jc@jc.lol>2018-07-09 21:09:58 -0400
commit3339ba28e95aaaa355b7d33a69cffca7ab29b3fd (patch)
treeb6a935e4bfb14659f952c42da2bb00b5ce4d6998 /src/net_processing.h
parent6690a28606d6ada23355de7d9a9878f841b21e67 (diff)
Make g_enable_bip61 a member variable of PeerLogicValidation
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h5
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 {