Motivation
feature_init.py
is a functional test that perturbs various files in the data directory (simulation data corruption), and checks the response during startup.
Recently, this test was improved in #27823, but there were some open suggestions in, in particular #27823 (review), to extend and/or randomize the way files are perturbed.
There is also the possibility that more sophisticated perturbations could potentially uncover other unhandled exceptions/assert crashes like the one fixed in #27823.
Possible solution
No response
Useful Skills
- Python
- Debugging the bitcoin core C++ file parsing code in order to understand why certain perturbation lead to certain errors.
Guidance for new contributors
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.