Skip to content

node: Esplora onion HS and wallet I2P forward - #648

Open
rearden-grok[bot] wants to merge 4 commits into
net/i2p-samfrom
net/wallet-onion
Open

rearden-grok[bot] wants to merge 4 commits into
net/i2p-samfrom
net/wallet-onion

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Plan 05 (docs/personal-node-plans/05-wallet-onion.md). Stacked on #647 (net/i2p-sam).

  • --tor-control + --esplora-listen ADD_ONIONs Esplora ({datadir}/onion/esplora.priv). REST and /ws share the TCP port. --esplora-onion=0 skips.
  • getnetworkinfo.localaddresses lists Electrum and Esplora onion hostnames even with --no-discover.
  • --i2p-accept-incoming STREAM FORWARDs Electrum and Esplora (separate {datadir}/i2p/{electrum,esplora}.priv sessions).
  • NixOS esplora.hiddenService reuses 03 tor control (After=tor.service). No new systemd unit.

Test plan

  • cargo test -p rbitcoin-node --lib esplora_hidden_
  • cargo test -p rbitcoin-rpc --lib getnetworkinfo_includes_electrum_onion
  • cargo test -p rbitcoin-node --lib electrum_i2p
  • nix build .#checks.x86_64-linux.nixos-module-eval --no-link
  • required CI

Do not merge unless asked.

Made with Cursor

rearden-grok Bot and others added 4 commits September 20, 2026 15:08
Reuse the persistent key helper as onion/esplora.priv. --esplora-onion=0
skips. REST and /ws share the TCP port; log http://….onion:port.

Co-authored-by: Cursor <cursoragent@cursor.com>
Electrum and Esplora hidden-service hostnames are operator rows, not
discover IPs. They stay visible with --no-discover.

Co-authored-by: Cursor <cursoragent@cursor.com>
Reuse the SAM persist helper with {datadir}/i2p/electrum.priv and
esplora.priv. Separate sessions from the P2P destination.

Co-authored-by: Cursor <cursoragent@cursor.com>
NixOS esplora.hiddenService implies tor.control like Electrum.
OPERATOR/COMPAT: onion is plain TCP; Sparrow tcp://….onion:port.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants