comit-network / xmr-btc-swap

Bitcoin–Monero Cross-chain Atomic Swap
GNU General Public License v3.0
652 stars 82 forks source link

Waiting for Alice to lock Monero #986

Open adamillver3 opened 2 years ago

adamillver3 commented 2 years ago

So I started a swap and everything went okay til I saw that like 3 btc confirmations have been completed and it was still stuck at: Waiting for Alice to lock Monero And then I accidently exited the powershell then went to logs to see what happend and even though on the shell it didnt say there it showed a line 2022-03-17T13:44:40.826228Z INFO Alice locked Monero txid= I resumed the swap ./swap -j resume --swap-id 1bb2659a-bba0-4afd-b824-01a48c458535 {"fields":{"message":"Waiting for Alice to lock Monero"}} {"fields":{"message":"Connected to Alice at /ip4/51.15.44.142/tcp/9939/p2p/12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy"}}

And its stuck like this theres been over 10+ confirmations still the same I tried canceling or refunding dont work on history its at btc-is-locked now Im afraid that its same case as this guy: https://github.com/comit-network/xmr-btc-swap/issues/688 As somehow xmr is locked and after timeout it will punish me and claim my btc and I will not recieve anything, so what shoud I do now is there anything to do or just wait fir 72blocks and see if it refunds me or punish me.

adamillver3 commented 2 years ago

