mining: include 'segwit' rule when no segwit txns in GBT #81

Merged
roylee17 merged 1 commit from roylee/mining-include-rules-in-gbt2 into master 2022-08-08 09:49:16 +02:00

1 commit

Author SHA1 Message Date
Roy Lee
d1fa79ea77 mining: include 'segwit' rule when no segwit txns in GBT
According to the BIP0009, all active softfork deployment should
be included in the rules.

We add the '!' to indicate the enforcement if the template has
any segwit transactions in it. Otherwise, plain `segwit` is fine.
2022-08-08 00:01:34 -07:00