8000 explain, in README, why no Electrum (electrs) support · Issue #8 · dcdpr/taxcount · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

explain, in README, why no Electrum (electrs) support #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dcdpr opened this issue Mar 19, 2025 · 1 comment
Open

explain, in README, why no Electrum (electrs) support #8

dcdpr opened this issue Mar 19, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation predates-github-release This issue has a counterpart in old systems

Comments

@dcdpr
Copy link
Owner
dcdpr commented Mar 19, 2025

see GL 187, 136.

@dcdpr
Copy link
Owner Author
dcdpr commented Mar 19, 2025

For our uses, we want the inputs to the tx, ie. the txouts from prior txs.

When we request a tx by txid, the "verbose" argument includes prior txs in some but not all variants. Yes in:

  • romanz/electrs (Electrum)
  • bitcoind (with -txindex)
  • Esplora (http).

No in:

  • blockstream/esplora/electrs

There is an open PR to move that No to a Yes, but it requires the underlying bitcoind to be run with the -txindex arg.

With bitcoind, we need to do additional work. We take all of a tx's inputs, and also request those txs. We need the previous tx's output, to get the current tx's input value.

Esplora http includes all this.

Because setting up Electrum servers still require a bitcoind with -txindex, and becuse the point of the software is to not rely on someone else's bitcoind, supporting Electrum protocol is almost no benefit. We entertain Esplora http, despite similar considerations, because it has some additional network efficiency.

@dcdpr dcdpr added documentation Improvements or additions to documentation predates-github-release This issue has a counterpart in old systems labels Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation predates-github-release This issue has a counterpart in old systems
Projects
None yet
Development

No branches or pull requests

1 participant
0