blockbook icon indicating copy to clipboard operation
blockbook copied to clipboard

starting order of backend and blockbook services

Open dev-dantealighieri opened this issue 10 months ago • 1 comments

in the tutorial, you are mentioning that we should first run the backend, then after synchronization, run the blockbook service, why is that required?

my machine is good, can i start them at the same time, and let them sync ledger and index database at the same time?

thanks.

dev-dantealighieri avatar Apr 08 '24 12:04 dev-dantealighieri

While it will probably work, there might be an issue with data indexing for the blockbook db and a chance of data corruption. That is the main reason we suggest indexing an already synchronized backend.

vdovhanych avatar Apr 08 '24 13:04 vdovhanych

@vdovhanych after synchronization, they continue to run together, does that mean there can be corruption after installation?

also it would be great if we can run those together, because both of them took significant amount of time

thanks, dante

dev-dantealighieri avatar May 27 '24 06:05 dev-dantealighieri

If they run without any errors, there is no corruption. In general it is faster to sync Blockbook to fully synced backend but it can be done in parallel.

martinboehm avatar May 28 '24 07:05 martinboehm