Page MenuHomePhabricator

remove segwit 'sigops cost' leftovers
ClosedPublic

Authored by markblundeberg on Jan 11 2020, 11:45.

Details

Summary

In the segwit PR 8149, sigops count was quadrupled to become 'sigops cost',
Several places were still using the quadrupled value and the 'sigops cost'
name too.

https://github.com/bitcoin/bitcoin/pull/8149/commits/2b1f6f9ccf36f1e0a2c9d99154e1642f796d7c2b

Test Plan

ninja all check bench-bitcoin

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

also rename virtualtxsize args

deadalnix requested changes to this revision.Jan 11 2020, 13:31

Please consistently use sigOpCount instead of randomly adding it or not.

src/miner.h
194 ↗(On Diff #15332)

packageSigOpsCount

This revision now requires changes to proceed.Jan 11 2020, 13:31

prefer name like 'sig op count'; caught a few more mentions of 'cost'

This revision is now accepted and ready to land.Jan 12 2020, 13:58