Getinfo should show current externalip list. (This is something that I noticed PPcoin did, seems pretty useful).
Getinfo should show current externalip list. #1734
issue gmaxwell opened this issue on August 28, 2012-
gmaxwell commented at 4:48 AM on August 28, 2012: contributor
-
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.?
-
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.
-
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.
- laanwj referenced this in commit 0722434edd on May 5, 2014
- laanwj referenced this in commit 3407e75624 on May 5, 2014
- laanwj referenced this in commit d387b8ec15 on May 6, 2014
- laanwj closed this on May 6, 2014
- MathyV referenced this in commit f94e1aceab on Oct 27, 2014
- MarcoFalke locked this on Sep 8, 2021
Labels