MetacoSA / QBitNinja

An Open Source and powerful blockchain API
MIT License
68 stars 42 forks source link

How to speedup indexing? #65

Closed Jimmy987 closed 6 years ago

Jimmy987 commented 6 years ago

"You can run this command line on several machine concurrently to speedup indexing. Take a very good VM for the indexing. You can scale down once everything is synched."

I have a singer machine for the indexing normally, it's too slow that it take a week, like in the following picture. 20180708122245

I read the document that find a method to speedup indexing, but I confuse with this step, May I get more detail about it? Thanks in advance!

NicolasDorier commented 6 years ago

You just need to wait. It takes time. (Might take one week) If you want, run the same script with the same config file on another machine to spread the load.

Jimmy987 commented 6 years ago

"run the same script with the same config file on another machine"

Do I need to setup a fully sync bitcoin node again on another machine?

NicolasDorier commented 6 years ago

@Jimmy987 yeah, that's why I don't advise QBitNinja these days. It is way painful to get up running. NBXplorer is 99% of time enough and does not require a full indexing. (it is not full block explorer though, it only index xpubs you want to use)

Jimmy987 commented 6 years ago

OK, Thanks very much! We use QBitNinja now. It'll take a lot time to change NBXplorer, and NBXplorer don't support m-n or P2SH now. so only a way to make it running normally.

NicolasDorier commented 6 years ago

NBXplorer don't support m-n or P2SH

It does support it.