Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche.h
Show All 26 Lines | |||||
class Config; | class Config; | ||||
class CBlockIndex; | class CBlockIndex; | ||||
class CScheduler; | class CScheduler; | ||||
namespace { | namespace { | ||||
/** | /** | ||||
* Finalization score. | * Finalization score. | ||||
*/ | */ | ||||
static int AVALANCHE_FINALIZATION_SCORE = 128; | static const int AVALANCHE_FINALIZATION_SCORE = 128; | ||||
/** | /** | ||||
* How long before we consider that a query timed out. | * How long before we consider that a query timed out. | ||||
*/ | */ | ||||
static int AVALANCHE_DEFAULT_QUERY_TIMEOUT_DURATION_MILLISECONDS = 10000; | static const int AVALANCHE_DEFAULT_QUERY_TIMEOUT_DURATION_MILLISECONDS = 10000; | ||||
/** | /** | ||||
* Special NodeId that represent no node. | * Special NodeId that represent no node. | ||||
*/ | */ | ||||
static const NodeId NO_NODE = -1; | static const NodeId NO_NODE = -1; | ||||
} | } | ||||
/** | /** | ||||
* Vote history. | * Vote history. | ||||
▲ Show 20 Lines • Show All 251 Lines • Show Last 20 Lines |