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

BIP 174: Reformat, reorganize, and mark final #1055

Merged
merged 7 commits into from
Feb 3, 2021

Conversation

achow101
Copy link
Member

Pulls in most of the formatting changes from #953. Also explicitly specifies the parts for PSBT version 0 as well as sections for the process of adding new fields and PSBT versions. Lastly marks BIP 174 as final.

Although I am marking it as final, this is only really for the general format. New fields can be added, and those fields should be added to the field listing tables in BIP 174.

rustyrussell and others added 2 commits January 13, 2021 16:55
"Variable length string identifier" is not defined anywhere, and the suggestion
to use "0x00" is also deeply unclear.  I assumed it meant a nul-terminated
string!

Be explicit: you mean it must be a compact siz1\e unsigned int length, followed
by that many identifier bytes, followed by a compact size unsigned int subtype,
followed by optional keydata.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@achow101 achow101 force-pushed the reorganize-psbt branch 4 times, most recently from 6de8e70 to 5fdfba0 Compare January 14, 2021 21:17
@luke-jr luke-jr merged commit ee523cd into bitcoin:master Feb 3, 2021
@luke-jr
Copy link
Member

luke-jr commented Feb 3, 2021

Argh, missed that this violates the length limit. Reverted that part.

Please don't modify CI to bypass validity checks.

===Procedure For New Fields===

New fields should first be proposed on the bitcoin-dev mailing list.
If a field requires significatn description as to its usage, it should be accompanied by a separate BIP.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: typo: significant

@Sjors Sjors mentioned this pull request Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants