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

Add public_key hash to /v2/info endpoint #3046

Closed
wileyj opened this issue Feb 11, 2022 · 0 comments
Closed

Add public_key hash to /v2/info endpoint #3046

wileyj opened this issue Feb 11, 2022 · 0 comments
Assignees

Comments

@wileyj
Copy link
Contributor

wileyj commented Feb 11, 2022

It would be nice to know the public key of a hosted node from a common endpoint.
For example, consider this possible /v2/info response:

{
  "peer_version": 402653189,
  ...
  "unanchored_seq": null,
  "exit_at_block_height": null,
  "public_key": "02da7a464ac770ae8337a343670778b93410f2f3fef6bea98dd1c3e9224459d36b"
}

Providing this would be a welcome addition since it would allow a stacks-blockchain operator to decentralize the "seed" nodes from Hiro, or at least provide additional options for seed nodes outside of the ones Hiro provides in https://github.com/stacks-network/stacks-blockchain/blob/master/testnet/stacks-node/conf/mainnet-follower-conf.toml#L5.

Future application could be some org PR's an additional seed node to the linked config, or directly in the codebase with the config providing an override similar to bitcoin: https://github.com/bitcoin/bitcoin/blob/623745ca74cf3f54b474dac106f5802b7929503f/src/chainparams.cpp#L121-L129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants