Callum Waters
6be0e13823
closes #4469 Improved speed of cleanup by using SignedHeaderAfter instead of TrustedHeader to jump from header to header. Prune() is now called when a new header and validator set are saved and is a function dealt by the database itself ## Commits: * prune headers and vals * modified cleanup and tests * fixes after my own review * implement Prune func * make db ops concurrently safe * use Iterator in SignedHeaderAfter we should iterate from height+1, not from the end! * simplify cleanup Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
db | lite2: prune-headers (#4478) | 5 years ago |
errors.go | lite2: store current validator set (#4472) | 5 years ago |
store.go | lite2: prune-headers (#4478) | 5 years ago |