Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/processor.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | public: | ||||
const VoteItem getVoteItem() const { return item; } | const VoteItem getVoteItem() const { return item; } | ||||
}; | }; | ||||
using BlockUpdate = VoteItemUpdate<CBlockIndex *>; | using BlockUpdate = VoteItemUpdate<CBlockIndex *>; | ||||
using ProofUpdate = VoteItemUpdate<ProofRef>; | using ProofUpdate = VoteItemUpdate<ProofRef>; | ||||
using BlockVoteMap = | using BlockVoteMap = | ||||
std::map<const CBlockIndex *, VoteRecord, CBlockIndexWorkComparator>; | std::map<const CBlockIndex *, VoteRecord, CBlockIndexWorkComparator>; | ||||
using ProofVoteMap = std::map<const ProofRef, VoteRecord, ProofComparator>; | using ProofVoteMap = | ||||
std::map<const ProofRef, VoteRecord, ProofComparatorByScore>; | |||||
struct query_timeout {}; | struct query_timeout {}; | ||||
namespace { | namespace { | ||||
struct AvalancheTest; | struct AvalancheTest; | ||||
} | } | ||||
// FIXME Implement a proper notification handler for node disconnection instead | // FIXME Implement a proper notification handler for node disconnection instead | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |