VeriBlock / vbk-ri-btc

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

When creating multiple operations in a row APM can't keep up #373

Closed Leonardiae closed 3 years ago

Leonardiae commented 4 years ago

When I create several operations in a row to endorse a vBitcoin block only 1 in ~4 is added as a transaction:

2020-11-05 12:20:08 nioEventLo INFO AltchainPoPMiner - Created operation [vbtc64611f5f] on chain vBitcoin 2020-11-05 12:20:08 pop-tasks- INFO ApmTaskService - [vbtc64611f5f] Getting the mining instruction... 2020-11-05 12:20:08 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:08 pop-tasks- INFO ApmTaskService - [vbtc64611f5f] Successfully retrieved the mining instruction! 2020-11-05 12:20:08 pop-tasks- INFO ApmTaskService - [vbtc64611f5f] Submitting endorsement VBK transaction... 2020-11-05 12:20:10 nioEventLo INFO AltchainPoPMiner - Created operation [vbtc05a22da9] on chain vBitcoin 2020-11-05 12:20:10 pop-tasks- INFO ApmTaskService - [vbtc05a22da9] Getting the mining instruction... 2020-11-05 12:20:10 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:10 pop-tasks- INFO ApmTaskService - [vbtc05a22da9] Successfully retrieved the mining instruction! 2020-11-05 12:20:10 pop-tasks- INFO ApmTaskService - [vbtc05a22da9] Submitting endorsement VBK transaction... 2020-11-05 12:20:11 nioEventLo INFO AltchainPoPMiner - Created operation [vbtc1587939e] on chain vBitcoin 2020-11-05 12:20:11 pop-tasks- INFO ApmTaskService - [vbtc1587939e] Getting the mining instruction... 2020-11-05 12:20:11 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:11 pop-tasks- INFO ApmTaskService - [vbtc1587939e] Successfully retrieved the mining instruction! 2020-11-05 12:20:11 pop-tasks- INFO ApmTaskService - [vbtc1587939e] Submitting endorsement VBK transaction... 2020-11-05 12:20:12 pop-tasks- INFO ApmTaskService - [vbtc04757804] Successfully added the VBK transaction: 1E1289011EB84C7B0A6BE4CF462B21D660E86BB728BC547E95A184AD7BB57242! 2020-11-05 12:20:12 pop-tasks- INFO ApmTaskService - [vbtc04757804] Waiting for the transaction to be included in VeriBlock block... 2020-11-05 12:20:12 pop-tasks- INFO ApmTaskService - [vbtcd0558463] Getting the mining instruction... 2020-11-05 12:20:12 nioEventLo INFO AltchainPoPMiner - Created operation [vbtcd0558463] on chain vBitcoin 2020-11-05 12:20:12 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:12 pop-tasks- INFO ApmTaskService - [vbtcd0558463] Successfully retrieved the mining instruction! 2020-11-05 12:20:12 pop-tasks- INFO ApmTaskService - [vbtcd0558463] Submitting endorsement VBK transaction... 2020-11-05 12:20:14 nioEventLo INFO AltchainPoPMiner - Created operation [vbtc82c03872] on chain vBitcoin 2020-11-05 12:20:14 pop-tasks- INFO ApmTaskService - [vbtc82c03872] Getting the mining instruction... 2020-11-05 12:20:14 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:14 pop-tasks- INFO ApmTaskService - [vbtc82c03872] Successfully retrieved the mining instruction! 2020-11-05 12:20:14 pop-tasks- INFO ApmTaskService - [vbtc82c03872] Submitting endorsement VBK transaction... 2020-11-05 12:20:15 nioEventLo INFO AltchainPoPMiner - Created operation [vbtca81b389b] on chain vBitcoin 2020-11-05 12:20:15 pop-tasks- INFO ApmTaskService - [vbtca81b389b] Getting the mining instruction... 2020-11-05 12:20:15 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:15 pop-tasks- INFO ApmTaskService - [vbtca81b389b] Successfully retrieved the mining instruction! 2020-11-05 12:20:15 pop-tasks- INFO ApmTaskService - [vbtca81b389b] Submitting endorsement VBK transaction... 2020-11-05 12:20:16 nioEventLo INFO AltchainPoPMiner - Created operation [vbtcfbbbe964] on chain vBitcoin 2020-11-05 12:20:16 pop-tasks- INFO ApmTaskService - [vbtcfbbbe964] Getting the mining instruction... 2020-11-05 12:20:16 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:16 pop-tasks- INFO ApmTaskService - [vbtcfbbbe964] Successfully retrieved the mining instruction! 2020-11-05 12:20:16 pop-tasks- INFO ApmTaskService - [vbtcfbbbe964] Submitting endorsement VBK transaction... 2020-11-05 12:20:17 pop-tasks- INFO ApmTaskService - [vbtc0c69a10f] Successfully added the VBK transaction: 79FE9DEECD650FD0103FE31D77984C7BC4AB159045951F38E492CF7112C2C049! 2020-11-05 12:20:17 pop-tasks- INFO ApmTaskService - [vbtc0c69a10f] Waiting for the transaction to be included in VeriBlock block... 2020-11-05 12:20:17 nioEventLo INFO AltchainPoPMiner - Created operation [vbtc8ba03384] on chain vBitcoin 2020-11-05 12:20:17 pop-tasks- INFO ApmTaskService - [vbtc8ba03384] Getting the mining instruction... 2020-11-05 12:20:17 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:17 pop-tasks- INFO ApmTaskService - [vbtc8ba03384] Successfully retrieved the mining instruction! 2020-11-05 12:20:17 pop-tasks- INFO ApmTaskService - [vbtc8ba03384] Submitting endorsement VBK transaction... 2020-11-05 12:20:19 nioEventLo INFO AltchainPoPMiner - Created operation [vbtc06fd2a3a] on chain vBitcoin 2020-11-05 12:20:19 pop-tasks- INFO ApmTaskService - [vbtc06fd2a3a] Getting the mining instruction... 2020-11-05 12:20:19 pop-tasks- INFO BitcoinFamilyChain - Retrieving mining instruction at height 7611 from vBitcoin daemon at http://localhost:18332... 2020-11-05 12:20:19 pop-tasks- INFO ApmTaskService - [vbtc06fd2a3a] Successfully retrieved the mining instruction! 2020-11-05 12:20:19 pop-tasks- INFO ApmTaskService - [vbtc06fd2a3a] Submitting endorsement VBK transaction... 2020-11-05 12:20:19 pop-tasks- WARN MiningOperation - [vbtc1ff2d265] Failed: Could not create endorsement VBK transaction: Timed out waiting for 90000 ms

Leonardiae commented 4 years ago

The transaction id's visible in the log above can't be found on the explorer and tasks stay at confirm_endorsement_transaction (in this case) btw

Warchant commented 4 years ago

Should be fixed after https://github.com/VeriBlock/nodecore/pull/223