1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-02-23 15:38:22 +00:00

Replace "rules/force" mutation with a "cannot be ignored" prefix to rule names

This commit is contained in:
Luke Dashjr
2016-05-11 17:45:08 +00:00
parent cc4a94c1c0
commit 162e2e0025
2 changed files with 8 additions and 11 deletions

View File

@@ -25,8 +25,9 @@ The template Object is revised to include a new key:
| costlimit || No || Number || total cost allowed in blocks
|}
The "rules/force" mutation MUST NOT be enabled for blocks including transactions with witness data unless the client has indicated in the template request that it also supports the "segwit" rule.
In particular, note that even if the template's "rules" list includes "segwit", but none of the transactions have witness data, the server MAY use the "rules/force" mutation to support old miners.
The '!' rule prefix MUST be enabled on the "segwit" rule for templates including transactions with witness data.
In particular, note that even if the client's "rules" list lacks "segwit", server MAY support old miners by producing a witness-free template and omitting the '!' rule prefix for "segwit" in the template's "rules" list.
If the GBT server does not support producing witness-free templates after its activation, it must also use the '!' rule prefix in the "vbavailable" list prior to activation.
====Transactions Object Format====