Bitcoin Core
31.1.0
P2P Digital Currency
Toggle main menu visibility
Loading...
Searching...
No Matches
src
kernel
mempool_removal_reason.h
Go to the documentation of this file.
1
// Copyright (c) 2016-present The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or https://opensource.org/license/mit/.
4
5
#ifndef BITCOIN_KERNEL_MEMPOOL_REMOVAL_REASON_H
6
#define BITCOIN_KERNEL_MEMPOOL_REMOVAL_REASON_H
7
8
#include <string>
9
13
enum class
MemPoolRemovalReason
{
14
EXPIRY
,
15
SIZELIMIT
,
16
REORG
,
17
BLOCK
,
18
CONFLICT
,
19
REPLACED
,
20
};
21
22
std::string
RemovalReasonToString
(
const
MemPoolRemovalReason
& r)
noexcept
;
23
24
#endif
// BITCOIN_KERNEL_MEMPOOL_REMOVAL_REASON_H
MemPoolRemovalReason
MemPoolRemovalReason
Reason why a transaction was removed from the mempool, this is passed to the notification signal.
Definition
mempool_removal_reason.h:13
MemPoolRemovalReason::SIZELIMIT
@ SIZELIMIT
Removed in size limiting.
Definition
mempool_removal_reason.h:15
MemPoolRemovalReason::BLOCK
@ BLOCK
Removed for block.
Definition
mempool_removal_reason.h:17
MemPoolRemovalReason::EXPIRY
@ EXPIRY
Expired from mempool.
Definition
mempool_removal_reason.h:14
MemPoolRemovalReason::REPLACED
@ REPLACED
Removed for replacement.
Definition
mempool_removal_reason.h:19
MemPoolRemovalReason::CONFLICT
@ CONFLICT
Removed for conflict with in-block transaction.
Definition
mempool_removal_reason.h:18
MemPoolRemovalReason::REORG
@ REORG
Removed for reorganization.
Definition
mempool_removal_reason.h:16
RemovalReasonToString
std::string RemovalReasonToString(const MemPoolRemovalReason &r) noexcept
Definition
mempool_removal_reason.cpp:10
Generated on
for Bitcoin Core by
1.17.0