hyperledger-labs / mirbft

MirBFT is a consensus library implementing the Mir consensus protocol.
Apache License 2.0
158 stars 35 forks source link

Follow-up Events #79

Open matejpavlovic opened 2 years ago

matejpavlovic commented 2 years ago

Use the newly introduced FollowUp and FollowUps methods instead of directly accessing the Event's Next field. This task corresponds to the following TODO: https://github.com/hyperledger-labs/mirbft/blob/ba531de6b31449865b425cacc086577864c7dd50/pkg/pb/eventpb/methods.go#L3 This task involves looking up all direct accesses to the Next field and replacing them by the appropriate calls to FollowUp and FollowUps