4 ms·
> Interestingly enough - there's even ways to make the answer to any computable problem the keys to unlock a Bitcoin payment Sure, bitcoin script can in theory
by cdetrio 11y ago
> Interestingly enough - there's even ways to make the answer to any computable problem the keys to unlock a Bitcoin payment
Sure, bitcoin script can in theory compute any computable problem (as can any turing machine). But it doesn't have native access to the data it needs, so pretty much any input you'd want to use needs to be put there by a trusted "oracle" (through a clever encoding into UTXO logic). For example, bitcoin script can't compare the amount of coins sent to two different bitcoin addresses, so you'd need to use oracles to do that [1]. In ethereum script it is trivial to do it on-chain (no oracles needed), since it was designed from the ground up for such use-cases (i.e. "smart contracts").
1. http://bitcoin.stackexchange.com/questions/36229/bitcoin-script-for-a-competitive-crowdfunding-like-contract http://bitcoin.stackexchange.com/questions/36229/bitcoin-scr...
- Anonobread 11y agoBut you can port any and all features to sidechains or Enigma [1], and in doing so make them accessible to a much bigger market, denominated in BTC which is a more stable and proven unit of account. Or at least that's how the story is supposed to go. In theory, porting nice-to-have features to a larger audience results in more revenue and more overall societal benefit than starting a new scarcity race, which Ethereum has done, pitting investors against each other. [1]: http://enigma.media.mit.edu/ http://enigma.media.mit.edu/
- mymosh 11y agoI don't think so, because Bitcoin Script is not Turing complete.
- cdetrio 11y agoI've heard both arguments: (1) bitcoin script has no loops and so isnt turing complete; but (2) no loops is not a real limitation because the logic just be unrolled ahead of time and packed into a transaction. Ethereum script is said to only be quasi-turing complete because although it has loops, execution is metered by gas fees (functionally equivalent to bitcoin tx size).