Skip to content

Commit

Permalink
BIP 9: Switch to rules/vbavailable/vbrequired GBT interface
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed May 22, 2016
1 parent c7a3130 commit adbf64c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bip-0009.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ The template Object is also extended:
|-
! Key !! Required !! Type !! Description
|-
| rules || {{Yes}} || Object || set of pending, supported softfork deployments; each uses the softfork name as the key, and the softfork bit as its value
| rules || {{Yes}} || Array of Strings || list of softfork deployments, by name, that are active state
|-
| rulesrequired || {{No}} || Array of Strings || list of softfork deployments the server requires support for
| vbavailable || {{Yes}} || Object || set of pending, supported softfork deployments; each uses the softfork name as the key, and the softfork bit as its value
|-
| rulesenforced || {{Yes}} || Array of Strings || list of softfork deployments that are active state
| vbrequired || {{No}} || Number || bit mask of softfork deployment version bits the server requires enabled in submissions
|}

The "version" key of the template is retained, and used to indicate the server's preference of deployments.
Miners MAY clear or set bits in the block version WITHOUT any special "mutable" key, provided they are listed among the template's "rules" and (when clearing is desired) NOT listed in "rulesrequired".
Miners MAY clear or set bits in the block version WITHOUT any special "mutable" key, provided they are listed among the template's "vbavailable" and (when clearing is desired) NOT included as a bit in "vbrequired".

==Support for future changes==

Expand Down

0 comments on commit adbf64c

Please sign in to comment.