2.0.0-rc2
Pre-release
Pre-release
Changed
- The entry point for creation of C++ apps is now
make_user_endpoints(). The old entry pointget_rpc_handler()has been removed (#3562). For an example of the necessary change, see this diff of the logging sample app (#3562). - Failed recovery procedures no longer block subsequent recoveries:
.recoveryledger files are now created while the recovery is in progress and ignored or deleted by nodes on startup (#3563). - Corrupted or incomplete ledger files are now recovered gracefully, until the last valid entry (#3585).
- The CCF public API is now under
include/ccf, and all application includes of framework code should use only these files.
Removed
get_node_state()is removed fromAbstractNodeContext. The local node's ID is still available to endpoints asget_node_id(), and other subsystems which are app-visible can be fetched directly (#3552).
Fixed
- Nodes no longer crash at start-up if the ledger in the read-only ledger directories (
ledger.read_only_directories) is ahead of the ledger in the main ledger directory (ledger.directory) (#3597).