0 sats \ 3 replies \ @nerd2ninja 15 Aug 2023 \ on: [Lightning-dev] Resumable channels using OP_CHECKSIGFROMSTACK bitcoin
Hmm requires OP_Cat too. I'm uneasy about OP_Cat tbh.
Too generic?
reply
Yeah basically. It was originally removed because of a now patched denial of service vector, but you can do eltoo, covenents, and kinds of stuff with just op_cat. Even the block stream article I was reading about op_cat schnorr tricks said it needed deeper review due to what its capable of.
I like the check template verify (CTV) style of BIP better
reply
If it's too generic I can imagine it'd be difficult to preclude DoS attacks aren't possible. I guess we'd have to be suspicious of operations where the computational cost isn't proportional to the operation's size, but I don't know enough about bitcoin script to imagine OP_CAT breaking that.
The referenced article: https://medium.com/blockstream/cat-and-schnorr-tricks-i-faf1b59bd298
reply