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

electrum history is now very slow now #2540

Closed
zottirik opened this issue Jun 20, 2017 · 23 comments
Closed

electrum history is now very slow now #2540

zottirik opened this issue Jun 20, 2017 · 23 comments

Comments

@zottirik
Copy link

@dabura667 hi,

My wallet size about 10M and electrum history command responds too late.
Actually, I need last 100 transactions only. Can you give any advice?

@ecdsa
Copy link
Member

ecdsa commented Jun 20, 2017

how many addresses are there in your wallet?

@zottirik
Copy link
Author

There are 5200 addresses

@ecdsa
Copy link
Member

ecdsa commented Jun 20, 2017

you should create a new wallet and send your funds there.

@zottirik
Copy link
Author

But I must listen all of my addresses. Can I split my wallet?

@ecdsa
Copy link
Member

ecdsa commented Jun 20, 2017

what is your use case?

@zottirik
Copy link
Author

Continuous payments by customers.

@ecdsa
Copy link
Member

ecdsa commented Jun 20, 2017

is each address reused several times by the customer?

@zottirik
Copy link
Author

Yes, you right

@ecdsa
Copy link
Member

ecdsa commented Jun 21, 2017

you can try to split your wallet, but that will not really solve your issue.
public electrum servers might answer slowly to this type of request, as a DOS protection.

you should probably run a private electrum server if you want to get over that.

@zottirik
Copy link
Author

I think that all addresses are being scanned when the history command is running. Is there any way to save the last 200 tx list when Sync works? So I won't need to call history.

@ecdsa
Copy link
Member

ecdsa commented Jun 21, 2017

you are wrong, this is not related to the history command.
all addresses are updated when you synchronize your wallet

@zottirik
Copy link
Author

How can I split my wallet?

@ecdsa
Copy link
Member

ecdsa commented Jun 22, 2017

export private keys, make smaller wallets out of them

@ecdsa ecdsa closed this as completed Jun 22, 2017
@ecdsa
Copy link
Member

ecdsa commented Jun 23, 2017

note: you can also try to synchronize your wallet with a server that prunes histories.
in the server list, check one of those who have a limit equal to 100

@svenove7
Copy link

svenove7 commented Dec 2, 2019

How do you find a server that only shows latest 100 transactions ? That is exactly what I want I think. After a while electum gets slow and it even takes time for the transactions I send to go to the history tab. In tools/network you can unclick select server automatically but there is no information about the servers so how would I know one has a limit ?

@ecdsa
Copy link
Member

ecdsa commented Dec 2, 2019

@svenove7 there are no more pruning servers. if your wallet file is getting too large, you should move your funds to a new wallet

@SomberNight
Copy link
Member

@svenove7 How big is your wallet (num addresses/transactions)?

@svenove7
Copy link

svenove7 commented Dec 2, 2019

108 transactions now in my history. So then I have to do new wallets all the time if I do lots of transactions ?

@SomberNight
Copy link
Member

108 transactions now in my history.

That is a relatively small number of txns and the application should easily handle that. Modern Electrum becomes really sluggish around 10k transactions, so something else might be going on in your case.

  • What OS are you using?
  • What version of Electrum are you using?
  • Are you running from source or using one of the official binaries? (if binary, which one?)
  • What exactly do you mean by "electrum gets slow"? Does the GUI freeze (become unresponsive)?
  • Could you please upload debug logs? (enable logging, do some tasks that make electrum slow so that they are logged, and then upload those logs for us)

@svenove7
Copy link

svenove7 commented Dec 2, 2019

windows 10.
3.3.8 Installed it.
No electrum gui doesn't get slow but it was slow to add new transactions to the history. It seemed to do a lot more synching than it did before.
Right now the transaction was fast. Maybe it could be something temporarily ?

10k sounds better yes, 100 seems a bit low for a modern program to have problem.

@SomberNight
Copy link
Member

No electrum gui doesn't get slow but it was slow to add new transactions to the history. It seemed to do a lot more synching than it did before.
Right now the transaction was fast. Maybe it could be something temporarily ?

Maybe you happened to connect to a slow server. You can try other servers if this happens.

@svenove7
Copy link

svenove7 commented Dec 2, 2019

I think when I did send funds, then it should be no problem to add it immediatly in the history ?
But I don't know how all work in the bitcoin world. If a new entery is added do electum have to check every transaction before that one again ?
I have select server automatically now as a setting.

@svenove7
Copy link

svenove7 commented Dec 9, 2019

It is working better now. I think the problem was too little RAM available or too little discspace on C:

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

No branches or pull requests

4 participants