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