aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-05-18 16:29:29 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-06-05 12:43:45 -0700
commit8b22af3ee59f48298b5203b9a38549a0d1dfd326 (patch)
treef336f8506aa55d37d7ac28936f3cc2ab8a9ce339 /doc
parent7cc2c670e3d7cf26454ac8547a94ec2c8ca90b34 (diff)
Replace bytes_serialized with bogosize
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md
index 075c7c3911..a13ede2dd5 100644
--- a/doc/release-notes.md
+++ b/doc/release-notes.md
@@ -42,9 +42,15 @@ Low-level RPC changes
- The `gettxoutsetinfo` RPC reports `hash_serialized_2` instead of `hash_serialized`,
which does not commit to the transaction versions of unspent outputs, but does
commit to the height and coinbase information.
+ - The `gettxoutsetinfo` response now contains `disk_size` and `bogosize` instead of
+ `bytes_serialized`. The first is a more accurate estimate of actual disk usage, but
+ is not deterministic. The second is unrelated to disk usage, but is a
+ database-independent metric of UTXO set size: it counts every UTXO entry as 50 + the
+ length of its scriptPubKey.
- The `getutxos` REST path no longer reports the `txvers` field in JSON format,
and always reports 0 for transaction versions in the binary format
+
- Error codes have been updated to be more accurate for the following error cases:
- `getblock` now returns RPC_MISC_ERROR if the block can't be found on disk (for
example if the block has been pruned). Previously returned RPC_INTERNAL_ERROR.