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

Store only block proof for shards in persistent state #414

Open
Rexagon opened this issue Nov 5, 2024 · 0 comments
Open

Store only block proof for shards in persistent state #414

Rexagon opened this issue Nov 5, 2024 · 0 comments
Labels
C-core Core module C-storage Storage module enhancement New feature or request S-refactor

Comments

@Rexagon
Copy link
Member

Rexagon commented Nov 5, 2024

For now we are using the same code for masterchain and other shards to prepare shard state on cold boot. It requires a full block, its proof and queue diff. For mc block we already have a proof which we received from a getKeyBlocks stuff and we are downloading a block data to have a full config and shard descriptions. But for other shards we only need to check a state_update.new against a downloaded state root.

I made a temp fix (#412) to preserve all persistent blocks for now, but it may slow down the blocks GC.

@Rexagon Rexagon added enhancement New feature or request C-core Core module C-storage Storage module S-refactor labels Nov 5, 2024
@Rexagon Rexagon added this to the Stable Testnet milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-core Core module C-storage Storage module enhancement New feature or request S-refactor
Projects
None yet
Development

No branches or pull requests

1 participant