NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 440 forks source link

siad loading transaction pool #3187

Closed snehap007 closed 6 years ago

snehap007 commented 6 years ago

Hello, I launched sia daemon using siad. its connect successfully but when I call consensus API always getting synced: false. I searched on this all search results saying that to get synced: true you have to download its full blockchain. I downloaded consensus.db file from https://consensus.siahub.info/ and paste this file in consensus folder and trying to launch SIA daemon its taking too much time to load transaction pool like in below image siadresult I am not getting why this is taking lots of time please help me on this.

lukechampine commented 6 years ago

"download the blockchain" doesn't mean you have to download a specific file from a site. If you just wait, siad will download the blockchain from your peers automatically. Downloading consensus.db directly is just faster.

When you downloaded consensus.db, you got a copy of the blockchain. But the other siad "modules" (transaction pool, wallet, renter, etc.) still need to process that blockchain. So your first load will take a while because the modules are processing 100k blocks all at once.

After it finishes loading the first time, subsequent loads will be much faster.

snehap007 commented 6 years ago

@lukechampine thanks for replying.