Releases: SiaFoundation/core
0.19.0 (2025-12-01)
Breaking Changes
- Changed rhp.BuildSectorProof to accept cached subtrees to reduce disk IO required for sector reads.
Fixes
- Parallelize sector root computation in ReaderRoot.
0.18.1 (2025-11-10)
Fixes
- Fix invalid MaxCollateral validation for partial contract refreshes.
0.18.0 (2025-09-23)
Breaking Changes
- Changed the encoding of
rhp.Accountto include theed25519:prefix.
0.17.5 (2025-09-01)
Fixes
- Fix ProtocolVersion marshalling failing.
0.17.4 (2025-08-27)
Fixes
- Add compatibility for old protocol version JSON encoding
0.17.3 (2025-08-21)
Fixes
- Fix RPCSectorRoots not supporting MaxSectorBatchSize.
0.17.2 (2025-08-21)
Fixes
- Fix RPCAppendSectors not allowing up to MaxSectorBatchSize sectors.
0.17.1 (2025-08-18)
Features
- Add
NonceFactorfield to theHardforkASICstruct and use this as the return value forState.NonceFactor().
0.17.0 (2025-08-11)
Breaking Changes
- Add dedicated ProtocolVersion type for RHP version.
Fixes
- Increase RPCFreeSectorsRequest and RPCFreeSectorsResponse maxLengths to fix issue with large contracts failing to prune.
0.16.0 (2025-07-28)
Breaking Changes
Allow empty miner payout after FinalCut
A remnant of the old v1 types.Currency encoding persists in the Block.MinerPayouts field. In v2, only a single miner payout is allowed, so its value is fully determined by the sum of the block reward and miner fees. We can therefore omit the value entirely, eliminating a redundant source of truth. It was decided that requiring the value to be omitted was too onerous, as it would compel all miners to update. Making the omission optional allows us to enforce it as a hard requirement at some later time, after all miners have updated.
Add (State).PowTarget and deprecate v1 fields
The consensus.State type contains several redundant and unused PoW-related fields. However, since these fields were included in the Commitment hash, nodes still had to update them correctly. These fields are now zeroed after the hardfork height, so that the Commitment hash can hard-code them if desired.
Features
- Expose helper methods to compute the remaining allowance, collateral, risked collateral and risked revenue on the V2FileContract type.
Fixes
- Fixed issue with RPC validation functions not returning RPC errors.