Bitcoin Core 28.99.0
P2P Digital Currency
types.h
Go to the documentation of this file.
1// Copyright (c) 2010-2021 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
12
13#ifndef BITCOIN_NODE_TYPES_H
14#define BITCOIN_NODE_TYPES_H
15
16#include <cstddef>
17#include <script/script.h>
18
19namespace node {
20enum class TransactionError {
21 OK,
22 MISSING_INPUTS,
29};
30
35 bool use_mempool{true};
63};
64} // namespace node
65
66#endif // BITCOIN_NODE_TYPES_H
Serialized script, used inside transaction inputs and outputs.
Definition: script.h:415
Definition: messages.h:20
TransactionError
Definition: types.h:20
@ OP_TRUE
Definition: script.h:84
@ OK
The message verification was successful.
CScript coinbase_output_script
Script to put in the coinbase transaction.
Definition: types.h:62
bool use_mempool
Set false to omit mempool transactions.
Definition: types.h:35
size_t coinbase_output_max_additional_sigops
The maximum additional sigops which the pool will add in coinbase transaction outputs.
Definition: types.h:46
size_t coinbase_max_additional_weight
The maximum additional weight which the pool will add to the coinbase scriptSig, witness and outputs.
Definition: types.h:41