poanetwork / posdao-contracts

Smart contracts for POSDAO (Proof of Stake Decentralized Autonomous Organization consensus), a DPOS consensus implemented in Solidity and running within EVM with swappable BFT consensus
Other
106 stars 50 forks source link

Update the hbbft randomness contract on each new block #49

Closed dforsten closed 4 years ago

dforsten commented 5 years ago

A new random number is generated as part of the HBBFT protocol. Use it to set a new random seed in the hbbft randomness contract at the beginning of each block.