electrum icon indicating copy to clipboard operation
electrum copied to clipboard

is_synchronized return false for large wallets

Open bsbits opened this issue 9 years ago • 7 comments

Hello,

I have a wallet with 100K addresses.

I use electrum on linux via command line, I start the deamon and load the wallet.

whenever I check that specific wallet, it says the wallet is not synchronized.

bsbits avatar Jul 19 '17 17:07 bsbits

that's normal. Electrum servers have anti DOS protection, they will not let you request 100K addresses.

ecdsa avatar Jul 19 '17 17:07 ecdsa

What is the solution for my case then ?

What is the max amount of addresses electrum servers support ?

bsbits avatar Jul 19 '17 17:07 bsbits

That depends on the server.

bauerj avatar Jul 19 '17 17:07 bauerj

what is the use case? how did you create the wallet? the solutions are either to run your own private electrum server, or to create a smaller wallet. you could also bribe a server operator so that they whitelist you.

ecdsa avatar Jul 19 '17 18:07 ecdsa

The use case is using electrum wallet to process (receive / sign / broadcast) lots of transactions.

creating smaller wallets will be a pain to manage, I would end up with hundred of wallets and operate them simultaneously will take all my time.

I will attempt running my own electrumx and update you, can you paste a link to the config where I can allow unlimited requests ?

bsbits avatar Jul 19 '17 18:07 bsbits

you should ask in the electrumx project for the config

ecdsa avatar Jul 19 '17 18:07 ecdsa

    self.max_send = self.integer('MAX_SEND', 1000000)
    self.max_subs = self.integer('MAX_SUBS', 250000)
    self.max_session_subs = self.integer('MAX_SESSION_SUBS', 50000)
    self.bandwidth_limit = self.integer('BANDWIDTH_LIMIT', 2000000)

These are the environment variables pertaining to anti-DOS for electrumX and their defaults.

You can install and then set up the service with much higher limits.

dabura667 avatar Jul 20 '17 00:07 dabura667