![]() |
Bitcoin ABC
0.22.13
P2P Digital Currency
|
Classes | |
class | BlockUpdate |
class | Delegation |
class | DelegationBuilder |
struct | DelegationId |
class | DelegationState |
class | Hello |
struct | next_request_time |
struct | Node |
struct | Peer |
class | PeerManager |
class | Poll |
class | Processor |
class | Proof |
struct | proof_index |
class | ProofBuilder |
struct | ProofId |
class | ProofValidationState |
struct | query_timeout |
class | Response |
class | SaltedProofIdHasher |
class | SignedStake |
struct | Slot |
class | Stake |
class | Vote |
struct | VoteRecord |
Vote history. More... | |
Typedefs | |
using | BlockVoteMap = std::map< const CBlockIndex *, VoteRecord, CBlockIndexWorkComparator > |
Functions | |
template<typename L , typename F > | |
static bool | reduceLevels (uint256 &hash, const std::vector< L > &levels, F f) |
template<typename L > | |
static bool | reduceLevels (uint256 &hash, const std::vector< L > &levels) |
PeerId | selectPeerImpl (const std::vector< Slot > &slots, const uint64_t slot, const uint64_t max) |
This is an internal method that is exposed for testing purposes. More... | |
static bool | IsWorthPolling (const CBlockIndex *pindex) |
Proof | buildRandomProof (uint32_t score, const CPubKey &master) |
Variables | |
static constexpr Amount | PROOF_DUST_THRESOLD = 1 * SATOSHI |
using avalanche::BlockVoteMap = typedef std::map<const CBlockIndex *, VoteRecord, CBlockIndexWorkComparator> |
Definition at line 184 of file processor.h.
|
strong |
Enumerator | |
---|---|
NONE | |
INCORRECT_PROOF | |
INVALID_SIGNATURE |
Definition at line 31 of file validation.h.
|
strong |
Definition at line 12 of file validation.h.
|
static |
Definition at line 122 of file processor.cpp.
|
static |
Definition at line 14 of file delegation.cpp.
|
static |
PeerId avalanche::selectPeerImpl | ( | const std::vector< Slot > & | slots, |
const uint64_t | slot, | ||
const uint64_t | max | ||
) |
This is an internal method that is exposed for testing purposes.
Definition at line 384 of file peermanager.cpp.