Bitcoin Core  29.1.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 <policy/policy.h>
18 #include <script/script.h>
19 
20 namespace node {
21 enum class TransactionError {
22  OK,
30 };
31 
36  bool use_mempool{true};
63 };
64 } // namespace node
65 
66 #endif // BITCOIN_NODE_TYPES_H
TransactionError
Definition: types.h:21
static constexpr unsigned int DEFAULT_BLOCK_RESERVED_WEIGHT
Default for -blockreservedweight.
Definition: policy.h:25
size_t coinbase_output_max_additional_sigops
The maximum additional sigops which the pool will add in coinbase transaction outputs.
Definition: types.h:46
Definition: script.h:84
size_t block_reserved_weight
The default reserved weight for the fixed-size block header, transaction count and coinbase transacti...
Definition: types.h:41
Definition: messages.h:20
CScript coinbase_output_script
Script to put in the coinbase transaction.
Definition: types.h:62
Serialized script, used inside transaction inputs and outputs.
Definition: script.h:414
bool use_mempool
Set false to omit mempool transactions.
Definition: types.h:36