Ethereum Theory - Ethereum Account

Ethereum account

Compared with Bitcoin, Ethereum account is a very epoch-making invention of Ethereum. Because of the emergence of account, Ethereum can not only support direct currency transfer in Bitcoin, but also support more complex smart contracts.

The way to record Bitcoin transfer transactions is very simple, just record how much money is transferred from one account to another. Apart from that, no other additional information was recorded. So there is such a situation. For example, Zhang San sends a message to the blockchain through his wallet, saying, I want to transfer 10 bitcoins to Li Si, then the miner who receives the message needs to go back along the blockchain to see Zhang San. 3. Have you actually received assets of more than 10 bitcoins before? If you find that you don’t have them, you will refuse to record them. If you find them, you will record them normally.

The above logic has a disadvantage, that is, it has to backtrack for all transactions, and it is almost impossible to support more complex transactions other than transfers.

As a result, Bitcoin's successor, Ethereum, adopted a completely new model for recording transactions. This model is the account model. The account mode can not only support currency transactions such as transfers, but also more complex transactions, the logic of which is given by smart contracts.

Guess you like

Origin blog.csdn.net/u012331525/article/details/122237859