LOG: 2022-03-17T13:25:02.956346Z DEBUG Creating and using new sqlite database. 2022-03-17T13:25:02.995442Z DEBUG No seed file found, creating at C:\Users\Administrator\AppData\Roaming\xmr-btc-swap\data\cli\mainnet\seed.pem 2022-03-17T13:25:03.371196Z INFO Downloading monero-wallet-rpc (77.96 MiB) from https://downloads.getmonero.org/cli/monero-win-x64-v0.17.2.0.zip 2022-03-17T13:25:10.236685Z DEBUG Starting monero-wallet-rpc port=50116 2022-03-17T13:25:20.595865Z DEBUG Created Monero wallet monero_wallet_name=swap-tool-blockchain-monitoring-wallet 2022-03-17T13:25:21.610411Z DEBUG Network layer initialized peer_id=12D3KooWQcLHyrAh68Nm1KqGENpkhBgxS6gagFV7Gw3srLsdxpcj 2022-03-17T13:25:21.610569Z DEBUG Requesting quote 2022-03-17T13:25:21.693724Z INFO Connected to Alice at /ip4/51.15.44.142/tcp/9939/p2p/12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy 2022-03-17T13:25:21.712257Z INFO Received quote price=0.00474165 BTC minimum_amount=0.00005000 BTC maximum_amount=0.15000000 BTC 2022-03-17T13:25:21.723337Z INFO Waiting for Bitcoin deposit deposit_address=max_giveable=0.00000000 BTC minimum_amount=0.00005000 BTC maximum_amount=0.15000000 BTC 2022-03-17T13:25:57.389472Z INFO Received Bitcoin new_balance=0.001 BTC max_giveable=0.001 BTC 2022-03-17T13:25:57.389750Z INFO Determined swap amount amount=0.0019 BTC fees=0.00000750 BTC 2022-03-17T13:25:57.395086Z DEBUG Advancing state state=quote has been requested 2022-03-17T13:25:57.428272Z DEBUG Estimated fee for transaction weight=548 fee_rate=6.255 sats_per_vbyte=856.9350 2022-03-17T13:25:57.428304Z WARN Estimated fee of 856.9350 is smaller than the min relay fee, defaulting to min relay fee 1000 2022-03-17T13:25:57.461253Z DEBUG Estimated fee for transaction weight=596 fee_rate=6.255 sats_per_vbyte=931.9950 2022-03-17T13:25:57.461280Z WARN Estimated fee of 931.9950 is smaller than the min relay fee, defaulting to min relay fee 1000 2022-03-17T13:25:58.840529Z INFO Starting new swap swap_id=1bb2659a-bba0-4afd-b824-01a48c458535 2022-03-17T13:25:58.842392Z DEBUG Advancing state state=execution setup done 2022-03-17T13:25:58.865975Z INFO Published Bitcoin transaction txid=kind=lock 2022-03-17T13:25:58.871025Z DEBUG Advancing state state=btc is locked 2022-03-17T13:25:58.871174Z INFO Waiting for Alice to lock Monero 2022-03-17T13:26:03.882486Z DEBUG Found relevant Bitcoin transaction txid=status=unseen 2022-03-17T13:27:06.011851Z DEBUG Bitcoin transaction status changed txid=new_status=in mempool old_status=unseen 2022-03-17T13:29:08.194903Z DEBUG Got notification for new block block_height=727752 2022-03-17T13:29:08.213396Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 1 blocks old_status=in mempool 2022-03-17T13:41:31.708541Z DEBUG Got notification for new block block_height=727753 2022-03-17T13:41:31.723276Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 2 blocks old_status=confirmed with 1 blocks 2022-03-17T13:44:40.826228Z INFO Alice locked Monero txid=f487a62a1cb6bc81301e8fb8680397c8917132a28dc6c9b8f7fbffd99536f7cd 2022-03-17T13:52:54.274619Z DEBUG Got notification for new block block_height=727754 2022-03-17T13:52:54.290003Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 3 blocks old_status=confirmed with 2 blocks 2022-03-17T13:53:54.447786Z DEBUG Got notification for new block block_height=727755 2022-03-17T13:53:54.463555Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 4 blocks old_status=confirmed with 3 blocks 2022-03-17T14:20:50.044866Z DEBUG Got notification for new block block_height=727756 2022-03-17T14:20:50.060757Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 5 blocks old_status=confirmed with 4 blocks 2022-03-17T14:22:35.822102Z DEBUG Using existing sqlite database. 2022-03-17T14:22:35.825884Z DEBUG Reading in seed from C:\Users\Administrator\AppData\Roaming\xmr-btc-swap\data\cli\mainnet\seed.pem 2022-03-17T14:22:36.093140Z DEBUG Starting monero-wallet-rpc port=50505 2022-03-17T14:22:42.739063Z DEBUG Opened Monero wallet monero_wallet_name=swap-tool-blockchain-monitoring-wallet 2022-03-17T14:22:43.754910Z DEBUG Network layer initialized peer_id=12D3KooWQcLHyrAh68Nm1KqGENpkhBgxS6gagFV7Gw3srLsdxpcj 2022-03-17T14:22:43.757360Z DEBUG Advancing state state=btc is locked 2022-03-17T14:22:43.757969Z INFO Waiting for Alice to lock Monero 2022-03-17T14:22:43.853739Z INFO Connected to Alice at /ip4/51.15.44.142/tcp/9939/p2p/12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy 2022-03-17T14:22:48.770725Z DEBUG Found relevant Bitcoin transaction txid=status=unseen 2022-03-17T14:23:40.959742Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 5 blocks old_status=unseen 2022-03-17T14:31:32.114274Z DEBUG Using existing sqlite database. 2022-03-17T14:31:32.122690Z DEBUG Reading in seed from C:\Users\Administrator\AppData\Roaming\xmr-btc-swap\data\cli\mainnet\seed.pem 2022-03-17T14:47:28.759561Z DEBUG Got notification for new block block_height=727757 2022-03-17T14:47:28.774620Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 6 blocks old_status=confirmed with 5 blocks 2022-03-17T14:54:42.022447Z DEBUG Got notification for new block block_height=727758 2022-03-17T14:54:42.037907Z DEBUG Bitcoin transaction status changed txid=new_status=confirmed with 7 blocks old_status=confirmed with 6 blocks {"timestamp":"2022-03-17T14:56:26.519207Z","level":"DEBUG","fields":{"message":"Using existing sqlite database."}} {"timestamp":"2022-03-17T14:56:26.525552Z","level":"DEBUG","fields":{"message":"Reading in seed from C:\\Users\\Administrator\\AppData\\Roaming\\xmr-btc-swap\\data\\cli\\mainnet\\seed.pem"}} {"timestamp":"2022-03-17T14:56:26.743891Z","level":"DEBUG","fields":{"message":"Starting monero-wallet-rpc","port":"50935"}} {"timestamp":"2022-03-17T14:56:34.156153Z","level":"DEBUG","fields":{"message":"Opened Monero wallet","monero_wallet_name":"swap-tool-blockchain-monitoring-wallet"}} {"timestamp":"2022-03-17T14:56:35.225296Z","level":"DEBUG","fields":{"message":"Network layer initialized","peer_id":"12D3KooWQcLHyrAh68Nm1KqGENpkhBgxS6gagFV7Gw3srLsdxpcj"}} {"timestamp":"2022-03-17T14:56:35.230000Z","level":"DEBUG","fields":{"message":"Advancing state","state":"btc is locked"}} {"timestamp":"2022-03-17T14:56:35.230298Z","level":"INFO","fields":{"message":"Waiting for Alice to lock Monero"}} {"timestamp":"2022-03-17T14:56:35.308696Z","level":"INFO","fields":{"message":"Connected to Alice at /ip4/51.15.44.142/tcp/9939/p2p/12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy"}} {"timestamp":"2022-03-17T14:56:40.233392Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"","status":"unseen"}} 2022-03-17T14:57:41.218110Z DEBUG Using existing sqlite database. 2022-03-17T14:57:41.224598Z DEBUG Reading in seed from C:\Users\Administrator\AppData\Roaming\xmr-btc-swap\data\cli\mainnet\seed.pem 2022-03-17T14:57:41.452202Z INFO Manually cancelling swap swap_id=1bb2659a-bba0-4afd-b824-01a48c458535 2022-03-17T14:59:31.827257Z DEBUG Using existing sqlite database. 2022-03-17T14:59:31.833281Z DEBUG Reading in seed from C:\Users\Administrator\AppData\Roaming\xmr-btc-swap\data\cli\mainnet\seed.pem 2022-03-17T14:59:32.122631Z INFO Manually cancelling swap swap_id=1bb2659a-bba0-4afd-b824-01a48c458535 {"timestamp":"2022-03-17T14:59:38.280533Z","level":"DEBUG","fields":{"message":"Using existing sqlite database."}} {"timestamp":"2022-03-17T14:59:38.286725Z","level":"DEBUG","fields":{"message":"Reading in seed from C:\\Users\\Administrator\\AppData\\Roaming\\xmr-btc-swap\\data\\cli\\mainnet\\seed.pem"}} {"timestamp":"2022-03-17T14:59:38.509917Z","level":"DEBUG","fields":{"message":"Starting monero-wallet-rpc","port":"50961"}} {"timestamp":"2022-03-17T14:59:45.690052Z","level":"DEBUG","fields":{"message":"Opened Monero wallet","monero_wallet_name":"swap-tool-blockchain-monitoring-wallet"}} {"timestamp":"2022-03-17T14:59:52.036383Z","level":"DEBUG","fields":{"message":"Network layer initialized","peer_id":"12D3KooWQcLHyrAh68Nm1KqGENpkhBgxS6gagFV7Gw3srLsdxpcj"}} {"timestamp":"2022-03-17T14:59:52.037297Z","level":"DEBUG","fields":{"message":"Advancing state","state":"btc is locked"}} {"timestamp":"2022-03-17T14:59:52.038009Z","level":"INFO","fields":{"message":"Waiting for Alice to lock Monero"}} {"timestamp":"2022-03-17T14:59:52.119113Z","level":"INFO","fields":{"message":"Connected to Alice at /ip4/51.15.44.142/tcp/9939/p2p/12D3KooWAPci3x4GuWDi9P86efnR1q9a7phKnPwnwQcRNMW2HDUy"}} {"timestamp":"2022-03-17T14:59:57.051033Z","level":"DEBUG","fields":{"message":"Found relevant Bitcoin transaction","txid":"","status":"unseen"}} {"timestamp":"2022-03-17T15:00:44.196137Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 7 blocks","old_status":"unseen"}} {"timestamp":"2022-03-17T15:05:52.673614Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":727759}} {"timestamp":"2022-03-17T15:05:52.689841Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 8 blocks","old_status":"confirmed with 7 blocks"}} {"timestamp":"2022-03-17T15:13:05.588709Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":727760}} {"timestamp":"2022-03-17T15:13:05.604550Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 9 blocks","old_status":"confirmed with 8 blocks"}} {"timestamp":"2022-03-17T15:27:33.993925Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":727761}} {"timestamp":"2022-03-17T15:27:34.008386Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 10 blocks","old_status":"confirmed with 9 blocks"}} {"timestamp":"2022-03-17T15:30:38.487873Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":727762}} {"timestamp":"2022-03-17T15:30:38.502309Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 11 blocks","old_status":"confirmed with 10 blocks"}} {"timestamp":"2022-03-17T15:37:51.619379Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":727763}} {"timestamp":"2022-03-17T15:37:51.634004Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 12 blocks","old_status":"confirmed with 11 blocks"}} {"timestamp":"2022-03-17T15:38:51.744704Z","level":"DEBUG","fields":{"message":"Got notification for new block","block_height":727764}} {"timestamp":"2022-03-17T15:38:51.759426Z","level":"DEBUG","fields":{"message":"Bitcoin transaction status changed","txid":"","new_status":"confirmed with 13 blocks","old_status":"confirmed with 12 blocks"}}

delta1 commented 2 years ago

Hey have you tried

./swap withdraw-btc --address <your address that you want to deposit to>

delta1 commented 2 years ago

Please also see here

https://sethforprivacy.com/guides/bitcoin-monero-atomic-swaps/#what-to-do-if-the-swap-fails