This PR refactors the miner module to make the code more readable. Helper functions are extracted and kept in a separate module called utilities. Corresponding unit and integration tests are added, as well as the system test of the whole package.
To review this PR, one can pay attention to the following:
If the code can be improved on coding style, quality, architecture, etc.
This PR refactors the
miner
module to make the code more readable. Helper functions are extracted and kept in a separate module calledutilities
. Corresponding unit and integration tests are added, as well as the system test of the whole package.To review this PR, one can pay attention to the following: