Skip to content

Conversation

@jgriffiths
Copy link
Contributor

@jgriffiths jgriffiths commented Feb 2, 2025

Misc updates prior to implementing taproot for Elements.

@jgriffiths jgriffiths force-pushed the pre_taproot_elements_updates branch 4 times, most recently from 3ccb18c to 7bf9588 Compare February 11, 2025 20:37
- Run CI tests with/without Elements, also test minimal build as used by Jade
- Enable -Werror for the main test run
- Fail if scan-build errors are detected
- Expose scan-build artifacts for investigating reported errors
- Do not build release files if any tests fail
This is the same size as WALLY_TX_ASSET_TAG_LEN but doesn't give the
incorrect impression that these fields hold asset tags.
Elements uses a different tagged hash for tweaking the internal key.
@jgriffiths jgriffiths force-pushed the pre_taproot_elements_updates branch from 7bf9588 to 83121e1 Compare February 15, 2025 11:40
Elements core supports standard descriptors but generates (at least for
taproot) different scriptpubkeys/addresses since it uses a different hash
to tweak its internal keys. Allow specifying that a descriptor is an
Elements descriptor when parsing, and use this to perform the correct
tweak.

Its unclear whether other descriptor expressions are affected since
there is no documentation of this behaviour.

Elements (only via rust-elements) also supports a renamed set of
descriptors and extensions which we do not attempt to support in this
change.
Avoids a warning when building.
@jgriffiths jgriffiths force-pushed the pre_taproot_elements_updates branch from 83121e1 to 088e3f8 Compare February 16, 2025 08:49
@jgriffiths jgriffiths force-pushed the pre_taproot_elements_updates branch from c8c2327 to 6998c96 Compare February 18, 2025 12:09
@jgriffiths jgriffiths merged commit 6998c96 into master Feb 18, 2025
5 checks passed
@jgriffiths jgriffiths deleted the pre_taproot_elements_updates branch February 18, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants