Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/peermanager.h
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | enum class ProofRegistrationResult { | ||||
NONE = 0, | NONE = 0, | ||||
ALREADY_REGISTERED, | ALREADY_REGISTERED, | ||||
ORPHAN, | ORPHAN, | ||||
INVALID, | INVALID, | ||||
CONFLICTING, | CONFLICTING, | ||||
REJECTED, | REJECTED, | ||||
COOLDOWN_NOT_ELAPSED, | COOLDOWN_NOT_ELAPSED, | ||||
DANGLING, | DANGLING, | ||||
MISSING_UTXO, | |||||
}; | }; | ||||
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 285 Lines • Show Last 20 Lines |