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

Clear storage from old blocks and state diffs #1023

Closed
ilblackdragon opened this issue Jun 23, 2019 · 2 comments
Closed

Clear storage from old blocks and state diffs #1023

ilblackdragon opened this issue Jun 23, 2019 · 2 comments
Assignees
Labels
A-chain Area: Chain, client & related P-high Priority: High

Comments

@ilblackdragon
Copy link
Member

ilblackdragon commented Jun 23, 2019

Requires state sync.

After some number of epochs in the past, we can be sure that blocks, transactions and state diffs are not needed any more (some multiplier of the block_fetch_horizon from #1007).

Add a flag --archive if the node runner actually wants to keep the data.

@ilblackdragon ilblackdragon added this to the TestNet 2.1 milestone Jun 30, 2019
@ilblackdragon ilblackdragon removed this from the TestNet 2.1 milestone Aug 29, 2019
@ilblackdragon ilblackdragon added the P-high Priority: High label Nov 5, 2019
@ilblackdragon ilblackdragon added this to the MainNet milestone Nov 22, 2019
@ilblackdragon ilblackdragon added the A-chain Area: Chain, client & related label Nov 29, 2019
@SkidanovAlex
Copy link
Collaborator

Partial duplicate of #1648

@MaksymZavershynskyi MaksymZavershynskyi removed this from the MainNet milestone Mar 21, 2020
@Kouprin
Copy link
Member

Kouprin commented Mar 31, 2020

Resolved in #2084

@Kouprin Kouprin closed this as completed Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-chain Area: Chain, client & related P-high Priority: High
Projects
None yet
Development

No branches or pull requests

4 participants