-
Notifications
You must be signed in to change notification settings - Fork 5
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: bootstrapping distributed key generation (stale) #632
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b1fd36d
Use an error function implementation
djordon c1606d1
Add a timeout field for running dkg
djordon c703c51
Add a function for running DGK into the
djordon a563f76
Expect seed public keys
djordon 9de35c8
Condition DKG on whether it's needed
djordon d740f97
Add the signing set as a column,
djordon e29610c
Sort the keys, why not
djordon 142823a
Add a new query for fetching encrypted
djordon 2c28d6e
Apply Cyle's fix for the integration test.
djordon a3ae793
Merge branch 'main' into 590-bootstrapping-distributed-key-generation
djordon db1a27f
match testing config details after noting
djordon 8032c07
fixup
djordon 30a49a0
Updates after signature change
djordon 4913e77
Fallback to the bootstrap wallet if there
djordon da0c6ab
code quality clean up
djordon b13ed09
Forgot to update the test fixtures and
djordon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ nakamoto_start_height = 31 | |
# Format: "<hex-encoded-private-key>" (64 or 66 hex-characters) | ||
# Required: true | ||
# Environment: SIGNER_SIGNER__PRIVATE_KEY | ||
private_key = "8183dc385a7a1fc8353b9e781ee0859a71e57abea478a5bca679334094f7adb5" | ||
private_key = "41634762d89dfa09133a4a8e9c1378d0161d29cd0a9433b51f1e3d32947a73dc" | ||
|
||
# Specifies which network to use when constructing and sending transactions | ||
# on stacks and bitcoin. This cooresponds to the `chain` flag in the | ||
|
@@ -124,14 +124,27 @@ network = "regtest" | |
# The address that deployed the sbtc smart contracts. | ||
# | ||
# Required: true | ||
deployer = "SN2V7WTJ7BHR03MPHZ1C9A9ZR6NZGR4WM8HT4V67Y" | ||
deployer = "SN3R84XZYA63QS28932XQF3G1J8R9PC3W76P9CSQS" | ||
|
||
# The signer database endpoint (pgsql connection string) | ||
# | ||
# Required: true | ||
# Environment: SIGNER_SIGNER__DB_ENDPOINT | ||
db_endpoint = "postgresql://postgres:postgres@localhost:5432/signer" | ||
|
||
# The public keys of known signers who are approved to be in the signer | ||
# set. | ||
# The signer database endpoint (pgsql connection string) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: leftover line |
||
# | ||
# Required: true | ||
# Environment: SIGNER_SIGNER__PEER_PUBLIC_KEYS | ||
bootstrap_signing_set = [ | ||
"035249137286c077ccee65ecc43e724b9b9e5a588e3d7f51e3b62f9624c2a49e46", | ||
"031a4d9f4903da97498945a4e01a5023a1d53bc96ad670bfe03adf8a06c52e6380", | ||
"02007311430123d4cad97f4f7e86e023b28143130a18099ecf094d36fef0f6135c", | ||
] | ||
|
||
bootstrap_signatures_required = 2 | ||
# !! ============================================================================== | ||
# !! Stacks Event Observer Configuration | ||
# !! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Snuck in your copy-paste ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol, 🙏🏽 thank you