Preparing Submissions
Submission Structure
An epoch solution submission is a Bitcoin transaction containing specific data that proves the miner's work and attests to historical state. Each submission must include the following components:
SHA-1 Proof
The hash result demonstrating the near-collision with the checksum root, including the number of matching bits achieved.
Miner's Public Key
The public key used in the SHA-1 computation, serving as both miner identity and part of the hash input.
Salt Value
A 32-byte random value that, combined with other inputs, produced the collision result.
Attestation
A reference to the state from four epochs prior, proving the miner built upon immutable historical data.
Bitcoin Embedding
Submissions are embedded in Bitcoin transactions using Tapscript witness data through the following process:
- Construct the solution data structure with all required fields.
- Encode the data according to OP_NET's submission format.
- Create a Bitcoin transaction with this data in Tapscript witness.
- Broadcast the transaction during the submission window.
- Ensure inclusion in a Bitcoin block before the window closes.