v0.4.0
Pre-release
Pre-release
This release includes bug fixes and improvements to several modules.
Highlights:
- add an implementation of the Twins strategy for testing protocol safety
- the event loop has been improved
- logging package moved out of
internal
- log levels can now be set on a per-package basis
API changes (generated by gorelease)
github.com/relab/hotstuff/consensus
incompatible changes
Executor.Exec: changed from func(Command) to func(*Block)
Executor: changed from Executor to Executor
ForkHandler.Fork: changed from func(Command) to func(*Block)
ForkHandler: changed from ForkHandler to ForkHandler
compatible changes
(*OptionsBuilder).SetShouldVerifyVotesSync: added
ExecutorExt: added
ForkHandlerExt: added
Modules.EventLoop: added
Options.ShouldVerifyVotesSync: added
github.com/relab/hotstuff/consensus/byzantine
compatible changes
Byzantine: added
github.com/relab/hotstuff/eventloop
incompatible changes
(*EventLoop).RegisterAsyncHandler: removed
(*EventLoop).RegisterAsyncObserver: removed
compatible changes
(*EventLoop).Tick: added
github.com/relab/hotstuff/logging
compatible changes
package added
github.com/relab/hotstuff/modules
compatible changes
GetModule: added
Modules.EventLoop: added
RegisterModule: added
github.com/relab/hotstuff/synchronizer
compatible changes
(*Synchronizer).OnLocalTimeout: added
github.com/relab/hotstuff/twins
compatible changes
package added