Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <net.h>
#include <policy/packages.h>
#include <txorphanage.h>
#include <cstdint>
#include <memory>
Go to the source code of this file.
Classes | |
struct | node::TxDownloadOptions |
struct | node::TxDownloadConnectionInfo |
struct | node::PackageToValidate |
struct | node::RejectedTxTodo |
class | node::TxDownloadManager |
Class responsible for deciding what transactions to request and, once downloaded, whether and how to validate them. More... | |
Namespaces | |
namespace | node |
Variables | |
static constexpr int32_t | node::MAX_PEER_TX_REQUEST_IN_FLIGHT = 100 |
Maximum number of in-flight transaction requests from a peer. More... | |
static constexpr int32_t | node::MAX_PEER_TX_ANNOUNCEMENTS = 5000 |
Maximum number of transactions to consider for requesting, per peer. More... | |
static constexpr auto | node::TXID_RELAY_DELAY {2s} |
How long to delay requesting transactions via txids, if we have wtxid-relaying peers. More... | |
static constexpr auto | node::NONPREF_PEER_TX_DELAY {2s} |
How long to delay requesting transactions from non-preferred peers. More... | |
static constexpr auto | node::OVERLOADED_PEER_TX_DELAY {2s} |
How long to delay requesting transactions from overloaded peers (see MAX_PEER_TX_REQUEST_IN_FLIGHT). More... | |
static constexpr auto | node::GETDATA_TX_INTERVAL {60s} |
How long to wait before downloading a transaction from an additional peer. More... | |