Before you test your Mesh API implementation, we recommend that you disable balance tracking and reconciliation. Balance tracking checks that the balance for an address does not go below zero. Reconciliation ensures that the balance that you calculated matches the balance returned by the /account/balance
endpoint.
Reminder: After you have completed testing your Mesh API implementation, you need to enable these complex checks again! Your Mesh API implementation is complete when these complex checks pass the mesh-cli
tool testing.
You can manage balance tracking with the balance_tracking_disabled
field. To manage reconciliation, edit the value of the reconciliation_disabled
field. These fields are part of the data
object of the Mesh API configuration file.
To disable and enable balance tracking and reconciliation, perform the following steps:
config
file). Set the values for the reconciliation_disabled
and balance_tracking_disabled
fields to true
.check:data
and check:construction
tests with the mesh-cli
tool. (Read our How to Test your Mesh API Implementation documentation.)reconciliation_disabled
and balance_tracking_disabled
fields to false
.check:data
and check:construction
tests again.Your Mesh API implementation is now complete.