Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

reorg into blocks before minimum history #5558

Merged
merged 1 commit into from
May 5, 2017
Merged

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented May 4, 2017

by using the dynamic earliest_state counter rather than the fixed minimum history size. Also does the same for RPCs and snapshot creation.

Should backport to beta and perhaps stable if memory-based pruning is implemented there.

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels May 4, 2017
@rphmeier rphmeier added this to the Patch milestone May 4, 2017
@rphmeier rphmeier requested a review from arkpar May 4, 2017 15:18
@rphmeier
Copy link
Contributor Author

rphmeier commented May 4, 2017

Although this isn't a problem during import because no pruning will occur until the block is fully enacted, "riding the edge" of the pruned states with RPC calls could lead to spurious failures and perhaps console warnings if the inspected state is pruned in the middle of the call, but will lead to no panics since we bubble up trie/db errors from State.

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels May 5, 2017
@gavofyork gavofyork merged commit 6dd1fe0 into master May 5, 2017
@gavofyork gavofyork deleted the ancient-import branch May 5, 2017 14:01
arkpar added a commit that referenced this pull request May 18, 2017
* Add CHANGELOG.md (#5513)

* Add CHANGELOG.md

* Add some more verbose CHANGELOG information for beta and stable releases

* Add dates to releases

* reorg into blocks before minimum history (#5558)

* v1.6.7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants