From fa9e6d80d1c55f8b1bb2691bfd67e8c2b7189b38 Mon Sep 17 00:00:00 2001 From: dergoegge Date: Thu, 20 Apr 2023 13:13:11 +0200 Subject: [net processing] Move -txreconciliation to PeerManager::Options --- src/net_processing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net_processing.h') diff --git a/src/net_processing.h b/src/net_processing.h index b88ed0c555..87c65baf01 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -14,6 +14,8 @@ class CChainParams; class CTxMemPool; class ChainstateManager; +/** Whether transaction reconciliation protocol should be enabled by default. */ +static constexpr bool DEFAULT_TXRECONCILIATION_ENABLE{false}; /** Default for -maxorphantx, maximum number of orphan transactions kept in memory */ static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100; /** Default number of orphan+recently-replaced txn to keep around for block reconstruction */ @@ -46,6 +48,7 @@ public: struct Options { /** Whether this node is running in -blocksonly mode */ bool ignore_incoming_txs{DEFAULT_BLOCKSONLY}; + bool reconcile_txs{DEFAULT_TXRECONCILIATION_ENABLE}; }; static std::unique_ptr make(CConnman& connman, AddrMan& addrman, -- cgit v1.2.3