exonum v0.4 Release Notes

Release Date: 2017-12-08 // over 6 years ago
  • โž• Added

    • ๐Ÿ‘ Allow creating auditor node from command line. (#364)
    • โž• Added a new function merge_sync. In this function a write will be flushed from the operating system buffer cache before the write is considered complete. (#368)
    • โž• Added conversion into boxed values for values which implement Service or Transaction traits. (#366)
    • โž• Added constructor for the ServiceContext which can be useful for the alternative node implementations. (#366)
    • Implemented AsRef<RawMessage> for any Exonum messages that were created using the message! macro. (#372)
    • Implemented additional checks for conversion from raw message. (#372)

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed a signature of open function in a rocksdb module. RocksDBOptions should pass by the reference. (#369)
    • ValidatorState in the ServiceContext replaced by the ValidatorId. (#366)
    • add_transaction in the ServiceContext replaced by the transaction_sender which implements the TransactionSend trait. (#366)
    • The Node constructor now requires db and services variables instead of blockchain instance. (#366)
    • The Blockchain constructor now requires services keypair and an ApiSender instance. (#366)
    • mount_*_api methods in Blockchain instance now do not require ApiContext. (#366)
    • ๐Ÿ“‡ Rename method last_height to height in Schema. (#379)
    • last_block now returns Block instead of Option<Block>. (#379)
    • Replaced rocksdb command-line parameter to more generic db-path. (#376)
    • Obsolete trait HexValue replaced by the FromHex and ToHex traits. (#372)
    • ๐Ÿ”„ Changed Patch and Changes from type definitions into opaque structures. (#371)
    • Help text is displayed if required argument is not specified. (#390)

    โœ‚ Removed

    • โœ‚ Removed round method from the ServiceContext. (#366)
    • โœ‚ Removed redundant FromRaw trait. (#372)
    • โœ‚ Removed redundant current_height method in Schema. (#379)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed crate_authors! macro usage, this macro can't return static string in new clap version. (#370)
    • ๐Ÿ›  Fixed mistake in description of the height getter in the ServiceContext. (#366)
    • ๐Ÿ›  Fixed #15 consensus on the threshold of 1/3 sleeping validators. (#388)