mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Merge #9269: Align struct COrphan definition
2efc438
Align struct COrphan definition (Pieter Wuille)
This commit is contained in:
parent
2feda90d5d
commit
9782c18312
@ -63,6 +63,7 @@ struct IteratorComparator
|
||||
};
|
||||
|
||||
struct COrphanTx {
|
||||
// When modifying, adapt the copy of this definition in tests/DoS_tests.
|
||||
CTransaction tx;
|
||||
NodeId fromPeer;
|
||||
int64_t nTimeExpire;
|
||||
|
@ -29,6 +29,7 @@ extern unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans);
|
||||
struct COrphanTx {
|
||||
CTransaction tx;
|
||||
NodeId fromPeer;
|
||||
int64_t nTimeExpire;
|
||||
};
|
||||
extern std::map<uint256, COrphanTx> mapOrphanTransactions;
|
||||
extern std::map<uint256, std::set<uint256> > mapOrphanTransactionsByPrev;
|
||||
|
Loading…
Reference in New Issue
Block a user