Bitcoin ABC  0.28.12
P2P Digital Currency
Classes | Variables
txorphanage.h File Reference
#include <net.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <sync.h>
Include dependency graph for txorphanage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  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 number of orphans we keep and the duration we keep them for. More...
 
struct  TxOrphanage::OrphanTx
 
struct  TxOrphanage::IteratorComparator
 

Variables

RecursiveMutex g_cs_orphans
 Guards orphan transactions and extra txs for compact blocks. More...
 

Variable Documentation

◆ g_cs_orphans

RecursiveMutex g_cs_orphans
extern

Guards orphan transactions and extra txs for compact blocks.

Definition at line 18 of file txorphanage.cpp.