hyperledger-labs / SmartBFT

Implementation of the SmartBFT consensus library (https://arxiv.org/abs/2107.06922)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add periodical heart beats from leaders to followers

HagarMeir opened this issue · comments

In the absence of requests, the leader may fail without anyone noticing until the next requests comes along, and triggers a timeout.

Create a mechanisms in which in the absence of requests the leader broadcasts periodic heartbeats. Followers maintain a heartbeat timeout timer, that is extended when a heartbeat is received. When a heartbeat expired the followers complain and start a view change process.

When requests are submitted, heartbeats should not be sent, and timeouts extended when requests are received (Backlog).