Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/processor.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
static constexpr std::chrono::milliseconds AVALANCHE_DEFAULT_QUERY_TIMEOUT{ | static constexpr std::chrono::milliseconds AVALANCHE_DEFAULT_QUERY_TIMEOUT{ | ||||
10000}; | 10000}; | ||||
/** | /** | ||||
* How many inflight requests can exist for one item. | * How many inflight requests can exist for one item. | ||||
*/ | */ | ||||
static constexpr int AVALANCHE_MAX_INFLIGHT_POLL = 10; | static constexpr int AVALANCHE_MAX_INFLIGHT_POLL = 10; | ||||
/** | |||||
* How many UTXOs can be used for a single proof. | |||||
*/ | |||||
static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000; | |||||
namespace avalanche { | namespace avalanche { | ||||
class Delegation; | class Delegation; | ||||
class PeerManager; | class PeerManager; | ||||
class Proof; | class Proof; | ||||
/** | /** | ||||
* Vote history. | * Vote history. | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |