Skip to content

Commit 1e0f60a

Browse files
committed
revert prev_hash optionality in DeclareMiningJob
1 parent a4738d0 commit 1e0f60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

06-Job-Declaration-Protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ A request sent by JDC that proposes a selected set of transactions to JDS.
149149
| request_id | U32 | Unique identifier for pairing the response |
150150
| mining_job_token | B0_255 | Previously reserved mining job token received by AllocateMiningJobToken.Success |
151151
| version | U32 | Version header field. To be later modified by BIP320-consistent changes. |
152-
| prev_hash | U256 | Optional. Contains the chain tip that the template is based on. JDS SHOULD accept templates based on different tips, as long as they are on the best block height and don't contain double spends. |
152+
| prev_hash | U256 | Contains the chain tip that the template is based on. JDS SHOULD accept templates based on different tips, as long as they are on the best block height and don't contain double spends. |
153153
| coinbase_tx_prefix | B0_64K | Serialized bytes representing the initial part of the coinbase transaction (not including extranonce) |
154154
| coinbase_tx_suffix | B0_64K | Serialized bytes representing the final part of the coinbase transaction (after extranonce) |
155155
| tx_ids_list | SEQ0_64K[U256] | List of hashes of the transaction set contained in the template. JDS checks the list against its mempool and requests missing txs via `ProvideMissingTransactions`. Does not include the coinbase transaction (as there is no corresponding full data for it yet). |

0 commit comments

Comments
 (0)