Skip to content
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

BIPs 174 and 375: fix PSBT_OUT_SP_V0_LABEL value #1754

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nymius
Copy link

@nymius nymius commented Jan 31, 2025

Assuming a by one increment in the keytype of the silent payments output fields, the following numeral to 0x09 in the hexadecimal system is 0x0a, not 0x10.

Assuming a by one increment in the keytype of the silent payments output
fields, the following numeral to 0x09 in the hexadecimal system is 0x0a,
not 0x10.
Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinging @andrewtoth for feedback.

@@ -128,7 +128,7 @@ The new per-output types are defined as follows:
| 2
|-
| Silent Payment Label
| <tt>PSBT_OUT_SP_V0_LABEL = 0x10</tt>
| <tt>PSBT_OUT_SP_V0_LABEL = 0x0a</tt>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per git blame, this was added in 4a7a7cf.

@@ -715,7 +715,7 @@ required for aggregation. If sorting was done, then the keys must be in the sort
| [[bip-0375.mediawiki|375]]
|-
| Silent Payment Label
| <tt>PSBT_OUT_SP_V0_LABEL = 0x10</tt>
| <tt>PSBT_OUT_SP_V0_LABEL = 0x0a</tt>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per git blame, this was added in commit eb10cdb.

@jonatack jonatack changed the title Typo in PSBT_OUT_SP_V0_LABEL: "decimal increment" instead of hexadecimal increment BIPs 174 and 375: fix PSBT_OUT_SP_V0_LABEL value Jan 31, 2025
@jonatack jonatack added the Pending acceptance This BIP modification requires sign-off by the champion of the BIP being modified label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending acceptance This BIP modification requires sign-off by the champion of the BIP being modified Proposed BIP modification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants