Bitcoin ABC
0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
src
txconflicting.h
Go to the documentation of this file.
1
// Copyright (c) 2024 The Bitcoin developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_TXCONFLICTING_H
6
#define BITCOIN_TXCONFLICTING_H
7
8
#include <
txpool.h
>
9
#include <
util/time.h
>
10
12
static
constexpr
auto
CONFLICTING_TX_EXPIRE_TIME
{20min};
14
static
constexpr
auto
CONFLICTING_TX_EXPIRE_INTERVAL
{5min};
15
16
class
TxConflicting
:
public
TxPool
{
17
public
:
18
TxConflicting
()
19
:
TxPool
(
"conflicting"
,
CONFLICTING_TX_EXPIRE_TIME
,
20
CONFLICTING_TX_EXPIRE_INTERVAL
) {}
21
};
22
23
#endif
// BITCOIN_TXCONFLICTING_H
TxConflicting
Definition
txconflicting.h:16
TxConflicting::TxConflicting
TxConflicting()
Definition
txconflicting.h:18
TxPool
A class to store and track transactions by peers.
Definition
txpool.h:24
time.h
CONFLICTING_TX_EXPIRE_TIME
static constexpr auto CONFLICTING_TX_EXPIRE_TIME
Expiration time for conflicting transactions.
Definition
txconflicting.h:12
CONFLICTING_TX_EXPIRE_INTERVAL
static constexpr auto CONFLICTING_TX_EXPIRE_INTERVAL
Minimum time between conflicting transactions expire time checks.
Definition
txconflicting.h:14
txpool.h
Generated on Thu Dec 26 2024 02:38:06 for Bitcoin ABC by
1.9.8