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

[Feature]: Support multiple Stacks node URLs #225

Open
djordon opened this issue Jun 4, 2024 · 0 comments · May be fixed by #382
Open

[Feature]: Support multiple Stacks node URLs #225

djordon opened this issue Jun 4, 2024 · 0 comments · May be fixed by #382
Assignees
Labels
sbtc bootstrap signer The sBTC Bootstrap Signer.

Comments

@djordon
Copy link
Contributor

djordon commented Jun 4, 2024

Feature - Support multiple Stacks node URLs

1. Description

1.1 Context & Purpose

Right now we only support one endpoint for getting nakamoto block data from a stacks node. Add support so that users can specify more than one endpoint for fetching stacks related data. Specifically, modify the code to expect a comma separated list of stacks node URLs in the signer's config.toml.

2. Technical Details:

2.1 Acceptance Criteria:

It's not clear if we'll want to always try the first endpoint in the list and fallback to the next one if that fails or do some kind of round robin load balancing. I'm leaning toward always trying the first one and falling back to the next one on connection/network errors since it is simpler.

3. Related Issues and Pull Requests (optional):

The original ticket for implementing the stacks client is #176.

@djordon djordon added the sbtc bootstrap signer The sBTC Bootstrap Signer. label Jun 4, 2024
@netrome netrome changed the title [Feature]: Suppose multiple Stacks node and API endpoints [Feature]: Support multiple Stacks node and API endpoints Jun 5, 2024
@djordon djordon changed the title [Feature]: Support multiple Stacks node and API endpoints [Feature]: Support multiple Stacks node endpoints Jun 21, 2024
@djordon djordon changed the title [Feature]: Support multiple Stacks node endpoints [Feature]: Support multiple Stacks node URLs Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sbtc bootstrap signer The sBTC Bootstrap Signer.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants