i2p: pass base32 address directly to stream connect #36570

pull jpk68 wants to merge 1 commits into bitcoin:master from jpk68:i2p-connect changing 1 files +1 −6
  1. jpk68 commented at 12:14 AM on October 19, 2026: contributor

    As the SAM protocol accepts a .b32.i2p address as the DESTINATION parameter for the STREAM CONNECT command, the NAMING LOOKUP round trip can be skipped on every outbound connection.

    This should ostensibly make failure handling more accurate in certain situations as well, since a peer that cannot be resolved now returns CANT_REACH_PEER/TIMEOUT rather than there being an empty VALUE= key in the lookup reply. A missing VALUE= is a proxy error, so the attempt isn't recorded in AddrMan.

    Router implementation versions that support this (Java I2P 0.9.48, i2pd 2.38.0) are older than ones supporting i2cp.leaseSetEncType=6,4 (see #35696), so there should be no compatibility issues here.

    Source: https://i2p.net/en/docs/api/samv3/#sam-virtual-streams-connect

  2. i2p: pass base32 address directly to stream connect abbdec2149
  3. fanquake commented at 3:14 AM on October 19, 2026: member

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-10-21 23:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me