Bitcoin ABC  0.26.3
P2P Digital Currency
Public Member Functions | List of all members
avalanche::TestVoteRecord Struct Reference
Inheritance diagram for avalanche::TestVoteRecord:
Collaboration diagram for avalanche::TestVoteRecord:

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...

Detailed Description

Definition at line 90 of file processor_tests.cpp.

Constructor & Destructor Documentation

◆ TestVoteRecord()

avalanche::TestVoteRecord::TestVoteRecord ( uint16_t  conf)

Definition at line 91 of file processor_tests.cpp.

The documentation for this struct was generated from the following file: