![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
#include <consensus/validation.h>
#include <net.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <sync.h>
#include <util/time.h>
#include <map>
#include <set>
Go to the source code of this file.
Classes | |
class | node::TxOrphanage |
A class to track orphan transactions (failed on TX_MISSING_INPUTS) Since we cannot distinguish orphans from bad transactions with non-existent inputs, we heavily limit the amount of announcements (unique (NodeId, wtxid) pairs), the number of inputs, and size of the orphans stored (both individual and summed). More... | |
struct | node::TxOrphanage::OrphanInfo |
Allows providing orphan information externally. More... | |
Namespaces | |
namespace | node |
Functions | |
std::unique_ptr< TxOrphanage > | node::MakeTxOrphanage () noexcept |
Create a new TxOrphanage instance. More... | |
std::unique_ptr< TxOrphanage > | node::MakeTxOrphanage (TxOrphanage::Count max_global_latency_score, TxOrphanage::Usage reserved_peer_usage) noexcept |
Variables | |
static constexpr int64_t | node::DEFAULT_RESERVED_ORPHAN_WEIGHT_PER_PEER {404'000} |
Default value for TxOrphanage::m_reserved_usage_per_peer. More... | |
static constexpr unsigned int | node::DEFAULT_MAX_ORPHANAGE_LATENCY_SCORE {3000} |
Default value for TxOrphanage::m_max_global_latency_score. More... | |