Bitcoin Core 31.99.0
P2P Digital Currency
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
18namespace node {
19enum class TransactionError {
20 OK,
21 MISSING_INPUTS,
28};
29
34enum class TxBroadcast : uint8_t {
42};
43
44} // namespace node
45
46#endif // BITCOIN_NODE_TYPES_H
Definition: messages.h:21
TxBroadcast
How to broadcast a local transaction.
Definition: types.h:34
@ MEMPOOL_AND_BROADCAST_TO_ALL
Add the transaction to the mempool and broadcast to all peers for which tx relay is enabled.
@ MEMPOOL_NO_BROADCAST
Add the transaction to the mempool, but don't broadcast to anybody.
@ NO_MEMPOOL_PRIVATE_BROADCAST
Omit the mempool and directly send the transaction via a few dedicated connections to peers on privac...
TransactionError
Definition: types.h:19
@ OK
The message verification was successful.