Bitcoin ABC 0.30.7
P2P Digital Currency
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
12static constexpr auto CONFLICTING_TX_EXPIRE_TIME{20min};
14static constexpr auto CONFLICTING_TX_EXPIRE_INTERVAL{5min};
15
16class TxConflicting : public TxPool {
17public:
19 : TxPool("conflicting", CONFLICTING_TX_EXPIRE_TIME,
21};
22
23#endif // BITCOIN_TXCONFLICTING_H
A class to store and track transactions by peers.
Definition: txpool.h:24
static constexpr auto CONFLICTING_TX_EXPIRE_TIME
Expiration time for conflicting transactions.
Definition: txconflicting.h:12
static constexpr auto CONFLICTING_TX_EXPIRE_INTERVAL
Minimum time between conflicting transactions expire time checks.
Definition: txconflicting.h:14