Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/peermanager.h
Show First 20 Lines • Show All 410 Lines • ▼ Show 20 Lines | public: | ||||
const ProofPool &getConflictingProofPool() { return conflictingProofPool; } | const ProofPool &getConflictingProofPool() { return conflictingProofPool; } | ||||
const ProofPool &getImmatureProofPool() { return immatureProofPool; } | const ProofPool &getImmatureProofPool() { return immatureProofPool; } | ||||
ProofRef getProof(const ProofId &proofid) const; | ProofRef getProof(const ProofId &proofid) const; | ||||
bool isBoundToPeer(const ProofId &proofid) const; | bool isBoundToPeer(const ProofId &proofid) const; | ||||
bool isImmature(const ProofId &proofid) const; | bool isImmature(const ProofId &proofid) const; | ||||
bool isInConflictingPool(const ProofId &proofid) const; | bool isInConflictingPool(const ProofId &proofid) const; | ||||
size_t getConflictingProofCount() { | |||||
return conflictingProofPool.countProofs(); | |||||
} | |||||
size_t getImmatureProofCount() { return immatureProofPool.countProofs(); } | |||||
const ProofRadixTree &getShareableProofsSnapshot() const { | const ProofRadixTree &getShareableProofsSnapshot() const { | ||||
return shareableProofs; | return shareableProofs; | ||||
} | } | ||||
const Amount &getStakeUtxoDustThreshold() const { | const Amount &getStakeUtxoDustThreshold() const { | ||||
return stakeUtxoDustThreshold; | return stakeUtxoDustThreshold; | ||||
} | } | ||||
Show All 20 Lines |