bitpay / bitcore-node

Extensible full node using Bitcore
https://bitcore.io/
Other
352 stars 644 forks source link

Bitcore Sync is Extremely Slow (Several days block 310,000) on 8GB Dual Core Ubuntu #586

Open ghost opened 5 years ago

ghost commented 5 years ago

Does anyone know how to solve this problem? I know it's a general question -- but it seems extremely slow to sync and I'm not sure where the bottleneck is.

I have even installed and compiled secp256k1-node

I have a fully synced bitcoind node and yet it goes very slow. I see this in the logs:

info: Sync  chain=BCH, network=mainnet, height=316332
info: Sync  chain=BCH, network=mainnet, height=316333
info: Sync  chain=BCH, network=mainnet, height=316334
info: Sync  chain=BCH, network=mainnet, height=316335
info: This worker is no longer syncing node for BCH mainnet
info: Sync  chain=BCH, network=mainnet, height=316336
info: This worker is now the syncing node for BCH mainnet
info: Sync  chain=BCH, network=mainnet, height=316337
info: Sync  chain=BCH, network=mainnet, height=316338
info: Sync  chain=BCH, network=mainnet, height=316339
info: Sync  chain=BCH, network=mainnet, height=316340
info: Sync  chain=BCH, network=mainnet, height=316342
info: Sync  chain=BCH, network=mainnet, height=316343
info: Sync  chain=BCH, network=mainnet, height=316344
info: Sync  chain=BCH, network=mainnet, height=316345
info: Sync  chain=BCH, network=mainnet, height=316346
info: Sync  chain=BCH, network=mainnet, height=316347
info: Sync  chain=BCH, network=mainnet, height=316348
info: This worker is no longer syncing node for BCH mainnet
info: Sync  chain=BCH, network=mainnet, height=316349

Related: https://github.com/bitpay/bitcore-node/issues/522

lfaoro commented 5 years ago

I feel you...

Oct 21 18:49:47 btcnode node[28890]: {"message":"2019-10-21 18:49:47.139 GMT+2 | Syncing... | Chain: BTC | Network: mainnet |    2.92 blocks/min | Height:  414715","level":"info"}
dimsan13 commented 5 years ago

attilaaf did you managed to solve this problem? The same issue, I running bitcore node on Ubuntu 18.04, Core i7 3770 not SSD HDD. I'm at 233000 block height and the current speed is about 20 blocks per minute... should I use SSD HDD, does it speed up the process?