stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 664 forks source link

Full chainstate replay with binary. #4988

Open saralab opened 1 month ago

saralab commented 1 month ago
### Tasks
- [ ] Parallel Replay test with latest develop: This can be kicked off now
- [ ] Full genesis boot with RC
- [ ] Parallel Replay test with RC
- [ ] Paraellel Replay test with final Release
- [ ] Full genesis boot with final Release
wileyj commented 1 month ago

running 10 jobs from a 2 day old chainstate, started at 1340 EST. still working on it, but this is what i'm using: https://gist.github.com/wileyj/e84eb1e9bb0784f941483c50570587f0

wileyj commented 1 month ago

with 10 slices replaying 17205 blocks per slice, the total time was just short of 11 hours. will continue polishing the linked script i used in gist, this can be automated to a degree i think. have to consider how to collect any issues though

wileyj commented 1 month ago

for me: if a replay slice fails, it will panic with a non-zero exit code that should be handled.