VeriBlock / vbk-ri-btc

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

No console logging when vBitcoin transaction confirmed #200

Closed Leonardiae closed 4 years ago

Leonardiae commented 4 years ago

After submitting a tx to vBitcoin the next step is waiting for the transaction to confirm. But no message is shown when the tx is confirmed in a block. Only after 10 confirmations do I see the result. In the mean time I don't know if the transaction is still in the mempool, failed for some reason or already confirmed.

Is it possible to add logging of the vBitcoin transaction status to the console and operation workflow?

2020-06-16 07:20:54 pop-tasks- INFO  ApmTaskService            - [vbtc2413b003] VTB submitted to vBitcoin! vBitcoin PoP TxId: b245a383934bb94898772a1e9916ff8cfc06b4b4f5d4a41e76be86745fc3d861
2020-06-16 07:20:54 pop-tasks- INFO  ApmTaskService            - [vbtc2413b003] Waiting for vBitcoin PoP Transaction (b245a383934bb94898772a1e9916ff8cfc06b4b4f5d4a41e76be86745fc3d861) to be confirmed...
2020-06-16 08:45:45 pop-tasks- INFO  ApmTaskService            - [vbtc2413b003] Successfully confirmed vBitcoin PoP transaction b245a383934bb94898772a1e9916ff8cfc06b4b4f5d4a41e76be86745fc3d861! Confirmations: 10
BernatCarbo commented 4 years ago

Solved at https://github.com/VeriBlock/nodecore/commit/e4c195b98d5d69dcf48de6d2260fc1e1f70465e1