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

feat: allow unset blocklist clients #589

Merged
merged 7 commits into from
Oct 1, 2024
Merged

Conversation

djordon
Copy link
Contributor

@djordon djordon commented Oct 1, 2024

Description

Closes #586.

Changes

  • Move the config file logic out of the config/mod.rs file and into a config/settings.rs file (I was really hoping that the diff would be nice here). I renamed it back.
  • Allow the blocklist client to be unspecified.
  • Made the blocklist client endpoint a url::Url.
  • Add the block observer to the main join.

Testing Information

Added a unit test for when the blocklist client is set via an environment variable, and manually tested what happens if the stanza in the config is set, but it is currently unset.

Checklist:

  • I have performed a self-review of my code

@djordon djordon added the sbtc bootstrap signer The sBTC Bootstrap Signer. label Oct 1, 2024
@djordon djordon added this to the sBTC MVP Code Complete milestone Oct 1, 2024
Copy link
Member

@cylewitruk cylewitruk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

signer/src/main.rs Outdated Show resolved Hide resolved
signer/src/transaction_signer.rs Outdated Show resolved Hide resolved
@djordon djordon merged commit f142844 into main Oct 1, 2024
4 checks passed
@djordon djordon deleted the 586-allow-unset-blocklist-client branch October 1, 2024 14:53
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
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature]: Allow for the blocklist client to be unset
3 participants