Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

respondd: add provider "respondd-providers" to list registrations #256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 22, 2022

  1. respondd: add provider "respondd-providers" to list registrations

    Add an internal respondd provider "respondd-providers" which allows a
    respondd querier to query which providers are registered on a node.
    Example output:
    
    {
    	"respondd-providers": [
    		"neighbours",
    		"nodeinfo",
    		"statistics",
    		"statistics-extended"
    	]
    }
    
    This can be useful for providers which are known to be bulky, where the
    actual data is better queried via HTTP/TCP instead. But where such a
    provider is only present on a few nodes, so you'd want to avoid
    trying each node via HTTP.
    
    Signed-off-by: Linus Lüssing <[email protected]>
    T-X committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    49604ce View commit details
    Browse the repository at this point in the history