Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/peermanager.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
enum class ProofRegistrationResult { | enum class ProofRegistrationResult { | ||||
NONE = 0, | NONE = 0, | ||||
ALREADY_REGISTERED, | ALREADY_REGISTERED, | ||||
ORPHAN, | ORPHAN, | ||||
INVALID, | INVALID, | ||||
CONFLICTING, | CONFLICTING, | ||||
EVICTED, | EVICTED, | ||||
COOLDOWN_NOT_ELAPSED, | |||||
}; | }; | ||||
class ProofRegistrationState : public ValidationState<ProofRegistrationResult> { | class ProofRegistrationState : public ValidationState<ProofRegistrationResult> { | ||||
}; | }; | ||||
namespace bmi = boost::multi_index; | namespace bmi = boost::multi_index; | ||||
class PeerManager { | class PeerManager { | ||||
▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines |