Bitcoin ABC 0.30.5
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. More... | |
bool | isAccepted () const |
Vote accounting facilities. More... | |
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. More... | |
bool | registerPoll () const |
Register that a request is being made regarding that item. More... | |
bool | shouldPoll () const |
Return if this item is in condition to be polled at the moment. More... | |
void | clearInflightRequest (uint8_t count=1) |
Clear count inflight requests. More... | |
Definition at line 90 of file processor_tests.cpp.
|
inlineexplicit |
Definition at line 91 of file processor_tests.cpp.