What is Nostr?
ZmnSCPxj [ARCHIVE] /
npub1g5z…ms3l
2023-06-09 12:57:47
in reply to nevent1q…u9h2

ZmnSCPxj [ARCHIVE] on Nostr: 📅 Original date posted:2019-12-17 📝 Original message: Good morning David, ...

📅 Original date posted:2019-12-17
📝 Original message:
Good morning David, t-bast, and all,


> I'm not aware of any way to currently force single-show signatures in
> Bitcoin, so this is pretty theoretical. Also, single-show signatures
> add a lot of fragility to any setup and make useful features like RBF
> fee bumping unavailable.

With `OP_CAT`, we can enforce that a particular `R` is used, which allows to implement single-show signatures.

# Assuming signatures are the concatenation of (R,s)
<R> OP_SWAP OP_CAT <ACINQ> OP_CHECKSIG

The above would then feed `s` only on the witness stack.

Regards,
ZmnSCPxj
Author Public Key
npub1g5zswf6y48f7fy90jf3tlcuwdmjn8znhzaa4vkmtxaeskca8hpss23ms3l