satoshi disabled many useful opcodes like multiplying numbers and concatenating values together out of DoS concerns, rusty has a way to measure the true cost of these operations so we could restore them without the DoS concerns, in theory of course 😅

bitcoin script got gimped at the last moment which has severely hindered L2 development, and why our L2s are complicated and inefficient.

Reply to this note

Please Login to reply.

Discussion

Rusty’s work on that public yet? Hadn’t come across it

I asked him that yesterday he says not yet, but I started implementing it myself on my bitcoin script interpreter: https://github.com/jb55/btcs although there is not much code there either since I’m still writing it.

His proposal also came with the idea of fixing script integers to use variable length for OP_MUL, etc. he had a book on variable length integer arithmetic so i am getting nerd sniped a bit going down that rabbit hole