v3.6.0
Mining Protocol Breaking Changes
Based on feedback from mining pools, we have introduced the following breaking changes to the mining protocol:
- Each message type includes a version number. The current mining protocol version is
1 - The
Jobmessage includes a block height field - The
SubmitResultmessage includes a block hash field
To migrate to the latest mining protocol, please refer to the changes in the reference pool implementation.
Other Main Changes
- Add optional indexes for tx output, subcontracts
- Add new endpoints for fetching raw blocks and transactions
- Add instruction code generators for Rust and Typescript
Pull Requests
- Improve mining protocol by @Lbqds in #1168
- chore: remove repetitive word by @friendlyping in #1169
- Remove cut from ifBranchExpr by @Lbqds in #1170
- Improve the error message for InvalidErrorCode by @Lbqds in #1171
- Raw Block & Transaction Endpoints by @h0ngcha0 in #1172
- Generate codec for instrs by @Lbqds in #1173
- Add Node Indexes by @h0ngcha0 in #1174
New Contributors
- @friendlyping made their first contribution in #1169
Full Changelog: v3.5.2...v3.6.0