Bitcoin ABC  0.24.7
P2P Digital Currency
Namespaces | Functions | Variables
avalanche.h File Reference
#include <cstddef>
#include <memory>
Include dependency graph for avalanche.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 avalanche
 

Functions

bool isAvalancheEnabled (const ArgsManager &argsman)
 

Variables

static constexpr bool AVALANCHE_DEFAULT_ENABLED = false
 Is avalanche enabled by default. More...
 
static constexpr bool AVALANCHE_DEFAULT_PEER_DISCOVERY_ENABLED = false
 Is avalanche peer discovery enabled by default. More...
 
static constexpr size_t AVALANCHE_DEFAULT_COOLDOWN = 100
 Avalanche default cooldown in milliseconds. More...
 
std::unique_ptr< avalanche::Processorg_avalanche
 Global avalanche instance. More...
 

Function Documentation

◆ isAvalancheEnabled()

bool isAvalancheEnabled ( const ArgsManager argsman)

Definition at line 9 of file avalanche.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ AVALANCHE_DEFAULT_COOLDOWN

constexpr size_t AVALANCHE_DEFAULT_COOLDOWN = 100
staticconstexpr

Avalanche default cooldown in milliseconds.

Definition at line 30 of file avalanche.h.

◆ AVALANCHE_DEFAULT_ENABLED

constexpr bool AVALANCHE_DEFAULT_ENABLED = false
staticconstexpr

Is avalanche enabled by default.

Definition at line 20 of file avalanche.h.

◆ AVALANCHE_DEFAULT_PEER_DISCOVERY_ENABLED

constexpr bool AVALANCHE_DEFAULT_PEER_DISCOVERY_ENABLED = false
staticconstexpr

Is avalanche peer discovery enabled by default.

Definition at line 25 of file avalanche.h.

◆ g_avalanche

std::unique_ptr<avalanche::Processor> g_avalanche

Global avalanche instance.

Definition at line 31 of file processor.cpp.