dedis/dela

Ordering: rotate leader

nkcr opened this issue · 0 comments

nkcr commented

Right now when a round expires, nodes choose the leader + 1, without rotating:

	param := ViewParam{
		From:   addr,
		ID:     lastID,
		Leader: m.round.leader + 1,
	}

we should apply a modulo based on the number of nodes.