BitVM / rust-bitcoin-script

Allows creating and nesting bitcoin scripts for BitVM
MIT License
1 stars 1 forks source link

Find the smallest possible stack limit for each chunk #2

Open lucidLuckylee opened 3 weeks ago

lucidLuckylee commented 3 weeks ago

Currently the stack limit has to be specified. We could run binary search (easy to do but needs more memory and time) to find the lowest stack limit or implement it in the chunker (more complex but faster)