::avalanche::TestPeerManager | avalanche::PeerManager | friend |
addNode(NodeId nodeid, const ProofId &proofid) | avalanche::PeerManager | |
addNodeToPeer(const PeerSet::iterator &it) | avalanche::PeerManager | private |
addOrUpdateNode(const PeerSet::iterator &it, NodeId nodeid) | avalanche::PeerManager | private |
addUnbroadcastProof(const ProofId &proofid) | avalanche::PeerManager | |
chainman | avalanche::PeerManager | private |
cleanupDanglingProofs(std::unordered_set< ProofRef, SaltedProofHasher > ®isteredProofs) | avalanche::PeerManager | |
clearAllInvalid() | avalanche::PeerManager | |
compact() | avalanche::PeerManager | |
conflictingProofPool | avalanche::PeerManager | private |
connectedPeersScore | avalanche::PeerManager | private |
danglingProofPool | avalanche::PeerManager | private |
dumpPeersToFile(const fs::path &dumpPath) const | avalanche::PeerManager | |
exists(const ProofId &proofid) const | avalanche::PeerManager | inline |
forEachFlakyProof(Callable &&func) const | avalanche::PeerManager | inline |
forEachNode(const Peer &peer, Callable &&func) const | avalanche::PeerManager | inline |
forEachPeer(Callable &&func) const | avalanche::PeerManager | inline |
forNode(NodeId nodeid, Callable &&func) const | avalanche::PeerManager | inline |
forPeer(const ProofId &proofid, Callable &&func) const | avalanche::PeerManager | inline |
fragmentation | avalanche::PeerManager | private |
getConflictingProofPool() const | avalanche::PeerManager | inline |
getConnectedPeersScore() const | avalanche::PeerManager | inline |
getFragmentation() const | avalanche::PeerManager | inline |
getImmatureProofPool() const | avalanche::PeerManager | inline |
getNodeCount() const | avalanche::PeerManager | inline |
getPendingNodeCount() const | avalanche::PeerManager | inline |
getProof(const ProofId &proofid) const | avalanche::PeerManager | |
getRemotePresenceStatus(const ProofId &proofid) const | avalanche::PeerManager | private |
getRemoteProofs(const NodeId nodeid) const | avalanche::PeerManager | |
getShareableProofsSnapshot() const | avalanche::PeerManager | inline |
getSlotCount() const | avalanche::PeerManager | inline |
getStakeUtxoDustThreshold() const | avalanche::PeerManager | inline |
getTotalPeersScore() const | avalanche::PeerManager | inline |
getUnbroadcastProofs() const | avalanche::PeerManager | inline |
getValidProofPool() const | avalanche::PeerManager | inline |
immatureProofPool | avalanche::PeerManager | private |
invalidProofs | avalanche::PeerManager | private |
isBoundToPeer(const ProofId &proofid) const | avalanche::PeerManager | |
isDangling(const ProofId &proofid) const | avalanche::PeerManager | |
isFlaky(const ProofId &proofid) const | avalanche::PeerManager | private |
isImmature(const ProofId &proofid) const | avalanche::PeerManager | |
isInConflictingPool(const ProofId &proofid) const | avalanche::PeerManager | |
isInvalid(const ProofId &proofid) const | avalanche::PeerManager | |
isRemoteProof(const ProofId &proofid) const | avalanche::PeerManager | |
latchAvaproofsSent(NodeId nodeid) | avalanche::PeerManager | |
loadPeersFromFile(const fs::path &dumpPath, std::unordered_set< ProofRef, SaltedProofHasher > ®isteredProofs) | avalanche::PeerManager | |
localProof | avalanche::PeerManager | private |
m_unbroadcast_proofids | avalanche::PeerManager | private |
manualFlakyProofids | avalanche::PeerManager | private |
MAX_REMOTE_PROOFS | avalanche::PeerManager | static |
moveToConflictingPool(const ProofContainer &proofs) | avalanche::PeerManager | private |
needMoreNodes | avalanche::PeerManager | private |
nextPeerId | avalanche::PeerManager | private |
nodes | avalanche::PeerManager | private |
NodeSet typedef | avalanche::PeerManager | private |
PeerManager(const Amount &stakeUtxoDustThresholdIn, ChainstateManager &chainmanIn, const ProofRef &localProofIn=ProofRef()) | avalanche::PeerManager | inline |
peers | avalanche::PeerManager | private |
PeerSet typedef | avalanche::PeerManager | private |
pendingNodes | avalanche::PeerManager | private |
PendingNodeSet typedef | avalanche::PeerManager | private |
ProofRadixTree typedef | avalanche::PeerManager | private |
registerProof(const ProofRef &proof, ProofRegistrationState ®istrationState, RegistrationMode mode=RegistrationMode::DEFAULT) | avalanche::PeerManager | |
registerProof(const ProofRef &proof, RegistrationMode mode=RegistrationMode::DEFAULT) | avalanche::PeerManager | inline |
RegistrationMode enum name | avalanche::PeerManager | |
RejectionMode enum name | avalanche::PeerManager | |
rejectProof(const ProofId &proofid, RejectionMode mode=RejectionMode::DEFAULT) | avalanche::PeerManager | |
remoteProofs | avalanche::PeerManager | private |
RemoteProofSet typedef | avalanche::PeerManager | private |
removeNode(NodeId nodeid) | avalanche::PeerManager | |
removeNodeFromPeer(const PeerSet::iterator &it, uint32_t count=1) | avalanche::PeerManager | private |
removePeer(const PeerId peerid) | avalanche::PeerManager | |
removeUnbroadcastProof(const ProofId &proofid) | avalanche::PeerManager | |
saveRemoteProof(const ProofId &proofid, const NodeId nodeid, const bool present) | avalanche::PeerManager | |
SELECT_NODE_MAX_RETRY | avalanche::PeerManager | privatestatic |
SELECT_PEER_MAX_RETRY | avalanche::PeerManager | privatestatic |
selectNode() | avalanche::PeerManager | |
selectPeer() const | avalanche::PeerManager | |
selectStakingRewardWinner(const CBlockIndex *pprev, std::vector< std::pair< ProofId, CScript > > &winners) | avalanche::PeerManager | |
setFinalized(PeerId peerid) | avalanche::PeerManager | |
setFlaky(const ProofId &proofid) | avalanche::PeerManager | |
setInvalid(const ProofId &proofid) | avalanche::PeerManager | |
shareableProofs | avalanche::PeerManager | private |
shouldRequestMoreNodes() | avalanche::PeerManager | inline |
slotCount | avalanche::PeerManager | private |
slots | avalanche::PeerManager | private |
stakeUtxoDustThreshold | avalanche::PeerManager | private |
totalPeersScore | avalanche::PeerManager | private |
unsetFlaky(const ProofId &proofid) | avalanche::PeerManager | |
updateAvailabilityScores(const double decayFactor, Callable &&getNodeAvailabilityScore) | avalanche::PeerManager | inline |
updatedBlockTip() | avalanche::PeerManager | |
updateNextPossibleConflictTime(PeerId peerid, const std::chrono::seconds &nextTime) | avalanche::PeerManager | |
updateNextRequestTime(NodeId nodeid, SteadyMilliseconds timeout) | avalanche::PeerManager | |
validProofPool | avalanche::PeerManager | private |
verify() const | avalanche::PeerManager | |