We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad7f22 commit 1c48daeCopy full SHA for 1c48dae
src/test/util/txmempool.h
@@ -16,17 +16,13 @@ CTxMemPool::Options MemPoolOptionsForTest(const node::NodeContext& node);
16
struct TestMemPoolEntryHelper
17
{
18
// Default values
19
- CAmount nFee;
20
- int64_t nTime;
21
- unsigned int nHeight;
22
- bool spendsCoinbase;
23
- unsigned int sigOpCost;
+ CAmount nFee{0};
+ int64_t nTime{0};
+ unsigned int nHeight{1};
+ bool spendsCoinbase{false};
+ unsigned int sigOpCost{4};
24
LockPoints lp;
25
26
- TestMemPoolEntryHelper() :
27
- nFee(0), nTime(0), nHeight(1),
28
- spendsCoinbase(false), sigOpCost(4) { }
29
-
30
CTxMemPoolEntry FromTx(const CMutableTransaction& tx) const;
31
CTxMemPoolEntry FromTx(const CTransactionRef& tx) const;
32
0 commit comments