Title: Make public SPV node with electrs? Post by: Geremia on August 29, 2025, 12:37:57 AM Can I configure electrs (https://github.com/romanz/electrs) to be a public (port 50002) SPV node?
Title: Re: Make public SPV node with electrs? Post by: nc50lc on August 29, 2025, 04:38:39 AM Not directly, but it's possible to be used remotely, see: github.com/romanz/electrs/blob/master/doc/config.md (https://github.com/romanz/electrs/blob/master/doc/config.md#connecting-an-electrum-client)
However, the developer himself doesn't recommend to use it as public Electrum server as noted in its "Usage" part in its 'ReadMe' doc. There's a note about a fork by Blockstream which would be a good alternative but its database isn't compatible with romanz/electrs so you will not be able to utilize your existing setup if you decided to use it. Title: Re: Make public SPV node with electrs? Post by: ABCbits on August 29, 2025, 08:39:07 AM I don't know goal, but you may want to use Fulcrum instead. According to benchmark[1], it's better than ElectrumX and Electrs in most aspect.
There's a note about a fork by Blockstream which would be a good alternative but its database isn't compatible with romanz/electrs so you will not be able to utilize your existing setup if you decided to use it. Take note that fork have demanding resource requirement. Quote from: https://github.com/romanz/electrs If you want to run a public server you may be interested in the Blockstream fork of electrs (https://github.com/Blockstream/electrs) which is better optimized for public usage at the cost of consuming significantly more resources. Unfortunately Blockstream electrs doesn't mention minimum/recommended hardware, while recommended hardware on mempool.space docs is meant for production usage[2] which probably isn't OP goal. [1] https://www.sparrowwallet.com/docs/server-performance.html (https://www.sparrowwallet.com/docs/server-performance.html) [2] https://github.com/mempool/mempool/tree/master/production#server-hardware (https://github.com/mempool/mempool/tree/master/production#server-hardware) |