-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 fails with high-volume addresses, making my funds unspendable #6681
Comments
see #4315 In particular, see #4315 (comment) In case you don't run your own server, try However, this is just a temporary workaround so that your existing coins are not stuck: I suggest you start giving out a new address from now on for new incoming txns. The current protocol is very inefficient for heavily reused addresses, so there is a max tx limit per address that is enforced as a DDOS-protection for servers. The default limit is around 10k txns for a given address btw. |
Thank you, I edited the |
May I ask why you reuse addresses so many times? Is this a static donation address on a webpage? |
It's a hot address for processing payments, which receives funds from a cold wallet. Our cold computer only allows administration staff to sign a transaction within certain sizes and times to specified hot wallet addresses, and not anywhere else. Also, I wanted to keep the setup as simple as possible, ie defending a singular private key, with a seperate server monitoring the address for anything suspicious. However, we're actually in the process of deprecating our hot wallets altogether and moving all customers to non-custodial browser generated wallets with unique mnemonics. The Electrum codebase has been really inspirational in demonstrating how to crawl XPUBs and then synchronise addresses by subscribing the script hashes with ElectrumX. If you're interested, I actually wrote a walkthrough of our Bitcoin trading process demonstrated entirely with Electrum in Python: |
I see.
Very cool! Thanks for showing it. Some of the stuff you are doing in that example is a bit low level; I think there are easier ways of doing it :) See an example for constructing a tx that spends an OP_CLTV input in the unit tests: electrum/electrum/tests/test_transaction.py Line 885 in 8e9d6a4
|
I have a number of addresses with a large transaction history, for example
12o8XbGRjszE8YhLkMtV8Mb5aVA2MJDn9s
Electrum refuses to load keys for my addresses into the wallet, failing with a
history too large
message.Some of my addresses have significant stuck funds, which I seem unable to retrieve using my Electrum wallet.
What can I do to resolve this and recover my funds? Electrum is the only wallet I trust, I don't want to look for another wallet if possible.
The text was updated successfully, but these errors were encountered: