Getinfo should show current externalip list. #1734

issue gmaxwell opened this issue on August 28, 2012
  1. gmaxwell commented at 4:48 AM on August 28, 2012: contributor

    Getinfo should show current externalip list. (This is something that I noticed PPcoin did, seems pretty useful).

  2. Diapolo commented at 4:54 AM on August 28, 2012: none

    You mean all IPs we listen to or all external (router) IPs, if we are behind a NAT e.g.?

  3. gmaxwell commented at 4:59 AM on August 28, 2012: contributor

    Well, I was mostly thinking of the content of mapLocalHost which is basically the latter. Getting the addresses we're listening on isn't very interesting in unix land (lsof --ni / netstat --listen / etc) but perhaps more handy in windows.

  4. jgarzik commented at 2:02 PM on August 28, 2012: contributor

    The information is useful, but 'getinfo' is a fscking mess. "everything in one place" leads to a mess of global variables and associated locking. I am 100% convinced there are minor locking problems in 'getinfo'.

    Adding more network info to 'getinfo' is far less desirable than a separate RPC.

  5. laanwj commented at 2:18 PM on April 23, 2014: member

    This sounds useful. Maybe add a RPC call getnetworkinfo, analogous to getwalletinfo that was introduced in #3717?

  6. laanwj referenced this in commit 0722434edd on May 5, 2014
  7. laanwj referenced this in commit 3407e75624 on May 5, 2014
  8. laanwj referenced this in commit d387b8ec15 on May 6, 2014
  9. laanwj closed this on May 6, 2014

  10. MathyV referenced this in commit f94e1aceab on Oct 27, 2014
  11. MarcoFalke locked this on Sep 8, 2021

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-13 18:16 UTC

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