A module providing blockchain debugging tools.
npm install duniter-debugA module providing blockchain debugging tools.
``bash`
node run.js --mdb dbA reset data
node run.js --mdb dbA sync gtest.duniter.org 10900
node run.js --mdb dbB reset data
node run.js --mdb dbB sync some.other.node 10900
bash compare dbA dbB m_index meld
Explanations:
* first, create a new database dbA from the synchronization of gtest.duniter.org:10900dbB
* second, create a new database from the synchronization of some.other.node:10900m_index
* third, compare the resulting table from these 2 databases with meld software.
Notes:
* you could replace m_index with one of c_index, i_index, s_indexmeld
* you could replace with diff` or whatever comparison program available on your machine