Skip to content

7.0.0-rc0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Mar 10:57
· 110 commits to main since this release
e1dd74b

Added

  • Added files_cleanup.max_snapshots configuration option to limit the number of committed snapshot files retained on disk. When the number of committed snapshots exceeds this value, the oldest snapshots (by sequence number) are automatically deleted. The value must be at least 1 if set.
  • Added files_cleanup.interval configuration option (default "30s") to periodically scan the snapshot directory and delete old committed snapshots exceeding max_snapshots. This ensures backup nodes (which receive snapshots via backup_fetch) also prune old snapshots. Only effective when max_snapshots is set.
  • Added POST /node/snapshot:create, gated by the SnapshotCreate RPC interface operator feature, to create a snapshot via an operator endpoint rather than a governance action.
  • Added make_cose_verifier_from_pem_cert() and make_cose_verifier_from_der_cert() that accept certificates in a known format. The existing make_cose_verifier_cert() is renamed to make_cose_verifier_any_cert() (#7768).

Changed

  • The since query parameter on the GET /node/snapshot endpoint now uses closed (inclusive) semantics, consistent with the since parameter on GET /node/ledger_chunk. A request with ?since=N will now return snapshots with index greater than or equal to N, rather than strictly greater than N (#7742).