10
5
For me, scripts are one of the most interesting features of Bitcoin. They provide possibilities which have no equivalent in classical currencies. However, the wiki states
It is purposefully not Turing-complete, with no loops.
- What's the rationale behind this decision?
- Are there any proposals for useful contracts which would only be possible in a Turing complete script implementation?
- Are there any alternative crypto currencies with Turing complete scripts? If so, how do they solve the problems from 1?
3If there was a limit, it would be better to have a limit on how many instructions could be executed rather than time spent, to ensure consistency – RentFree – 2013-11-25T17:13:38.100
4@RentFree: Which essentially reduces to what we have now. If the script you want has a loop that is guaranteed to finish within a certain number of instructions, you can unroll the loop into a straight-line script with a fixed number of instructions. Actually, as it stands, the number of instructions you execute, the number of bytes in the script, and the fee you pay, are all approximately proportional. – Nate Eldredge – 2013-11-25T18:08:49.783