Merge #9269: Align struct COrphan definition

2efc438 Align struct COrphan definition (Pieter Wuille)
pull/9282/head
Wladimir J. van der Laan 8 years ago
commit 43e8150ef6
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

@ -50,6 +50,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…
Cancel
Save