[net processing] Move -txreconciliation to PeerManager::Options

This commit is contained in:
dergoegge
2023-04-20 13:13:11 +02:00
parent 4cfb7b925f
commit fa9e6d80d1
5 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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};