Skip to content

Extend feature_init.py file perturbations #28603

@mzumsande

Description

@mzumsande

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 (comment), 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions