poanetwork / hbbft

An implementation of the paper "Honey Badger of BFT Protocols" in Rust. This is a modular library of consensus.
Other
356 stars 96 forks source link

Why isn't there an example telling how to use QueueingHoneyBadger with socket #407

Closed LuminousXLB closed 5 years ago

LuminousXLB commented 5 years ago

There are two examples now in the project.

simulation builds several QueueingHoneyBadger instances in a single process consensus-node creates several processes but never uses the QueueingHoneyBadger struct

Why isn't there an example that several QHB instances communicate on socket?

vkomenda commented 5 years ago

@LuminousXLB, please check Hydrabadger. We deliberately avoided adding networking in hbbft to have a clean separation between the algorithm and the IO. The networking should be done at a different layer, and Hydrabadger provides an example of such a layer.

LuminousXLB commented 5 years ago

@vkomenda Thank you very much. I have been scratching on this for several weeks