3

Truebit is a recent proposal for building smart contracts on top of Ethereum. Truebit allows outsourcing complex computations to untrusted parties, verifying that the computation was done correctly, and paying them for their work. The enforcement and incentives are implemented as a set of Ethereum smart contracts. This is an improvement over current Ethereum, as currently the gas limit means that Ethereum smart contracts can only perform a limited amount of computation.

There are various proposals for sharding, which allow the Ethereum blockchain to scale to a larger number of transactions. They might plausibly allow for increasing the gas limit. So, they could be viewed as an alternative to Truebit.

What advantages and disadvantages does Truebit have over sharding, as a way of allowing smart contracts to perform more computation?

1 Answer 1

3

They solve different problems and can be both used together.

Truebit is about outsourcing heavy computations. For example a simulation may require thousands of hours of computing. You only need in the blockchain the final result and a protocol to ensure the result matches the algorithm output. But the computations are done outside of the blockchain.

Sharding is about not having the whole network validate all transactions. But each transaction still has to be run in at least one node. The amount of computations is limited by how powerfull a node can be. Transaction should be cheaper because nodes do not have to validate all transaction meaning you can process more transactions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.