ChainSafe / forest

🌲 Rust Filecoin Node Implementation
https://forest.chainsafe.io
Apache License 2.0
625 stars 150 forks source link

Create and Add BeaconEntry structure to BlockHeaders #366

Closed ec2 closed 4 years ago

ec2 commented 4 years ago

Task summary

With Drand, there is a new field in the BlockHeaders. We call this a BeaconEntry. This issues does not cover any verification, just updating the definition of BlockHeader.

Specification reference

Other information and links

dutterbutter commented 4 years ago

Based on testnet/3 BlockHeader, we are also missing the fields ElectionProof: *ElectionProof

austinabell commented 4 years ago

Based on testnet/3 BlockHeader, we are also missing the fields ElectionProof: *ElectionProof

Yeah, seems they switch the election proof format back to previous format, so with this change (assume once the serialization vectors are updated) that EPostproof needs to be updated to serialized bytes instead of the serialization of the VM proof type