mempool/miner: cleanup.
This commit is contained in:
parent
c358a1b59e
commit
ff28b7c4fb
@ -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;
|
||||
};
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user