Does the self hosted nostr:npub18d4r6wanxkyrdfjdrjqzj2ukua5cas669ew2g5w7lf4a8te7awzqey6lt3 really need -txindex when Electrs is configured? https://github.com/mempool/mempool/tree/master/backend

Reply to this note

Please Login to reply.

Discussion

Not going to lie I keep turning off my mempool on my start9 machine (decent older desktop) because it doesn’t play nice.

You don't need txindex to index the blockstream-electrs fork since it reads from the block files directly. Does mempool still require it? I though it was using electrs and its own db for all api requests.

The documentation says it does, but maybe that's incorrect?

With mempool/electrs as backend you don't need txindex. But with romanz/electrs you do because electrs will only be used for address lookups.

I currently use romanz/electrs for Mempool, BTCPay and as my own private electrum server.

It would be nice if mempool could also use it for whatever it needs -txindex for.

Is the romanz/electrs index not suitable for some reason?