Rusty Russell on Nostr: #Bitcoin #dev #GSR At in Austin I presented my work on restoring Bitcoin Script. ...
#Bitcoin #dev #GSR
At
https://btcplusplus.dev/ in Austin I presented my work on restoring Bitcoin Script. Script had an emergency amputation in 2010 as there were no limits on resource consumption; restoring it means solving this problem.
My proposal is a runtime limit, similar to Taproot's runtime sigops limit, called "varops". How much you get depends on your transaction size (ie how much you paid), similar to sigops.
But how much should operations cost? I had a cost model based on "worst-case bytes touched" for each operation. I've spent the last few weeks doing increasingly precise micro-benchmarks on my laptop, my build machine, and various Raspberry Pi.
There's bad news, and good news....
Published at
2024-06-24 00:59:12Event JSON
{
"id": "5f1e7057905f583d5352cd60f33e3dfd509dab3e187ba530a0d1e61872d59301",
"pubkey": "f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43",
"created_at": 1719190752,
"kind": 1,
"tags": [
[
"t",
"Bitcoin"
],
[
"t",
"bitcoin"
],
[
"t",
"dev"
],
[
"t",
"GSR"
],
[
"t",
"gsr"
],
[
"r",
"https://btcplusplus.dev/"
]
],
"content": "#Bitcoin #dev #GSR\n\nAt https://btcplusplus.dev/ in Austin I presented my work on restoring Bitcoin Script. Script had an emergency amputation in 2010 as there were no limits on resource consumption; restoring it means solving this problem. \n\nMy proposal is a runtime limit, similar to Taproot's runtime sigops limit, called \"varops\". How much you get depends on your transaction size (ie how much you paid), similar to sigops.\n\nBut how much should operations cost? I had a cost model based on \"worst-case bytes touched\" for each operation. I've spent the last few weeks doing increasingly precise micro-benchmarks on my laptop, my build machine, and various Raspberry Pi.\n\nThere's bad news, and good news....",
"sig": "870250b7cd45da209451e38b35634323f2e18f4f16b6416b636adcec65a872eff1df3332602859e13c783b2eff5dd5f9f4841dcfdbfd2df611f0fdad906d0774"
}