Bitcoin ABC
0.31.0
P2P Digital Currency
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
f
g
h
i
k
m
n
o
p
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
h
i
l
m
n
p
q
r
s
t
u
v
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
!
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
m
n
o
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
f
g
i
o
p
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
b
c
d
e
h
i
k
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
x
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
avalanche
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
12
enum class
ProofValidationResult
{
13
NONE = 0,
14
NO_STAKE
,
15
DUST_THRESHOLD
,
16
DUPLICATE_STAKE
,
17
WRONG_STAKE_ORDERING
,
18
INVALID_STAKE_SIGNATURE
,
19
TOO_MANY_UTXOS
,
20
INVALID_PAYOUT_SCRIPT
,
21
INVALID_PROOF_SIGNATURE
,
22
EXPIRED
,
23
24
// UTXO based errors.
25
MISSING_UTXO
,
26
COINBASE_MISMATCH
,
27
HEIGHT_MISMATCH
,
28
AMOUNT_MISMATCH
,
29
NON_STANDARD_DESTINATION
,
30
DESTINATION_NOT_SUPPORTED
,
31
DESTINATION_MISMATCH
,
32
IMMATURE_UTXO
,
33
};
34
35
class
ProofValidationState
:
public
ValidationState
<ProofValidationResult> {};
36
37
enum class
DelegationResult
{
38
NONE = 0,
39
INVALID_SIGNATURE
,
40
TOO_MANY_LEVELS
,
41
};
42
43
class
DelegationState
:
public
ValidationState
<DelegationResult> {};
44
45
}
// namespace avalanche
46
47
#endif
// BITCOIN_AVALANCHE_VALIDATION_H
ValidationState
Template for capturing information about block/transaction validation.
Definition:
validation.h:89
avalanche::DelegationState
Definition:
validation.h:43
avalanche::ProofValidationState
Definition:
validation.h:35
validation.h
avalanche
Definition:
avalanche.h:13
avalanche::ProofRegistrationResult::MISSING_UTXO
@ MISSING_UTXO
avalanche::ProofValidationResult
ProofValidationResult
Definition:
validation.h:12
avalanche::ProofValidationResult::HEIGHT_MISMATCH
@ HEIGHT_MISMATCH
avalanche::ProofValidationResult::DUST_THRESHOLD
@ DUST_THRESHOLD
avalanche::ProofValidationResult::EXPIRED
@ EXPIRED
avalanche::ProofValidationResult::COINBASE_MISMATCH
@ COINBASE_MISMATCH
avalanche::ProofValidationResult::WRONG_STAKE_ORDERING
@ WRONG_STAKE_ORDERING
avalanche::ProofValidationResult::DESTINATION_NOT_SUPPORTED
@ DESTINATION_NOT_SUPPORTED
avalanche::ProofValidationResult::DUPLICATE_STAKE
@ DUPLICATE_STAKE
avalanche::ProofValidationResult::IMMATURE_UTXO
@ IMMATURE_UTXO
avalanche::ProofValidationResult::AMOUNT_MISMATCH
@ AMOUNT_MISMATCH
avalanche::ProofValidationResult::NO_STAKE
@ NO_STAKE
avalanche::ProofValidationResult::NON_STANDARD_DESTINATION
@ NON_STANDARD_DESTINATION
avalanche::ProofValidationResult::INVALID_PROOF_SIGNATURE
@ INVALID_PROOF_SIGNATURE
avalanche::ProofValidationResult::INVALID_STAKE_SIGNATURE
@ INVALID_STAKE_SIGNATURE
avalanche::ProofValidationResult::TOO_MANY_UTXOS
@ TOO_MANY_UTXOS
avalanche::ProofValidationResult::INVALID_PAYOUT_SCRIPT
@ INVALID_PAYOUT_SCRIPT
avalanche::ProofValidationResult::DESTINATION_MISMATCH
@ DESTINATION_MISMATCH
avalanche::DelegationResult
DelegationResult
Definition:
validation.h:37
avalanche::DelegationResult::TOO_MANY_LEVELS
@ TOO_MANY_LEVELS
avalanche::DelegationResult::INVALID_SIGNATURE
@ INVALID_SIGNATURE
Generated on Sun Apr 6 2025 21:25:39 for Bitcoin ABC by
1.9.4