Closed SebastianElvis closed 2 years ago
We need to implement committee sampling. For now the miners of latest x blocks are elected as the committee
In struct server of https://github.com/SebastianElvis/orazor/blob/main/server.go,
server
committeeAddrs
OnBlock
get the best chain and refresh the committee
Problem
We need to implement committee sampling. For now the miners of latest x blocks are elected as the committee
Description
In struct
server
of https://github.com/SebastianElvis/orazor/blob/main/server.go,committeeAddrs
that tracks the committee membersOnBlock
event, add the logic:get the best chain and refresh the committee
Alternatives
Additional context