Bitcoin ABC 0.30.5
P2P Digital Currency
txorphanage.h
Go to the documentation of this file.
1// Copyright (c) 2021 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
5#ifndef BITCOIN_TXORPHANAGE_H
6#define BITCOIN_TXORPHANAGE_H
7
8#include <txpool.h>
9#include <util/time.h>
10
12static constexpr auto ORPHAN_TX_EXPIRE_TIME{20min};
14static constexpr auto ORPHAN_TX_EXPIRE_INTERVAL{5min};
15
16class TxOrphanage : public TxPool {
17public:
20};
21
22#endif // BITCOIN_TXORPHANAGE_H
A class to store and track transactions by peers.
Definition: txpool.h:24
static constexpr auto ORPHAN_TX_EXPIRE_TIME
Expiration time for orphan transactions.
Definition: txorphanage.h:12
static constexpr auto ORPHAN_TX_EXPIRE_INTERVAL
Minimum time between orphan transactions expire time checks.
Definition: txorphanage.h:14