Commit Graph

11 Commits

Author SHA1 Message Date
Jitendra Bhurat 164d32caf2 Running goimports gofmt, gosimple, uncovert to fix lint issues 2020-06-03 12:15:13 -04:00
Jitendra Bhurat 26421dd4df
Streamline call to newRoundChangeTimer() (#109) 2020-06-03 10:31:12 -04:00
Jitendra Bhurat b58f1d326a
Removing unused variable rcMsgSentInRound 2020-06-03 09:21:54 -04:00
Jitendra Bhurat 56b684074d
Not sending a roundchange message when receiving an invalid proposal in preprepare 2020-06-03 09:19:38 -04:00
Jitendra Bhurat 823a4eecb0 Returning true after iterating over prepared messages and comparing it against the proposal 2020-06-02 17:31:12 -04:00
Jitendra Bhurat 1d8a952fa5 Added preprepareSent variable to roundstate so that preprepare message is sent only once and updated justifyRoundChange to not return false, if prepared value or round does not match the values in prepared messages part of round change messages 2020-06-02 11:45:37 -04:00
Jitendra Bhurat 614e3d5b94 fixing the bug, where we were adding roundchange message and not preparedRound message to preparedMessages roundchangeset 2020-06-01 13:38:23 -04:00
Jitendra Bhurat 240c69670f when justifying round change verify prepared messages part of round change messages 2020-06-01 12:39:21 -04:00
Jitendra Bhurat e15137aa54 Sending prepared messages from the set of roundchange messages to preprepare message 2020-06-01 12:31:07 -04:00
Jitendra Bhurat 8289a98f2a Moving start of new round timer to after validating the preprepare message 2020-06-01 11:31:05 -04:00
Jitendra Bhurat 8044d33d40 qibft consensus and support for qibftBlock fork block 2020-05-28 11:39:30 -04:00