-
Notifications
You must be signed in to change notification settings - Fork 139
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
Pre-taproot elements updates #477
Open
jgriffiths
wants to merge
20
commits into
master
Choose a base branch
from
pre_taproot_elements_updates
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
- 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.
490edc3
to
3ccb18c
Compare
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.
For use by a later commit.
The Elements case is more complicated and will be computed in its own function.
3ccb18c
to
7bf9588
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Misc updates prior to implementing taproot for Elements.