mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
Merge bitcoin/bitcoin#24313: Improve display address handling for external signer
4357158c47wallet: return and display signer error (Sjors Provoost)dc55531087wallet: compare address returned by displayaddress (Sjors Provoost)6c1a2cc09atest: use h marker for external signer mock (Sjors Provoost) Pull request description: * HWI returns the requested address: as a sanity check, we now compare that to what we expected * external signer documentation now reflects that HWI alternatives must implement this check * both RPC and GUI will now return an error text, rather than just fail (the GUI even failed silently in some cases) ACKs for top commit: brunoerg: ACK4357158c47achow101: ACK4357158c47Tree-SHA512: 4f56edf3846745c8e7d08ef55cf29e8bb468256457149377c5f02da097931f9ca0c06bdbd856dc2385cde4fd11e4dc3b634c5a48814ff27f5562c8a25d43da93
This commit is contained in:
@@ -150,6 +150,9 @@ Example, display the first native SegWit receive address on Testnet:
|
||||
|
||||
The command MUST be able to figure out the address type from the descriptor.
|
||||
|
||||
The command MUST return an object containing `{"address": "[the address]"}`.
|
||||
As a sanity check, for devices that support this, it SHOULD ask the device to derive the address.
|
||||
|
||||
If <descriptor> contains a master key fingerprint, the command MUST fail if it does not match the fingerprint known by the device.
|
||||
|
||||
If <descriptor> contains an xpub, the command MUST fail if it does not match the xpub known by the device.
|
||||
|
||||
Reference in New Issue
Block a user