Documentation on ‘services’ parsing in RPC response for getnodeaddresses #33930

issue taoteh1221 openend this issue on November 23, 2025
  1. taoteh1221 commented at 11:46 pm on November 23, 2025: none

    Please describe the feature you’d like to see added.

    I can’t find any docs on how you parse services results for getnodeaddresses RPC data requests:

    https://bitcoincore.org/en/doc/30.0.0/rpc/network/getnodeaddresses/

    I’m hoping to have a more user friendly interface, other than the raw services number for a geolocation search filter:

    No real problem, other than lack of documentation, to understand how this data can be parsed into a user friendly summary.

    Describe the solution you’d like

    Documentation on parsing the raw data.

    Describe any alternatives you’ve considered

    None.

    Please leave any additional context

    Live working demo here (to better understand my interfacing): https://dragonfrugal.org/open-crypto-tracker/plugins.php#plugin_on-chain-stats

  2. taoteh1221 added the label Feature on Nov 23, 2025
  3. pinheadmz commented at 0:35 am on November 24, 2025: member
  4. taoteh1221 commented at 0:56 am on November 24, 2025: none

    Thanks for pointing me in the right direction @pinheadmz. 👍 Googling didn’t get me too far.

    I’m looking to filter mining, ln, etc (if possible), in the geolocation GUI results filters. Hopefully this is possible. Will deep dive your source file and 3rd party links this week, thanks very much.

    I can close this issue, unless you all think it’s feasible enough to keep open? I’m sure their are a ton of higher priorities, I just came up nearly blank on google, so figured I’d ping it here. Thanks for the quick response.

  5. taoteh1221 commented at 1:02 am on November 24, 2025: none
    I see the source seems to suggest only P2P-related stuff is flagged into the services value, if I’m reading it right.
  6. taoteh1221 commented at 1:08 am on November 24, 2025: none
    Seems I may need to look at other endpoints for the data I seek. Was hoping to keep overhead low with a single call to getnodeaddresses, as this will be run on low power devices on home / internal networks often…but doesn’t look like I can do that.
  7. sipa commented at 1:29 am on November 24, 2025: member
    Bitcoin nodes have no knowledge about what other functionality may run on top, like LN or mining. The “services” the P2P node network knows about only relate to functionality offered over that P2P network.
  8. taoteh1221 commented at 1:41 am on November 24, 2025: none
    Thanks @sipa, I appreciate the quick response. 👍
  9. taoteh1221 closed this on Nov 24, 2025


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: 2025-12-01 21:13 UTC

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