Bitcoin ABC  0.22.12
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,
18 
19  // UTXO based errors.
27 };
28 
29 class ProofValidationState : public ValidationState<ProofValidationResult> {};
30 
31 enum class DelegationResult {
32  NONE = 0,
35 };
36 
37 class DelegationState : public ValidationState<DelegationResult> {};
38 
39 } // namespace avalanche
40 
41 #endif // BITCOIN_AVALANCHE_VALIDATION_H
Template for capturing information about block/transaction validation.
Definition: validation.h:86
DelegationResult
Definition: validation.h:31
ProofValidationResult
Definition: validation.h:12