File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ Revision history for Perl extension Bitcoin::Crypto.
3838 - serialization of transactions with zero inputs and zero outputs is allowed (as required by some test cases)
3939
4040 [Breaking changes]
41- - PSBT_IN_FINAL_SCRIPTWITNESS is now serialized as an array reference of bytestrings
42- - PSBT_IN_TAP_LEAF_SCRIPT value is now serialized as an instance of Bitcoin::Crypto::Script::Tree::Leaf
41+ - PSBT_IN_FINAL_SCRIPTWITNESS value serializer is upgraded to use an array of bytestrings
42+ - PSBT_IN_TAP_LEAF_SCRIPT value serializer is upgraded to use an instance of Bitcoin::Crypto::Script::Tree::Leaf
4343
44444.005 Thu Apr 23, 2026
4545 [Public interface changes]
Original file line number Diff line number Diff line change @@ -250,6 +250,13 @@ holds the descriptions of what is the type after deserialization (and before
250250serialization). Reading the source of L<Bitcoin::Crypto::PSBT::FieldType> may
251251be required if it isn't clear how they are implemented for a specific field.
252252
253+ Even though specific serializers aren't documented, they will be kept
254+ backward-compatible with the same rules as any other part of Bitcoin::Crypto
255+ (see L<Bitcoin::Crypto::Manual/Backward compatibility> ), with an exception of
256+ upgrading their behavior to more fitting types when they are implemented. If
257+ you are unsure whether the given serializer will be modified in the future, you
258+ can use C<raw_* > attributes and serialize/deserialize manually.
259+
253260Reading the value through L</raw_value> will return a bytestring, but reading
254261through C<value > will use the deserializer. Calling C<set_value > will use the
255262serializer to update L</raw_value> . The field only holds raw data and uses
You can’t perform that action at this time.
0 commit comments