7.0.0-rc1
Pre-release
Pre-release
·
131 commits
to main
since this release
Added
- Added support for inline transaction receipt construction at commit time. Endpoint authors can use
build_receipt_for_committed_tx()to construct a fullTxReceiptImplfrom theCommittedTxInfopassed to theirConsensusCommittedEndpointFunctioncallback. See the logging sample app (/log/blocking/private/receipt) for example usage (#7785).
Changed
- The
ConsensusCommittedEndpointFunctioncallback signature now receives aCommittedTxInfo&struct (containingrpc_ctx,tx_id,status,write_set_digest,commit_evidence,claims_digest) instead of individual arguments. This enables commit callbacks to construct receipts inline (#7785). ccf::endpoints::default_respond_on_commit_funchas been removed from the public API. A sample implementation is provided in the logging and basic sample apps (#7785).
Deprecated
snapshots.read_only_directoryconfiguration option is deprecated and will be removed in a future release. A warning will be logged if this option is set at startup. Usesnapshots.backup_fetchto have backup nodes automatically fetch snapshots from the primary node instead.