Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monero-wallet-cli frozen after confirming transfer command #3813

Closed
vertangelx opened this issue May 16, 2018 · 10 comments
Closed

monero-wallet-cli frozen after confirming transfer command #3813

vertangelx opened this issue May 16, 2018 · 10 comments
Labels

Comments

@vertangelx
Copy link

Tried to use monero-wallet-cli(Monero 'Lithium Luna' (v0.12.0.0-master-release)
) on my Ubuntu system to send some XMR out of my wallet.

However after confirming that no payment id is included, it just freezes there.

[wallet 46yPyn]: transfer unimportant 47SQNwzYsD5Pfry6CtpNcFfwWp3u5hNQ9PhrYkVx8WRHToS81ifwgNuLdudTUWorQH6R5aozAPqXXXXXXXXXXXXXXXXXXXX 0.013
Wallet password:
No payment id is included with this transaction. Is this okay?  (Y/Yes/N/No): y

Is something wrong?

@moneromooo-monero
Copy link
Collaborator

Probably a timeout with a slow RPC. Try with #3815

@athenawisdoms
Copy link

@moneromooo-monero I am experiencing the same slowness when doing a transfer from both monero-wallet-cli and monero-wallet-rpc.

Do you mind elaborating on how we can make use of issue #3815 to solve the slowness/timeout?

Thank you so much

@moneromooo-monero
Copy link
Collaborator

You just apply the commit in that PR.

git fetch origin pull/3815/head:PR3815
git cherry-pick PR3815

That will apply the commit to your current branch. You may want to switch branches to a temporary one first if you're on master.

@athenawisdoms
Copy link

athenawisdoms commented May 21, 2018

@moneromooo-monero Tried your instructions and re-compiled the binaries after applying the new PR3815 commits to a new branch.

Now when I try to send some funds transfer unimportant xxx 0.1 yyy this time with payment ID, it prompts for wallet password, then nothing happens for over a minute, then it says

There is currently a 1 block backlog at that fee level. Is this okay? (Y/Yes/N/No): y

Is it supposed to freeze for so long?

@moneromooo-monero
Copy link
Collaborator

moneromooo-monero commented May 21, 2018

Yes in the general case. It'll be fixed later.
There's a cache for the common case, which you're apparently not hitting though.
What is "segregation_height" set to when you type "set" in monero-wallet-cli ?

@moneromooo-monero
Copy link
Collaborator

Also, I updated 3815 to add another case, make sure you're running the current one.

@athenawisdoms
Copy link

segregation_height = 0

Tried sending again today (without your new update to PR3815) and it appears faster. Not sure what was the difference compared to the slow one yesterday when using PR3815 fix.

@moneromooo-monero
Copy link
Collaborator

I've now fixed it, but it requires a db change, so that's not going to be in 0.12.1.0. It'll be instant when it's in.

0 is the expected height, and it should then hit the cache. I don't see why it'd be slow then.

@moneromooo-monero
Copy link
Collaborator

The cache is now in 0.12.2.0, it should be fast unless you override segregation height. If you still get slowness with the default, please reopen.

+resolved

@blankclemens
Copy link

On Windows 10, using 0.12.2.0 I experience the same: The moment I answer the payment id question (with Y), the cli freezes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants