Skip to content

7.0.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Apr 12:20
· 131 commits to main since this release
fa20ef7

Added

  • Added support for inline transaction receipt construction at commit time. Endpoint authors can use build_receipt_for_committed_tx() to construct a full TxReceiptImpl from the CommittedTxInfo passed to their ConsensusCommittedEndpointFunction callback. See the logging sample app (/log/blocking/private/receipt) for example usage (#7785).

Changed

  • The ConsensusCommittedEndpointFunction callback signature now receives a CommittedTxInfo& struct (containing rpc_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_func has been removed from the public API. A sample implementation is provided in the logging and basic sample apps (#7785).

Deprecated

  • snapshots.read_only_directory configuration option is deprecated and will be removed in a future release. A warning will be logged if this option is set at startup. Use snapshots.backup_fetch to have backup nodes automatically fetch snapshots from the primary node instead.