How Does Ethereum Verify Contract Execution?steemCreated with Sketch.

in #cryptocurrency9 years ago

The trusted transaction


One way to imagine this is to think of Ethereum as a large global bank holding all reserves. This would mean no other interaction would go on with any other banks. All transactions would be internal. As this is on the blockchain so no employees are required.

Ethereum contains all the accounts of the holders, and each account contains Ether - the currency of Ethereum. There is no physical transaction here. Account balances are just debited and credited.

In Ethereum the list of accounts and all balances is known as a state. Every transaction on the network can be seen as a state transition.



Source


Contract execution


Contracts are executed when several transactions occur. In our bank model the contracts have accounts too as well as the account holders. They act like lawyer middle men.

We can always check that a transaction contract has been executed correctly by checking if the two state transitions took place. Once the initial transaction is done, one account will be depleted by XYZ Eth, then the contract account should increase by XYZ Eth. After this the contract account will deplete, and the recipient balance will begin to increase in XYZ Eth.

In our banking model, the account model holders are part of a transactional blockchain operation that is both trusted and secure. This is one of the joys of Ethereum ... amongst many others! For more info see the Ethereum White Paper

Eth/Steem on!

@mindhunter


Sort:  

Thanx for explaining!

Andreas

I tried to make it like I was explaining it to a 5 years old @ajaub1962 :)

To a 5 years old a little bit difficult, but for me nearly 55 years old suitable ;-)

Andreas

Full respect to you Sir :)

This post has been ranked within the top 50 most undervalued posts in the second half of May 02. We estimate that this post is undervalued by $4.53 as compared to a scenario in which every voter had an equal say.

See the full rankings and details in The Daily Tribune: May 02 - Part II. You can also read about some of our methodology, data analysis and technical details in our initial post.

If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.

Coin Marketplace

STEEM 0.09
TRX 0.29
JST 0.036
BTC 101985.37
ETH 3407.00
USDT 1.00
SBD 0.56