13 if (
auto value{argsman.
GetIntArg(
"-maxorphantx")}) {
15 *value, 0, std::numeric_limits<uint32_t>::max()));
18 if (
auto value{argsman.
GetIntArg(
"-blockreconstructionextratxn")}) {
20 *value, 0, std::numeric_limits<uint32_t>::max()));
23 if (
auto value{argsman.
GetBoolArg(
"-capturemessages")}) {
27 if (
auto value{argsman.
GetBoolArg(
"-blocksonly")}) {
31 if (
auto value{argsman.
GetIntArg(
"-maxaddrtosend")}) {
35 if (
auto value{argsman.
GetIntArg(
"-avacooldown")}) {
39 if (
auto value{argsman.
GetIntArg(
"-avalanchepeerreplacementcooldown")}) {
41 std::max(int64_t{0}, *value);
44 if (
auto value{argsman.
GetBoolArg(
"-avalanchepreconsensus")}) {
48 if (
auto value{argsman.
GetBoolArg(
"-avalanchestakingpreconsensus")}) {
int64_t GetIntArg(const std::string &strArg, int64_t nDefault) const
Return integer argument or default value.
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
std::optional< bilingual_str > ApplyArgsManOptions(const ArgsManager &args, BlockManager::Options &opts)
bool avalanche_staking_preconsensus
Whether this node has enabled avalanche staking rewards preconsensus.
int64_t avalanche_cooldown
Minimum time between two AVAPOLL messages.
size_t max_addr_to_send
Number of addresses a node may send in an ADDR message.
uint32_t max_extra_txs
Number of non-mempool transactions to keep around for block reconstruction.
uint32_t max_orphan_txs
Maximum number of orphan transactions kept in memory.
bool avalanche_preconsensus
Whether this node has enabled avalanche preconsensus.
int64_t avalanche_peer_replacement_cooldown
Minimum time before we will consider replacing a finalized proof with a conflicting one.
bool ignore_incoming_txs
Whether this node is running in -blocksonly mode.
bool capture_messages
Whether all P2P messages are captured to disk.