Bitcoin Core
32.1.0
P2P Digital Currency
Toggle main menu visibility
Loading...
Searching...
No Matches
src
node
types.h
Go to the documentation of this file.
1
// Copyright (c) 2010-present 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 <cstdint>
17
18
namespace
node
{
19
enum class
TransactionError
{
20
OK
,
21
MISSING_INPUTS,
22
ALREADY_IN_UTXO_SET
,
23
MEMPOOL_REJECTED
,
24
MEMPOOL_ERROR
,
25
MAX_FEE_EXCEEDED
,
26
MAX_BURN_EXCEEDED
,
27
INVALID_PACKAGE
,
28
PRIVATE_BROADCAST_FULL
,
29
};
30
35
enum class
TxBroadcast
: uint8_t {
37
MEMPOOL_AND_BROADCAST_TO_ALL
,
39
MEMPOOL_NO_BROADCAST
,
42
NO_MEMPOOL_PRIVATE_BROADCAST
,
43
};
44
45
}
// namespace node
46
47
#endif
// BITCOIN_NODE_TYPES_H
node
Definition
messages.h:21
node::TxBroadcast
TxBroadcast
How to broadcast a local transaction.
Definition
types.h:35
node::TxBroadcast::MEMPOOL_AND_BROADCAST_TO_ALL
@ MEMPOOL_AND_BROADCAST_TO_ALL
Add the transaction to the mempool and broadcast to all peers for which tx relay is enabled.
Definition
types.h:37
node::TxBroadcast::MEMPOOL_NO_BROADCAST
@ MEMPOOL_NO_BROADCAST
Add the transaction to the mempool, but don't broadcast to anybody.
Definition
types.h:39
node::TxBroadcast::NO_MEMPOOL_PRIVATE_BROADCAST
@ NO_MEMPOOL_PRIVATE_BROADCAST
Omit the mempool and directly send the transaction via a few dedicated connections to peers on privac...
Definition
types.h:42
node::TransactionError
TransactionError
Definition
types.h:19
node::TransactionError::MEMPOOL_REJECTED
@ MEMPOOL_REJECTED
Definition
types.h:23
node::TransactionError::MAX_FEE_EXCEEDED
@ MAX_FEE_EXCEEDED
Definition
types.h:25
node::TransactionError::MAX_BURN_EXCEEDED
@ MAX_BURN_EXCEEDED
Definition
types.h:26
node::TransactionError::MEMPOOL_ERROR
@ MEMPOOL_ERROR
Definition
types.h:24
node::TransactionError::ALREADY_IN_UTXO_SET
@ ALREADY_IN_UTXO_SET
Definition
types.h:22
node::TransactionError::PRIVATE_BROADCAST_FULL
@ PRIVATE_BROADCAST_FULL
Definition
types.h:28
node::TransactionError::INVALID_PACKAGE
@ INVALID_PACKAGE
Definition
types.h:27
MessageVerificationResult::OK
@ OK
The message verification was successful.
Definition
signmessage.h:40
Generated on
for Bitcoin Core by
1.18.0