mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
504 B
504 B
Updated RPCs
- The
validateaddressRPC now returns anerror_locationsarray 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 theerrorfield now also returns more specific errors when decoding fails.