Descriptor syntax for hash preimages
In briefProposal to add private hash preimage syntax to descriptors
SummaryThis Delving Bitcoin thread proposes adding a private form for miniscript hash fragments (sha256, hash256, ripemd160, hash160), such as sha256(preimage(HEX)), so preimages can be stored in descriptors like private keys. The author was motivated by the TABConf CTB challenge, where Bitcoin Core's wallet had no way to supply a preimage. The post includes a syntax draft, safety considerations, and open questions.