Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Crosslink heartbeat signal #4160

Closed
rlan35 opened this issue May 2, 2022 · 0 comments
Closed

[Feature] Crosslink heartbeat signal #4160

rlan35 opened this issue May 2, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rlan35
Copy link
Contributor

rlan35 commented May 2, 2022

After we migrate to use epoch block chain as the beacon chain in nodes of shard 1 2 3, we also need to update the crosslink sending logic.

Previously, all validators in shard 1 2 3 download and sync the whole beacon chain, which contains all the processed crosslink data in the block headers. Leaders in shard 1 2 3 will send crosslinks based on what's the latest processed crosslink recorded in the beacon chain header. For example, shard 1 leader see from it's sync'ed beacon chain that the latest processed crosslink for shard 1 is at block 1000, then it will try to send a few more crosslinks starting from 1001...

Once we change the validators in shard 1 2 3 to only download the epoch block of beacon chain, the leaders won't be able to read the processed crosslink data in the full beacon chain anymore and will have no idea what's the latest crosslinks that's processed.

Thus we need to update the code so the real beacon chain committee (leader) can send a message containing what's the currently latest processed crosslink for each of the shards, so the shards can send corresponding crosslinks to the beacon chain so there is missing crosslinks (no gap) processed in beacon chain.

@rlan35 rlan35 added the enhancement New feature or request label May 2, 2022
@rlan35 rlan35 changed the title [Feature] [Feature] Crosslink heartbeat signal May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants