decred / dcrpool

decred mining pool
ISC License
31 stars 28 forks source link

pool: Remove treasuryActive bool from func sigs. #419

Closed jholdstock closed 1 year ago

jholdstock commented 1 year ago

The only reason dcrpool needs to be aware of DCP-0006 activation is to determine the index of the coinbase output, so rather than passing around a treasuryActive bool, the index itself can be passed around.