Skip to content

Commit 2efc438

Browse files
committed
Align struct COrphan definition
1 parent 2efcfa5 commit 2efc438

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ struct IteratorComparator
5050
};
5151

5252
struct COrphanTx {
53+
// When modifying, adapt the copy of this definition in tests/DoS_tests.
5354
CTransaction tx;
5455
NodeId fromPeer;
5556
int64_t nTimeExpire;

src/test/DoS_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans);
2929
struct COrphanTx {
3030
CTransaction tx;
3131
NodeId fromPeer;
32+
int64_t nTimeExpire;
3233
};
3334
extern std::map<uint256, COrphanTx> mapOrphanTransactions;
3435
extern std::map<uint256, std::set<uint256> > mapOrphanTransactionsByPrev;

0 commit comments

Comments
 (0)