Bitcoin ABC 0.30.5
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
9
10namespace avalanche {
11
13 NONE = 0,
22 EXPIRED,
23
24 // UTXO based errors.
33};
34
35class ProofValidationState : public ValidationState<ProofValidationResult> {};
36
37enum class DelegationResult {
38 NONE = 0,
41};
42
43class 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:89
ProofValidationResult
Definition: validation.h:12
DelegationResult
Definition: validation.h:37