Automatic Balance Mismatch Debugging
This release introduces "automatic" debugging of inactive reconciler errors (when an account balance changes without a corresponding operation) #26.
Before this release, the rosetta-cli
would print out that there was a balance discrepancy but did not print out the block that was missing the balance-changing operation. To debug the error, one would need to create an interesting-accounts.json
file and run check
with the --interesting-accounts=./interesting-accounts.json
option. Now, all of this happens automatically and the rosetta-cli
prints out the block that is missing a balance-changing operation.
Other Improvements
- Running the
check
command now exits with a 0 status if there were no errors and a non-zero status if something went wrong (#25). This means it is now possible to use therosetta-cli
in integration tests (issue #20 has more detail on this). - Allow for configuring
active
vsinactive
reconciler threads independently. PR #23 has more detail on why this is useful.