Blockstream / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
321 stars 131 forks source link

Add index-unspendables CLI flag #28

Closed daniel-savu closed 4 years ago

daniel-savu commented 4 years ago

Follow up to this conversation: https://github.com/Blockstream/esplora/issues/267

Adds a CLI flag (--index-unspendables) that relaxes filtering for transactions that will be indexed in electrs. More specifically, when this flag is enabled transactions with provably unspendable outputs are also indexed.

shesek commented 4 years ago

Looks good, thanks! I only have a couple of very small non-code nits, will merge once they're fixed.

shesek commented 4 years ago

Merged. Thanks for the contribution!