electrs icon indicating copy to clipboard operation
electrs copied to clipboard

Can only sync one wallet at a time

Open Transisto opened this issue 4 years ago • 3 comments

When one wallet is being synced all other connection stop completely.

I'm using the default setting on MyNode, Is there something that can be done to enable simultaneous connections?

Is electrs multi threaded too? Doesn't seems like it's using more than 50% of a rPi CPU when at work.

Transisto avatar Oct 18 '21 00:10 Transisto

electrs is multithreaded etc but it uses a single connection to bitcoind. So if the connection is exhausted by one thread syncing then the other needs to wait. I'm not sure if there's anything we can do about it, having many connections to bitcoind would mess with it's management of peers.

Kixunil avatar Oct 18 '21 05:10 Kixunil

I think it's slightly problematic if ever a user wants to share it's server with a few friends.

Transisto avatar Oct 18 '21 18:10 Transisto

Yes it is, if those friends use it at the same time. I'd like this fixed too. I will try to figure out something.

Kixunil avatar Oct 19 '21 04:10 Kixunil