Check a Bitcoin output descriptor before deployment
A configuration checker can ask Bitcoin Core to parse a descriptor and emit its canonical representation before any wallet imports it.
Parse a public script descriptor
The fixture wraps a one-byte script in raw(). It is suitable for a parser check. It deliberately has no payment key or address range.
bitcoin-cli getdescriptorinfo 'raw(51)' | jq '{descriptor, checksum, isrange, hasprivatekeys}'
Detect a damaged configuration
Save the complete canonical descriptor, including the suffix after #. Changing a script byte while retaining the old checksum should make validation fail. Generating a fresh checksum for already corrupted input only authenticates its spelling, so compare the canonical value with an independently approved configuration. Do not use this fixture for payments.