Closed MartinSolie closed 5 years ago
hmm, I'm not really sure what could be the problem, maybe since the v5 version of bitcoin-lib doesn't support big blocks or something. I recommend moving to bitcore-v8. It natively supports BCH and is currently supported and maintained by Bitpay. Give it and see if it fixes the problem.
Thanks. bitcore-v8 synced up to the end.
谢谢。bitcore-v8同步到最后。
I also encountered the same problem, how to upgrade bch v5 to v8,
You can change Peer.MAX_RECEIVE_BUFFER the value. https://github.com/osagga/bitcore-p2p/blob/a87c075ec2d19a7758acd3dec9e3b18b499f2f8f/lib/peer.js#L111 Peer.MAX_RECEIVE_BUFFER =1000000000000000000000
Bitcore was working OK till the 1st of September. It synced block 545957, but cannot sync block 545958. It downloads headers, so it knows the latest block, but cannot download the block. Bitcore-node-cash is running version from 28348ea commit. Bitcore node is connected to the local official bitcoin-abc node (Bitcoin ABC:0.17.2(EB32.0)). I've tried to connect to other open bitcoin-abc nodes, but results are all the same.
Bitcore logs:
Bitcoin-abc debug.log:
Looks, like bitcore drops connection itself, when bitcoin-abc node tries to send 10 Mb block (and actually 545958 block is the first ever to be larger than 8 Mb, as I understood).
May be something is incorrect with setup ?