aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSamuel Dobson <dobsonsa68@gmail.com>2021-11-23 12:21:25 +1300
committerSamuel Dobson <dobsonsa68@gmail.com>2021-11-30 13:22:03 +1300
commit63f7b6977989b93e13c3afd8dfd22b524842b9d7 (patch)
tree4e7b5f2e39d44232bb1f833354ad14a7077c21b3 /doc
parentc8b9a224e70f70ccc638b2c4200a505cdf024efd (diff)
downloadbitcoin-63f7b6977989b93e13c3afd8dfd22b524842b9d7.tar.xz
Update release note for bech32 error detection
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes-16807.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/release-notes-16807.md b/doc/release-notes-16807.md
index 5027550a99..3cdd0b36af 100644
--- a/doc/release-notes-16807.md
+++ b/doc/release-notes-16807.md
@@ -1,6 +1,10 @@
Updated RPCs
------------
-- The `validateaddress` RPC now optionally returns an `error_locations` array, with the indices of
-invalid characters in the address. For example, this will return the locations of up to two Bech32
-errors. \ No newline at end of file
+- The `validateaddress` RPC now returns an `error_locations` array for invalid
+addresses, with the indices of invalid character locations in the address (if
+known). For example, this will attempt to locate up to two Bech32 errors, and
+return their locations if successful. Success and correctness are only guaranteed
+if fewer than two substitution errors have been made.
+The error message returned in the `error` field now also returns more specific
+errors when decoding fails. \ No newline at end of file