diff options
author | Matt Corallo <git@bluematt.me> | 2019-08-01 17:54:48 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2019-08-02 15:37:13 -0400 |
commit | 970de70bdd3542e75b73c79b06f143168c361494 (patch) | |
tree | 727c0319bc969dea20689051dcb7999b3fb1c0b0 /doc/release-notes-16525.md | |
parent | e653eeff7651d823407e2e31a89176cc0b240c62 (diff) | |
download | bitcoin-970de70bdd3542e75b73c79b06f143168c361494.tar.xz |
Dump transaction version as an unsigned integer in RPC/TxToUniv
Consensus-wise we already treat it as an unsigned integer (the
only rules around it are in CSV/locktime handling), but changing
the underlying data type means touching consensus code for a
simple cleanup change, which isn't really worth it.
See-also, https://github.com/rust-bitcoin/rust-bitcoin/pull/299
Diffstat (limited to 'doc/release-notes-16525.md')
-rw-r--r-- | doc/release-notes-16525.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release-notes-16525.md b/doc/release-notes-16525.md new file mode 100644 index 0000000000..f042c875f8 --- /dev/null +++ b/doc/release-notes-16525.md @@ -0,0 +1,7 @@ +RPC changes +----------- + +Exposed transaction version numbers are now treated as unsigned 32-bit integers +instead of signed 32-bit integers. This matches their treatment in consensus +logic. Versions greater than 2 continue to be non-standard (matching previous +behavior of smaller than 1 or greater than 2 being non-standard). |