mempool/miner: cleanup.

This commit is contained in:
Christopher Jeffrey 2016-12-18 02:58:29 -08:00
parent c358a1b59e
commit ff28b7c4fb
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 0 additions and 20 deletions

View File

@ -242,23 +242,6 @@ ConfirmStats.prototype.estimateMedian = function estimateMedian(target, needed,
}
}
// this.logger.debug('estimatefee: '
// + ' For confirmation success in %d blocks'
// + ' %s %d need %s %s: %d from buckets %d - %d.'
// + ' Current bucket stats %d% %d/%d (%d mempool).',
// target,
// greater ? '>' : '<',
// breakpoint,
// this.type,
// greater ? '>' : '<',
// median,
// this.buckets[minBucket],
// this.buckets[maxBucket],
// 100 * conf / Math.max(1, total + extra),
// conf,
// total,
// extra);
return median;
};

View File

@ -461,9 +461,6 @@ Miner.prototype.build = function build(attempt) {
sigops += item.sigops;
// If we had a view we could do:
// sigops += tx.getSigopsCost(view, attempt.flags);
if (sigops > this.maxSigops)
continue;