To implement tail recursion in Bitcoin Script you have to 1…
To implement tail recursion in Bitcoin Script you have to 1) unroll your loops 2) use the ALT_STACK to pass input to the next unrolled iteration.
To implement tail recursion in Bitcoin Script you have to 1) unroll your loops 2) use the ALT_STACK to pass input to the next unrolled iteration.