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 support for musig() key expressions #230
base: develop
Are you sure you want to change the base?
Conversation
ef7dd97
to
420aa97
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #230 +/- ##
===========================================
- Coverage 84.85% 84.78% -0.07%
===========================================
Files 17 17
Lines 2192 2235 +43
===========================================
+ Hits 1860 1895 +35
- Misses 332 340 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
23b3795
to
4ca8540
Compare
…icies to more general key expressions
…ed some comments. Generalizing to key expressions containing musig() makes it necessary to distinguish the key expressions in the wallet policy from the actual key placeholders that are just indexes to the list of key informations (@num in the descriptor template), whereas the two concepts were often not clearly separated in the code base. Renaming to "key expressions" makes the distinction more clear.
…on type is used; generalized some parts of the code that are not generalized to musig key expressions, and annotated some others.
…ues in sign_psbt in the python client
uint32_t addr_index_step = input->in_out.address_index; | ||
|
||
uint8_t bip32_tweak_1[32]; | ||
uint8_t bip32_tweak_2[32]; |
Check notice
Code scanning / CodeQL
Unused local variable Note
// int pk_offset = is_tap ? 1 : 0; | ||
// if (memcmp(pubkey.compressed_pubkey + pk_offset, bip32_derivation_pubkey, key_len) != 0) | ||
// { | ||
// return 0; | ||
// } |
Check notice
Code scanning / CodeQL
Commented-out code Note
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Closes: #208