-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
BIP draft: Raw() as subscript for descriptors #1721
Open
furszy
wants to merge
1
commit into
bitcoin:master
Choose a base branch
from
furszy:2024_descriptors_raw_as_subscript
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.
+101
−0
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
jonatack
changed the title
Raw() as subscript for descriptors
BIP draft: Raw() as subscript for descriptors
Dec 17, 2024
furszy
force-pushed
the
2024_descriptors_raw_as_subscript
branch
2 times, most recently
from
December 18, 2024 15:11
634d18a
to
47fed6d
Compare
sipa
reviewed
Dec 18, 2024
furszy
force-pushed
the
2024_descriptors_raw_as_subscript
branch
2 times, most recently
from
December 20, 2024 19:00
1b3ef5c
to
a67af04
Compare
furszy
force-pushed
the
2024_descriptors_raw_as_subscript
branch
from
December 24, 2024 02:17
a67af04
to
9c59851
Compare
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.
Could maybe use a bit more rationale. Has this already been submitted to the mailing list?
furszy
force-pushed
the
2024_descriptors_raw_as_subscript
branch
2 times, most recently
from
December 27, 2024 20:37
bf8415b
to
88f6b2e
Compare
furszy
force-pushed
the
2024_descriptors_raw_as_subscript
branch
from
December 27, 2024 20:50
88f6b2e
to
3197eb9
Compare
Not yet. Will do next year. |
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.
Allowing arbitrary hex data to be wrapped in
sh()
,wsh()
, or even within theTREE
argument of a
tr(KEY, TREE)
descriptor enables the representation of currentlyinexpressible information.
Specifically, the absence of this feature limits the representation of non-standard redeem
and witness scripts. This occurs because they can currently only be represented as top-level
raw(HEX)
descriptors, which retain only the output script information and lack the abilityto preserve the actual script.
This work stemmed from discussions with @sipa and @achow101 about the legacy
wallet migration path, particularly while investigating migrated descriptors that lacked
information about the script they were supposedly migrated from.
Additionally, issue #24114, specifically bitcoin/bitcoin#24114 (comment), provides
historical context and highlights other valid use cases enabled by this behavior change.