2023-04-20 07:05:23 -04:00
|
|
|
#include <node/peerman_args.h>
|
|
|
|
|
|
|
|
|
|
#include <common/args.h>
|
|
|
|
|
#include <net_processing.h>
|
|
|
|
|
|
|
|
|
|
namespace node {
|
|
|
|
|
|
|
|
|
|
void ApplyArgsManOptions(const ArgsManager& argsman, PeerManager::Options& options)
|
|
|
|
|
{
|
2023-04-20 07:13:11 -04:00
|
|
|
if(auto value{argsman.GetBoolArg("-txreconciliation")}) options.reconcile_txs = *value;
|
2023-04-20 07:05:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace node
|
|
|
|
|
|