Bitcoin ABC
0.26.3
P2P Digital Currency
|
Go to the source code of this file.
Namespaces | |
avalanche | |
Functions | |
bool | isAvalancheEnabled (const ArgsManager &argsman) |
Variables | |
static constexpr bool | AVALANCHE_DEFAULT_ENABLED = true |
Is avalanche enabled by default. More... | |
static constexpr size_t | AVALANCHE_DEFAULT_CONFLICTING_PROOF_COOLDOWN = 60 |
Conflicting proofs cooldown time default value in seconds. More... | |
static constexpr size_t | AVALANCHE_DEFAULT_PEER_REPLACEMENT_COOLDOWN |
Peer replacement cooldown time default value in seconds. More... | |
static constexpr size_t | AVALANCHE_DEFAULT_COOLDOWN = 100 |
Avalanche default cooldown in milliseconds. More... | |
static constexpr Amount | AVALANCHE_DEFAULT_MIN_QUORUM_STAKE |
Default minimum cumulative stake of all known peers that constitutes a usable quorum. More... | |
static constexpr double | AVALANCHE_DEFAULT_MIN_QUORUM_CONNECTED_STAKE_RATIO |
Default minimum percentage of stake-weighted peers we must have a node for to constitute a usable quorum. More... | |
static constexpr double | AVALANCHE_DEFAULT_MIN_AVAPROOFS_NODE_COUNT = 8 |
Default minimum number of nodes that sent us an avaproofs message before we can consider our quorum suitable for polling. More... | |
static constexpr bool | DEFAULT_PERSIST_AVAPEERS {true} |
Default for -persistavapeers. More... | |
static constexpr bool | DEFAULT_AVALANCHE_PRECONSENSUS {false} |
Default for -avalanchepreconsensus. More... | |
std::unique_ptr< avalanche::Processor > | g_avalanche |
Global avalanche instance. More... | |
bool isAvalancheEnabled | ( | const ArgsManager & | argsman | ) |
Definition at line 9 of file avalanche.cpp.
|
staticconstexpr |
Conflicting proofs cooldown time default value in seconds.
Minimal delay between two proofs with at least a common UTXO.
Definition at line 28 of file avalanche.h.
|
staticconstexpr |
Avalanche default cooldown in milliseconds.
Definition at line 40 of file avalanche.h.
|
staticconstexpr |
Is avalanche enabled by default.
Definition at line 22 of file avalanche.h.
|
staticconstexpr |
Default minimum number of nodes that sent us an avaproofs message before we can consider our quorum suitable for polling.
Definition at line 60 of file avalanche.h.
|
staticconstexpr |
Default minimum percentage of stake-weighted peers we must have a node for to constitute a usable quorum.
Definition at line 53 of file avalanche.h.
|
staticconstexpr |
Default minimum cumulative stake of all known peers that constitutes a usable quorum.
Definition at line 46 of file avalanche.h.
|
staticconstexpr |
Peer replacement cooldown time default value in seconds.
Minimal delay before a peer can be replaced due to a conflicting proof.
Definition at line 34 of file avalanche.h.
|
staticconstexpr |
Default for -avalanchepreconsensus.
Definition at line 66 of file avalanche.h.
|
staticconstexpr |
Default for -persistavapeers.
Definition at line 63 of file avalanche.h.
|
extern |
Global avalanche instance.
Definition at line 38 of file processor.cpp.