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
orTransaction
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 themessage!
macro. (#372) - Implemented additional checks for conversion from raw message. (#372)
๐ Changed
- ๐ Changed a signature of
open
function in arocksdb
module.RocksDBOptions
should pass by the reference. (#369) ValidatorState
in theServiceContext
replaced by theValidatorId
. (#366)add_transaction
in theServiceContext
replaced by thetransaction_sender
which implements theTransactionSend
trait. (#366)- The
Node
constructor now requiresdb
andservices
variables instead ofblockchain
instance. (#366) - The
Blockchain
constructor now requires services keypair and anApiSender
instance. (#366) mount_*_api
methods inBlockchain
instance now do not requireApiContext
. (#366)- ๐ Rename method
last_height
toheight
inSchema
. (#379) last_block
now returnsBlock
instead ofOption<Block>
. (#379)- Replaced
rocksdb
command-line parameter to more genericdb-path
. (#376) - Obsolete trait
HexValue
replaced by theFromHex
andToHex
traits. (#372) - ๐ Changed
Patch
andChanges
from type definitions into opaque structures. (#371) - Help text is displayed if required argument is not specified. (#390)
โ Removed
- โ Removed
round
method from theServiceContext
. (#366) - โ Removed redundant
FromRaw
trait. (#372) - โ Removed redundant
current_height
method inSchema
. (#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)