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

Confirmation blocks to include block number #55

Open
buckyroberts opened this issue Feb 8, 2021 · 0 comments
Open

Confirmation blocks to include block number #55

buckyroberts opened this issue Feb 8, 2021 · 0 comments
Assignees

Comments

@buckyroberts
Copy link
Collaborator

buckyroberts commented Feb 8, 2021

Add block_number to confirmation blocks. This will simplify synchronization across nodes and also allow us to use our updated time model which is based on block_number.

We also need to keep the most recent block_number in cache, similar to how we do for HEAD_BLOCK_HASH. This is because the system will need to know that value in order to increment it every time a new block is created.

HEAD_BLOCK_HASH overview

Confirmation block API docs

The resulting shape of a confirmation block would look similar to this.

Screen Shot 2021-02-07 at 5 22 32 PM

@buckyroberts buckyroberts assigned armansw and dmugtasimov and unassigned armansw Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants