Skip to content

Commit

Permalink
Merge bitcoin#9269: Align struct COrphan definition
Browse files Browse the repository at this point in the history
2efc438 Align struct COrphan definition (Pieter Wuille)
  • Loading branch information
laanwj committed Dec 5, 2016
2 parents 613bda4 + 2efc438 commit 43e8150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/net_processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/test/DoS_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 43e8150

Please sign in to comment.