Pending transakce

Návod jak řešit zaseknutou transakci, která svítí jako pending v GUI.

The following assumes you're using a local node

A transaction being stuck on Pending is typically caused by the local daemon being out of sync with the network. To verify that you're fully synced, perform the following steps:

[1] Go to the Settings page of the GUI.

[2] Go to the Log tab.

[3] Type status into the command + enter (e.g. 'help' or 'status') box.

[4] An output will be displayed that looks like:

Height: 1456425/1456425 (100.0%) on mainnet, not mining, net hash 290.20 MH/s, v6, up to date, x(out)+x(in) connections, uptime xd xh xm xs

[5] Now to verify that you're actually fully synced, compare the first number (of Height:) to the height displayed on a blockchain explorer like, for instance, XMRchain. You're fully synced if your height matches the height displayed on a block explorer.

[6] If the GUI is stating that you're fully synced (100.0%), but your height doesn't match the height displayed on a block explorer (and is off by a large number), it is erroneously reporting that you're fully synced. This is, fortunately, easily resolved as follows. First, exit the GUI and make sure to stop the daemon as well. Second, restart the GUI + daemon. Third, use the status command to verify that it's now correctly displaying the top height.


Once you've verified that you're fully synced, we can resolve the issue as follows:

[1] Go to the History page of the GUI and copy your transaction hash / ID.

[2] Use multiple block explorers (for instance, XMRchainMoneroBase, or MoneroBlocks) to confirm that your transaction isn't present in either the mempool or the blockchain.

[3a] If it's present in the mempool, simply wait until it gets mined.

[3b] If it's present in the blockchain (i.e. mined already), but is still stuck on Pending, perform the following steps. First, exit the GUI and make sure to stop the daemon as well. Second, restart the GUI + daemon. Lastly, let it run until it says Connected in the left bottom. This should resolve your issue.

[4] If it's not present in the blockchain, again go to the History page and copy the transaction hash / ID.

[5] Go to the Settings page of the GUI

[6] Click on the Log tab.

[7] Go to the command + enter (e.g. 'help' or 'status') box.

[8] Type status to again verify that you're fully synced.

[9] Type -> relay_tx <txid>

[10] As an example, let's say your transaction hash / ID is 4d0f32b7b1c371f1807f4bd6552362cc5b3d61b68b8f8407bb93193f9b1b0273 (randomly taken from the blockchain), you type -> relay_tx 4d0f32b7b1c371f1807f4bd6552362cc5b3d61b68b8f8407bb93193f9b1b0273

[11] Use one of the blockexplorers to check whether your transaction is in the mempool now (and thus will be mined soon).


If these steps don't work for you, try these:

[1] In the command + enter (e.g. 'help' or 'status') box on the Settings page, type -> flush_txpool

Note that it doesn't return an output.

[2] Exit the GUI.

[3] Browse to the directory your wallet files are located (Documents\Monero\<wallet-name> on Windows | home/<username>/Monero/<wallet-name> on Linux | Users/<username>/Monero/<wallet-name> Mac OS X).

[4] Rename <wallet-name> (the file without extension) to <wallet-name>-old

[5] Restart the GUI. This will trigger a wallet refresh from scratch, which shouldn't take longer than 30 minutes.

You should now be able to send a new transaction. However, it could be that the "old" transaction hash / ID is still on the History page. You can safely ignore this.


The following assumes you're using a remote node

It is quite unlikely that a remote node is out of sync with the network. However, if, for some reason, it is and you used it to send a transaction (which got subsequently stuck on Pending), perform these steps to resolve your issue:

[1] Go to the Settings page and make sure to use a different remote node than the one you were using. A list of remote nodes can be found here:

https://moneroworld.com/#nodes

[2] Exit the GUI.

[3] Browse to the directory your wallet files are located (Documents\Monero\<wallet-name> on Windows | home/<username>/Monero/<wallet-name> on Linux | Users/<username>/Monero/<wallet-name> Mac OS X).

[4] Rename <wallet-name> (the file without extension) to <wallet-name>-old

[5] Restart the GUI. This will trigger a wallet refresh from scratch, which shouldn't take longer than 30 minutes.

You should now be able to send a new transaction. However, it could be that the "old" transaction hash / ID is still on the History page. You can safely ignore this.

Zdroj: dEBRUYNE

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *