aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2016-06-30 11:37:38 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2016-06-30 11:37:38 -0400
commitd2e46e1b5cf6c08829ec3bb2a923b4ba149ab3b7 (patch)
tree7e65f65a35c2ddbd8cae92df61c32eb92b12537a /src/miner.h
parent6dd4bc289c71f622ac561f6f9651546b9ec4fa3e (diff)
Remove addScoreTxs()
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/miner.h b/src/miner.h
index 9fab55611e..037639b2be 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -157,7 +157,7 @@ private:
int64_t nLockTimeCutoff;
const CChainParams& chainparams;
- // Variables used for addScoreTxs and addPriorityTxs
+ // Variables used for addPriorityTxs
int lastFewTxs;
bool blockFinished;
@@ -174,14 +174,12 @@ private:
void AddToBlock(CTxMemPool::txiter iter);
// Methods for how to add transactions to a block.
- /** Add transactions based on modified feerate */
- void addScoreTxs();
/** Add transactions based on tx "priority" */
void addPriorityTxs();
/** Add transactions based on feerate including unconfirmed ancestors */
void addPackageTxs();
- // helper function for addScoreTxs and addPriorityTxs
+ // helper function for addPriorityTxs
/** Test if tx will still "fit" in the block */
bool TestForBlock(CTxMemPool::txiter iter);
/** Test if tx still has unconfirmed parents not yet in block */