diff options
| author | Alex Morcos <[email protected]> | 2016-11-11 11:57:51 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-01-04 12:09:33 -0500 |
| commit | 84f7ab08d2e8e83a584d72fdf44f68b34baf8165 (patch) | |
| tree | f5076b10d4afd783a5fb77f3a19aff1dab1fd9dd /src/wallet/wallet.cpp | |
| parent | Don't track transactions at all during IBD. (diff) | |
| download | discoin-84f7ab08d2e8e83a584d72fdf44f68b34baf8165.tar.xz discoin-84f7ab08d2e8e83a584d72fdf44f68b34baf8165.zip | |
Remove member variable hadNoDependencies from CTxMemPoolEntry
Fee estimation can just check its own mapMemPoolTxs to determine the same information. Note that now fee estimation for block processing must happen before those transactions are removed, but this shoudl be a speedup.
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 967683256..0b13c2ba7 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2563,7 +2563,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt if (GetBoolArg("-walletrejectlongchains", DEFAULT_WALLET_REJECT_LONG_CHAINS)) { // Lastly, ensure this tx will pass the mempool's chain limits LockPoints lp; - CTxMemPoolEntry entry(wtxNew.tx, 0, 0, 0, 0, false, 0, false, 0, lp); + CTxMemPoolEntry entry(wtxNew.tx, 0, 0, 0, 0, 0, false, 0, lp); CTxMemPool::setEntries setAncestors; size_t nLimitAncestors = GetArg("-limitancestorcount", DEFAULT_ANCESTOR_LIMIT); size_t nLimitAncestorSize = GetArg("-limitancestorsize", DEFAULT_ANCESTOR_SIZE_LIMIT)*1000; |