round-based-protocol
round-based-protocol copied to clipboard
Expand ProtocolWatcher trait
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.