Skip to content

Instantly share code, notes, and snippets.

@dexX7
Created February 18, 2019 16:36
Show Gist options
  • Save dexX7/6089728c349111de0c8bd1b0a844449e to your computer and use it in GitHub Desktop.
Save dexX7/6089728c349111de0c8bd1b0a844449e to your computer and use it in GitHub Desktop.
Omni Core consistency check

Before updating to Omni Core v0.4.0, you can manually perform a database consistency check.

If any of the following commands fails to return transaction data or retuns a generic error output, there is a database inconsistency:

omnicore-cli omni_gettransaction b7c66175a99ca0e7b1691905d50a46165adb7a8012d9ec5e1ecf8239f859df6d
omnicore-cli omni_gettransaction a59ac18eda590dfe9f3671f99f3cec5679e95ea4d1478d5313e2b4706307537b
omnicore-cli omni_gettransaction ce56ee84abd20bd1386d66e5ab9e3661a9bfad45a7d46490cae2241bbebf91df
omnicore-cli omni_gettransaction bbdb911227c033697e92d6828d43b15f99bbc24c97147be0aed12dd98f362c28
omnicore-cli omni_gettransaction 69604c02f219136245d309b722816d6f4f77ccead60ded6976219f9a0becceff
omnicore-cli omni_gettransaction 201c38a5b819c870830ddd7583d446f05a12c6b01ec3690e3acf33e49fe8d91f
omnicore-cli omni_gettransaction 7ddac86217f6fc37a11f7de3b8edb78b6f7d10e93cece8f6bf0565ddc95acc76
omnicore-cli omni_gettransaction 22b4ee94c5a31a082e1b8bc77e79a54783262b19f957d6603f16876397546e58
omnicore-cli omni_gettransaction 84fc343c89218faa9f6f31a9ee266837e19d9bc1319737ae66fa2d1fd095d271
omnicore-cli omni_gettransaction f3493671fe79a9dd5af871ac1f9b715db8e895c80584031091c626e43a73d4e0
omnicore-cli omni_gettransaction eda3d2bbb8125397f4d4909ea25d845dc451e8a3206035bf0d736bb3ece5d758
omnicore-cli omni_gettransaction a4abfc7a10a262bec4a9be830fa784cbb712cfa7d19fb28e854c3d7d7ea50719
omnicore-cli omni_gettransaction 6d373615f4938cc9dfacf213ba0f33ec1b63961a61b4869ea69e08c938671367
omnicore-cli omni_gettransaction 17e48d57fe979aa821b30c14edf76b5203f5dc72847ab9350c068870551d6a5d
omnicore-cli omni_gettransaction a67609d7941c8e7dc33fd1e4a286f7407e6139c61bec3247d20f546e0b3c2e7f
omnicore-cli omni_gettransaction 21aa754a425c7748688a57bb409cf6942a3eb7b087b32e29254fae62e5dbbe71
omnicore-cli omni_gettransaction 18e955f7e8aa7efa2f07768c9916967cea1821c197a2d9f815a51358b82a549d
omnicore-cli omni_gettransaction 6ab48c227a3aed94df462ab2628a87b566d9bc985b27fd8d3e86f52794e3d735
omnicore-cli omni_gettransaction 1b9d32711dd896d18b083c1d3d12f2ba661c5cbcdc2122a224ecfb462a58eb92
omnicore-cli omni_gettransaction 1d8af5bfaf69b3cea356501f681c698017b60d1aef3d1dcdb2e72454ae682add
omnicore-cli omni_gettransaction 5b922dad64c5c4241c694401d627d6c0e33033215f1fb375aa21b435fa032fce
omnicore-cli omni_gettransaction e152ffe783d54f7dbf2ab846d3c1904037b26788e48617621e1fdefe151be42a
omnicore-cli omni_gettransaction b01d1594a7e2083ebcd428706045df003f290c4dc7bd6d77c93df9fcca68232f
omnicore-cli omni_gettransaction 189c959a37ecac2045ba3631b87e151e09506e6a492e867bbcc6c89e3bbc91e7
omnicore-cli omni_gettransaction 7244beac4e5165b3386728f2cd4c203dd6144b6676853e5012a87b75135468b0
omnicore-cli omni_gettransaction 8fbd96005aba5671daf8288f89df8026a7ce4782a0bb411937537933956b827b
omnicore-cli omni_gettransaction 64ab528aa6407033ac4925601f132d1ce3bca47ec140d27e7f5a9bad0f37cbc6
omnicore-cli omni_gettransaction 5b81b20508c98a9bda3de68d6b3872f52efd02ebe2cb9b114cfb3a3225f33dd1

If any one of these commands returns an error, Omni Core will reparse all Omni Layer transactions during the next start after updating to v0.4.0.

This is crucial and consensus affecting. In such a case, it is necessary to also refresh overlay systems (e.g. balance caches for user accounts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment