mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
[net processing] Move -txreconciliation to PeerManager::Options
This commit is contained in:
@@ -7,6 +7,7 @@ namespace node {
|
||||
|
||||
void ApplyArgsManOptions(const ArgsManager& argsman, PeerManager::Options& options)
|
||||
{
|
||||
if(auto value{argsman.GetBoolArg("-txreconciliation")}) options.reconcile_txs = *value;
|
||||
}
|
||||
|
||||
} // namespace node
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
|
||||
/** Whether transaction reconciliation protocol should be enabled by default. */
|
||||
static constexpr bool DEFAULT_TXRECONCILIATION_ENABLE{false};
|
||||
/** Supported transaction reconciliation protocol version */
|
||||
static constexpr uint32_t TXRECONCILIATION_VERSION{1};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user