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

Consistent/atomic storage updates #193

Open
ericsson49 opened this issue Sep 17, 2019 · 0 comments
Open

Consistent/atomic storage updates #193

ericsson49 opened this issue Sep 17, 2019 · 0 comments
Labels
invalid This doesn't seem right spec Changes related to spec

Comments

@ericsson49
Copy link
Contributor

Specification assumes blocks and their corresponding states should be stored consistently.
E.g. fork choice/on_attestation assumes that if a block is present in the storage, then its state should be present too.
Also, there may be some consistency constraints among store.checkpoint_states, store.finalized_checkpoints, store.justified_checkpoints, related block states, etc.

These consistency should be supported on DB level via an appropriate mechanism, either atomic transactions, snapshots or journalling. There is a related issue #190.

@ericsson49 ericsson49 added invalid This doesn't seem right spec Changes related to spec labels Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right spec Changes related to spec
Projects
None yet
Development

No branches or pull requests

1 participant