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