VeriBlock / vbk-ri-btc

Bitcoin Core integration/staging tree
https://bitcoincore.org/en/download
Other
4 stars 6 forks source link

APM marked as ready while vBitcoin still syncing #181

Closed Leonardiae closed 4 years ago

Leonardiae commented 4 years ago

vBitcoin syncing takes are while at the moment. If you start an APM (for example with running operations) the miner is marked as ready despite being connected to a vBitcoin node which is not done syncing.

2020-06-12 09:03:01.265+0200 INFO [event-listener] o.v.m.p.s.AltchainPoPMiner [AltchainPopMinerService.kt:107] Miner is ready!

After this the APM starts trying to connect to vBitcoin to update the status of the running operations which then runs into errors because no connection can be made yet.

BernatCarbo commented 4 years ago

Solved with https://github.com/VeriBlock/nodecore/commit/682c6eb08c201a03ea786c35ba119f5d0343c5c7

Leonardiae commented 4 years ago

Thanks!