Bitcoin ABC 0.26.3
P2P Digital Currency
|
Public Member Functions | |
TestVoteRecord (uint16_t conf) | |
Public Member Functions inherited from avalanche::VoteRecord | |
VoteRecord (bool accepted) | |
VoteRecord (const VoteRecord &other) | |
Copy semantic. | |
bool | isAccepted () const |
Vote accounting facilities. | |
uint16_t | getConfidence () const |
bool | hasFinalized () const |
bool | isStale (uint32_t staleThreshold=AVALANCHE_VOTE_STALE_THRESHOLD, uint32_t staleFactor=AVALANCHE_VOTE_STALE_FACTOR) const |
bool | registerVote (NodeId nodeid, uint32_t error) |
Register a new vote for an item and update confidence accordingly. | |
bool | registerPoll () const |
Register that a request is being made regarding that item. | |
bool | shouldPoll () const |
Return if this item is in condition to be polled at the moment. | |
void | clearInflightRequest (uint8_t count=1) |
Clear count inflight requests. | |
Definition at line 90 of file processor_tests.cpp.
|
inlineexplicit |