-
Notifications
You must be signed in to change notification settings - Fork 39
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
Taproot Miniscript #498
base: develop
Are you sure you want to change the base?
Taproot Miniscript #498
Conversation
don't trim SD card PSBTs taproot refactors
fix lint and tests
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #498 +/- ##
===========================================
- Coverage 94.37% 93.43% -0.95%
===========================================
Files 74 74
Lines 8104 8297 +193
===========================================
+ Hits 7648 7752 +104
- Misses 456 545 +89 ☔ View full report in Codecov by Sentry. |
At this point I'm prioritizing SD card signing for miniscript, as Liana does not support QR codes. |
Recording thoughts after testing this at commit d467330: Without loading a mnemonic, using tools / descriptor addresses, to load a wallet descriptor from liana
When signing a PSBT from liana w/ wallet descriptor:
Learned from odudex that we cannot count on specific derivation paths, different wallets (nunchuk's m/87'/0'/0' tap multisig) may use their own preferred paths Also noted that Also todo: review/tests for embit changes, tests for krux too. |
simplify sentence for correct uPython interpretation
Support verifying BlueWallet-v7.0.7 upper-cased addresses
src/krux/wallet.py
Outdated
try: | ||
sc = address_to_scriptpubkey(addr.lower()) | ||
if isinstance(sc, Script): | ||
addr = addr.lower() |
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.
refactor? If we get here, we might as well just return addr.lower()
and avoid re-setting this var, and more isinstance() checks?
And if that refactor happens, can avoid the isinstance() check at 463 and bring the one at 469 into the try:
leg, as it was originally
shorten return path for parse_address
What is this PR for?
After having P2WSH Miniscript compatibility added to develop branch this PR adds compatibility for Taproot Miniscripts, first tests done targeting Liana as coordinator.
What is the purpose of this pull request?