You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bip-0022.mediawiki
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ Block template creation can be influenced by various parameters:
26
26
|-
27
27
! Key !! Required !! Type !! Description
28
28
|-
29
-
| capabilities || {{No}} || Array of Strings || SHOULD contain a list of the following, to indicate client-side support: [[#Optional: Long Polling|"longpoll"]], "coinbasetxn", "coinbasevalue", [[bip-0023.mediawiki#Block Proposal|"proposal"]], [[bip-0023.mediawiki#Logical Services|"serverlist"]], "workid", and any of the [[bip-0023.mediawiki#Mutations|mutations]]
29
+
| capabilities || No || Array of Strings || SHOULD contain a list of the following, to indicate client-side support: [[#Optional: Long Polling|"longpoll"]], "coinbasetxn", "coinbasevalue", [[bip-0023.mediawiki#Block Proposal|"proposal"]], [[bip-0023.mediawiki#Logical Services|"serverlist"]], "workid", and any of the [[bip-0023.mediawiki#Mutations|mutations]]
30
30
|-
31
-
| mode || {{No}} || String || MUST be "template" or omitted
31
+
| mode || No || String || MUST be "template" or omitted
32
32
|}
33
33
34
34
getblocktemplate MUST return a JSON Object containing the following keys:
@@ -37,29 +37,29 @@ getblocktemplate MUST return a JSON Object containing the following keys:
37
37
|-
38
38
! Key !! Required !! Type !! Description
39
39
|-
40
-
| bits || {{Yes}} || String || the compressed difficulty in hexadecimal
40
+
| bits || Yes || String || the compressed difficulty in hexadecimal
41
41
|-
42
-
| curtime || {{Yes}} || Number || the current time as seen by the server (recommended for block time) - note this is not necessarily the system clock, and must fall within the mintime/maxtime rules
42
+
| curtime || Yes || Number || the current time as seen by the server (recommended for block time) - note this is not necessarily the system clock, and must fall within the mintime/maxtime rules
43
43
|-
44
-
| height || {{Yes}} || Number || the height of the block we are looking for
44
+
| height || Yes || Number || the height of the block we are looking for
45
45
|-
46
-
| previousblockhash || {{Yes}} || String || the hash of the previous block, in big-endian hexadecimal
46
+
| previousblockhash || Yes || String || the hash of the previous block, in big-endian hexadecimal
47
47
|-
48
-
| sigoplimit || {{No}} || Number || number of sigops allowed in blocks
48
+
| sigoplimit || No || Number || number of sigops allowed in blocks
49
49
|-
50
-
| sizelimit || {{No}} || Number || number of bytes allowed in blocks
50
+
| sizelimit || No || Number || number of bytes allowed in blocks
51
51
|-
52
-
| transactions || {{Yes|Should}} || Array of Objects || Objects containing [[#Transactions Object Format|information for Bitcoin transactions]] (excluding coinbase)
52
+
| transactions || Should || Array of Objects || Objects containing [[#Transactions Object Format|information for Bitcoin transactions]] (excluding coinbase)
53
53
|-
54
-
| version || {{Yes}} || Number || always 1 or 2 (at least for bitcoin) - clients MUST understand the implications of the version they use (eg, comply with [[bip-0034.mediawiki|BIP 0034]] for version 2)
54
+
| version || Yes || Number || always 1 or 2 (at least for bitcoin) - clients MUST understand the implications of the version they use (eg, comply with [[bip-0034.mediawiki|BIP 0034]] for version 2)
55
55
|-
56
-
| coinbaseaux || {{No}} || Object || data that SHOULD be included in the coinbase's scriptSig content. Only the values (hexadecimal byte-for-byte) in this Object should be included, not the keys. This does not include the block height, which is required to be included in the scriptSig by [[bip-0034.mediawiki|BIP 0034]]. It is advisable to encode values inside "PUSH" opcodes, so as to not inadvertently expend SIGOPs (which are counted toward limits, despite not being executed).
56
+
| coinbaseaux || No || Object || data that SHOULD be included in the coinbase's scriptSig content. Only the values (hexadecimal byte-for-byte) in this Object should be included, not the keys. This does not include the block height, which is required to be included in the scriptSig by [[bip-0034.mediawiki|BIP 0034]]. It is advisable to encode values inside "PUSH" opcodes, so as to not inadvertently expend SIGOPs (which are counted toward limits, despite not being executed).
57
57
|-
58
-
| coinbasetxn || {{Patch|this or ↓}} || Object || [[#Transactions Object Format|information for coinbase transaction]]
58
+
| coinbasetxn || this or ↓ || Object || [[#Transactions Object Format|information for coinbase transaction]]
59
59
|-
60
-
| coinbasevalue || {{Patch|this or ↑}} || Number || total funds available for the coinbase (in Satoshis)
60
+
| coinbasevalue || this or ↑ || Number || total funds available for the coinbase (in Satoshis)
61
61
|-
62
-
| workid || {{No}} || String || if provided, this value must be returned with results (see [[#Block Submission|Block Submission]])
62
+
| workid || No || String || if provided, this value must be returned with results (see [[#Block Submission|Block Submission]])
Copy file name to clipboardExpand all lines: bip-0145.mediawiki
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ The template Object is revised to include these keys:
22
22
|-
23
23
! Key !! Required !! Type !! Description
24
24
|-
25
-
| costlimit || {{No}} || Number || total cost allowed in blocks
25
+
| costlimit || No || Number || total cost allowed in blocks
26
26
|-
27
-
| sigoplimit || {{No}} || Number || total sigop cost allowed in blocks divided by 4
27
+
| sigoplimit || No || Number || total sigop cost allowed in blocks divided by 4
28
28
|-
29
-
| 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)
29
+
| 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)
0 commit comments