mirror of
https://github.com/bitcoin/bips.git
synced 2026-02-23 15:38:22 +00:00
BIP 141 & 145: Clarify sigop interaction
This commit is contained in:
@@ -24,8 +24,6 @@ The template Object is revised to include these keys:
|
||||
|-
|
||||
| costlimit || {{No}} || Number || total cost allowed in blocks
|
||||
|-
|
||||
| sigoplimit || {{No}} || Number || total sigop cost allowed in blocks divided by 4
|
||||
|-
|
||||
| version || {{Yes}} || Number || block version; clients MUST understand the implications of the version they use (eg, comply with [[bip-0141.mediawiki|BIP 141]] for version 5)
|
||||
|}
|
||||
|
||||
@@ -47,6 +45,10 @@ The Objects listed in the response's "transactions" key is revised to include th
|
||||
|
||||
Transactions with witness data may only be included if the template's block version is at least 5.
|
||||
|
||||
===Sigops===
|
||||
|
||||
For version 5 blocks, the "sigoplimit" and "sigops" keys must use the new values as calculated in [[bip-0141.mediawiki#Sigops|BIP 141]].
|
||||
|
||||
===Block Assembly with Witness Transactions===
|
||||
|
||||
When block assembly is done without witness transactions, no changes are made by this BIP, and it should be assembled as previously.
|
||||
|
||||
Reference in New Issue
Block a user