comit-network / xmr-btc-swap

Bitcoin–Monero Cross-chain Atomic Swap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monero stagenet is so slow that you cannot test the software

StackOverflowExcept1on opened this issue · comments

Describe the bug
I had to wait about 7 hours to get 10 confirmations in Monero stagenet

Lost/trapped Funds
No

Debug logs

2024-03-16T20:43:00.451218407Z  INFO Alice locked Monero txid=380acfbad4d22bf773be5bcfe15cf9a39264d98eb6727902de150edf9b0eef60
2024-03-16T20:43:00.459162679Z DEBUG Advancing state state=XMR lock transaction transfer proof received
2024-03-16T20:43:00.460788579Z  INFO Waiting for Monero transaction finality txid=380acfbad4d22bf773be5bcfe15cf9a39264d98eb6727902de150edf9b0eef60 target_confirmations=10
2024-03-16T20:43:01.857835486Z  INFO Received new confirmation for Monero lock tx txid=380acfbad4d22bf773be5bcfe15cf9a39264d98eb6727902de150edf9b0eef60 seen_confirmations=1 needed_confirmations=10
2024-03-16T20:56:31.959408635Z DEBUG Got notification for new block block_height=2582270
2024-03-16T20:56:32.271844117Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 3 blocks old_status=confirmed with 2 blocks
2024-03-16T21:12:15.19985723Z DEBUG Got notification for new block block_height=2582271
2024-03-16T21:12:15.405364178Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 4 blocks old_status=confirmed with 3 blocks
2024-03-16T21:19:34.207114836Z DEBUG Got notification for new block block_height=2582272
2024-03-16T21:19:34.41228526Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 5 blocks old_status=confirmed with 4 blocks
2024-03-16T21:23:43.661088091Z DEBUG Got notification for new block block_height=2582273
2024-03-16T21:23:43.866315824Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 6 blocks old_status=confirmed with 5 blocks
2024-03-16T21:43:39.095179373Z DEBUG Got notification for new block block_height=2582274
2024-03-16T21:43:39.300493917Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 7 blocks old_status=confirmed with 6 blocks
2024-03-16T21:45:42.486124521Z DEBUG Got notification for new block block_height=2582275
2024-03-16T21:45:42.691019167Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 8 blocks old_status=confirmed with 7 blocks
2024-03-16T21:48:13.218575319Z  INFO Received new confirmation for Monero lock tx txid=380acfbad4d22bf773be5bcfe15cf9a39264d98eb6727902de150edf9b0eef60 seen_confirmations=2 needed_confirmations=10
2024-03-16T21:50:13.435748922Z  INFO Received new confirmation for Monero lock tx txid=380acfbad4d22bf773be5bcfe15cf9a39264d98eb6727902de150edf9b0eef60 seen_confirmations=3 needed_confirmations=10
2024-03-16T21:50:55.111392477Z DEBUG Got notification for new block block_height=2582276
2024-03-16T21:50:55.305821276Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 9 blocks old_status=confirmed with 8 blocks
2024-03-16T22:09:49.301224021Z DEBUG Got notification for new block block_height=2582277
2024-03-16T22:09:49.506175667Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 10 blocks old_status=confirmed with 9 blocks
2024-03-16T22:19:14.329189366Z DEBUG Got notification for new block block_height=2582278
2024-03-16T22:19:14.534541776Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 11 blocks old_status=confirmed with 10 blocks
2024-03-16T22:26:33.098640028Z DEBUG Got notification for new block block_height=2582279
2024-03-16T22:26:33.307269057Z DEBUG Bitcoin transaction status changed txid=af7f2ef034493c5f6a7ebc4926cda719f960cb28f22bfb8963d40d94fd69166d new_status=confirmed with 12 blocks old_status=confirmed with 11 blocks
2024-03-16T22:26:33.316286617Z DEBUG Advancing state state=cancel timelock is expired
2024-03-16T22:26:36.080222042Z DEBUG Advancing state state=btc is cancelled
2024-03-16T22:26:36.276541726Z  INFO Published Bitcoin transaction txid=7ed602434ed46090b0f7d4152277cddf763c79d6febf294884fd21491b91ed68 kind=refund
2024-03-16T22:26:36.685800962Z DEBUG Found relevant Bitcoin transaction txid=7ed602434ed46090b0f7d4152277cddf763c79d6febf294884fd21491b91ed68 status=unseen

Platform (please complete the following information):

  • CLI and ASB
  • Software Version 0.12.3
  • Operating System: Ubuntu

I'm also seeing some long gaps between blocks on stagenet. There's not really much to be done about it, if there was a big hashrate dropoff then eventually the difficulty will lower enough to bring blocks back to average time.

I'm going to close this. Nothing we can do about it.