diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-04-17 20:05:12 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-04-17 20:05:23 +0200 |
commit | 3a8a4dc4a130c6d1eeff3fb8e6d9688dda2f8d25 (patch) | |
tree | 2700e17c932ae8b6daf532bce104cb849ec97e0c /doc | |
parent | 6b46288a0853621bc911c26bb87bba22521059e7 (diff) | |
parent | 9e50c337c7126e05dad2f2f5a53ef882ab0b0330 (diff) |
Merge #12791: Expose a transaction's weight via RPC
9e50c337c Note new weight field in release-notes. (Matt Corallo)
d0d9112b7 Test new weight field in p2p_segwit (Matt Corallo)
2874709a9 Expose a transaction's weight via RPC (Matt Corallo)
Pull request description:
This seems like an obvious oversight.
Tree-SHA512: defd047de34fb06a31f589e1a4eef68fcae85095cc67b7c8fb434237bb40300d7f3f97e852d3e7226330e26b96943846b7baf6da0cfc79db8d56e9c1f7848ad9
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-notes.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md index 9e9c891de9..d4c5b03449 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -65,6 +65,11 @@ RPC changes - The `fundrawtransaction` RPC will reject the previously deprecated `reserveChangeKey` option. - `sendmany` now shuffles outputs to improve privacy, so any previously expected behavior with regards to output ordering can no longer be relied upon. - The new RPC `testmempoolaccept` can be used to test acceptance of a transaction to the mempool without adding it. +- JSON transaction decomposition now includes a `weight` field which provides + the transaction's exact weight. This is included in REST /rest/tx/ and + /rest/block/ endpoints when in json mode. This is also included in `getblock` + (with verbosity=2), `listsinceblock`, `listtransactions`, and + `getrawtransaction` RPC commands. External wallet files --------------------- |