aboutsummaryrefslogtreecommitdiff
path: root/doc/external-signer.md
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2021-11-23 16:12:55 +0100
committerSjors Provoost <sjors@sprovoost.nl>2024-04-16 17:47:43 +0200
commitdc55531087478d01fbde4f5fbb75375b672960c3 (patch)
treeefd6e9008f057bfb1599716129fff851b7117e88 /doc/external-signer.md
parent6c1a2cc09a00baa6ff3ff34455c2243b43067fb5 (diff)
wallet: compare address returned by displayaddress
Update external signer documentation to reflect this requirement, which HWI already implements.
Diffstat (limited to 'doc/external-signer.md')
-rw-r--r--doc/external-signer.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/external-signer.md b/doc/external-signer.md
index de44cdd880..1468e852ef 100644
--- a/doc/external-signer.md
+++ b/doc/external-signer.md
@@ -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.