I saw here that you can run bitcoin-cli getinfo to see the total number of connections that a node you're running is connected to. Is there a way to get this information remotely? For example, say I know that IP X.X.X.X is a bitcoin node, is there a way for me to ask it what nodes it is currently connected to? Similar to how I can getaddr it?


No, by design.

Being able to infer connection information of remote nodes would be a leak of network graph information, which is considered private.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.