![]() |
Bitcoin ABC 0.34.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
| struct | avalanche::VoteRecord |
| Vote history. More... | |
Namespaces | |
| namespace | avalanche |
Variables | |
| static constexpr int | AVALANCHE_FINALIZATION_SCORE = 128 |
| Finalization score. More... | |
| static constexpr uint32_t | AVALANCHE_VOTE_STALE_THRESHOLD = 4096 |
| Number of votes before a record may be considered as stale. More... | |
| static constexpr uint32_t | AVALANCHE_VOTE_STALE_MIN_THRESHOLD = 140 |
| Lowest configurable staleness threshold (finalization score + necessary votes to increase confidence + wiggle room). More... | |
| static constexpr uint32_t | AVALANCHE_VOTE_STALE_FACTOR = 64 |
| Scaling factor applied to confidence to determine staleness threshold. More... | |
| static constexpr int | AVALANCHE_MAX_INFLIGHT_POLL = 10 |
| How many inflight requests can exist for one item. More... | |
|
staticconstexpr |
Finalization score.
Definition at line 18 of file voterecord.h.
|
staticconstexpr |
How many inflight requests can exist for one item.
Definition at line 41 of file voterecord.h.
|
staticconstexpr |
Scaling factor applied to confidence to determine staleness threshold.
As confidence increases, the staleness threshold should as well. This ensures that slowly increasing confidence is not marked stale.
Definition at line 36 of file voterecord.h.
|
staticconstexpr |
Lowest configurable staleness threshold (finalization score + necessary votes to increase confidence + wiggle room).
Definition at line 29 of file voterecord.h.
|
staticconstexpr |
Number of votes before a record may be considered as stale.
Definition at line 23 of file voterecord.h.