diff options
author | dergoegge <n.goeggi@gmail.com> | 2023-04-20 13:13:11 +0200 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2023-07-24 18:35:28 +0200 |
commit | fa9e6d80d1c55f8b1bb2691bfd67e8c2b7189b38 (patch) | |
tree | c9e0ca7b817c29e10ca361f0b8384a690ada0af9 /src/net_processing.h | |
parent | 4cfb7b925f8fea818f03433882138a7d3d7e179a (diff) |
[net processing] Move -txreconciliation to PeerManager::Options
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<PeerManager> make(CConnman& connman, AddrMan& addrman, |