ZenGo-X / round-based-protocol

Driver for round-based protocols in Rust
Apache License 2.0
23 stars 17 forks source link

Expand ProtocolWatcher trait #1

Open survived opened 3 years ago

survived commented 3 years ago

ProtocolWatcher trait should be able to receive every possible event which can cause (or which was caused by) state changing, e.g. received incoming message, result of handling incoming message, sending outcoming message, changing current round number, etc.