7.0.0-dev10
Pre-release
Pre-release
·
39 commits
to main
since this release
Added
GETandHEAD/node/ledger-chunk?since={seqno}and/node/ledger-chunk/{chunk_name}endpoints, gated by theLedgerChunkDownloadRPC interface operator feature. See documentation for more detail.GETandHEAD/node/ledger-chunk/{chunk_name}and/node/snapshot/{snapshot_name}now support theWant-Repr-Digestrequest header and return theRepr-Digestresponse header accordingly (RFC 9530). Supported algorithms aresha-256,sha-384, andsha-512. If no supported algorithm is requested, the server defaults tosha-256(#7650).ETagandIf-None-Matchsupport onGET /node/ledger-chunk/{chunk_name}, using SHA-256 by default for theETagresponse header. Clients can supplyIf-None-Matchwithsha-256,sha-384, orsha-512digest ETags to avoid re-downloading unchanged content (#7652).
Changed
ccf::crypto::HashProvider::Hash()has been renamed toccf::crypto::HashProvider::hash()for consistency with the rest of the API (#7660).
Fixed
- Only rollback uncommittable indices during become_leader (#7620)
- x509 parsing now correctly handles times validity beyond 2262. To support this, some public function signatures (
ccf::ds::time_point_from_string(),ccf::crypto::Verifier::remaining_seconds()) now usetime_points fromccf::nonstd::SystemClockrather thanstd::chrono::system_clock(#7648)