Bitcoin ABC  0.26.3
P2P Digital Currency
validation.h
Go to the documentation of this file.
1 // Copyright (c) 2020 The Bitcoin developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_AVALANCHE_VALIDATION_H
6 #define BITCOIN_AVALANCHE_VALIDATION_H
7 
8 #include <consensus/validation.h>
9 
10 namespace avalanche {
11 
13  NONE = 0,
14  NO_STAKE,
22  EXPIRED,
23 
24  // UTXO based errors.
33 };
34 
35 class ProofValidationState : public ValidationState<ProofValidationResult> {};
36 
37 enum class DelegationResult {
38  NONE = 0,
41 };
42 
43 class DelegationState : public ValidationState<DelegationResult> {};
44 
45 } // namespace avalanche
46 
47 #endif // BITCOIN_AVALANCHE_VALIDATION_H
Template for capturing information about block/transaction validation.
Definition: validation.h:82
ProofValidationResult
Definition: validation.h:12
DelegationResult
Definition: validation.h:37