orbs-network / lean-helix-go

Go implementation of the Lean Helix Byzantine fault tolerant consensus algorithm
MIT License
37 stars 0 forks source link

refactor election trigger function #63

Open ronnno opened 5 years ago

ronnno commented 5 years ago

avoid passing a callback function for handling election.

The current design is "functional" and not idiomatic. it adds complexity to LH and makes the algorithm hard to reason about