setting externalip=<version 3 onion address> results in error #18254

issue Liongrass opened this issue on March 3, 2020
  1. Liongrass commented at 2:28 PM on March 3, 2020: none

    Hi all!

    I have been running a Bitcoin node reachable via a onion address for a long time. Today I decided to upgrade to a Version 3 address, but encountered an error.

    2020-03-03T Error: Cannot resolve -externalip address: 'rn2rjwuxfjzvjfkg2hmrduc2n7tjjpasrlianfskdhhhhfqqvf7kliyd.onion'

    My new bitcoin.conf file:

    listen=1
    externalip=rn2rjwuxfjzvjfkg2hmrduc2n7tjjpasrlianfskdhhhhfqqvf7kliyd.onion
    

    My old bitcoin.conf file:

    listen=1
    externalip=llljnatksfgtlhko.onion
    

    This works fine: 2020-03-03 AddLocal(llljnatksfgtlhko.onion:8333,4)

    Bitcoin Core version: v0.18.0.0-g2472733a24a9364e4c6233ccd04166a26a68cc65

  2. sipa commented at 5:02 PM on March 3, 2020: member

    Yes, Onion v3 addresses are not currently supported. A P2P protocol extension is needed to be able to relay those (see BIP 155).

  3. laanwj commented at 12:03 PM on March 4, 2020: member

    Correct, see issue #9214, and PR #16748

  4. laanwj closed this on Mar 4, 2020

  5. MitchellCash referenced this in commit f9d918c814 on Mar 10, 2020
  6. vasild commented at 2:05 PM on October 12, 2020: member

    This is now implemented and will be included in 0.21.

  7. DrahtBot locked this on Feb 15, 2022

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-04-19 15:14 UTC

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