Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

parlia: support fast finality hard fork; #9

Merged
merged 4 commits into from
Oct 25, 2022

Conversation

galaio
Copy link
Collaborator

@galaio galaio commented Sep 27, 2022

this pr will partially support BSC fast finality, Akula could full sync after the hard fork, it contains:

  1. add boneh and lynn hard fork logic;
  2. add BLS key manager to verify sig;
  3. parse and verify fast finality block header;
  4. add some precompile contracts;
  5. support newly reward and slash logic;
  6. add fast finality vote pool, support vote new head, verify and collect votes;
  7. prepare new block attestation;

@galaio galaio added the WIP tag work in progress for PR label Sep 27, 2022
@galaio galaio changed the base branch from develop_parlia_bak_10.2 to develop_parlia October 13, 2022 07:56
@galaio galaio changed the title parlia: support fast finality full sync; parlia: support fast finality hard fork; Oct 24, 2022
opt parlia's snapshot for fast finality;
add bls key verify and attestation parse;
opt parlia's verify block header and finalize for fast finality;
opt bls key and sig struct;
support genesis load boneh extra info;
opt vote manager, vote pool;
add p2p msg support vote msg;
init fast fanality in mining mode;
@galaio galaio added R4R ready for review for PR and removed WIP tag work in progress for PR labels Oct 24, 2022
@brilliant-lx brilliant-lx merged commit 5bad609 into bnb-chain:develop_parlia Oct 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
R4R ready for review for PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants