AMBR World State

in #crypto5 years ago

worlds.png

World-state is the latest global status of the Blockchain. Fabric stores the latest state that occurred after a historical transaction. The implementation uses a key value or document database.

In Ambr's verification chain, the world state is a Merkle tree structure consisting of the account address and the corresponding state. A Merkle tree is a binary tree consisting of a root node, a set of intermediate nodes, and a set of leaf nodes. The bottom leaf node contains the stored data or its hash value, each parent node is the hash value of its two child nodes, and the root node is also composed of the hash values of its two child nodes.

For ordinary external accounts, each state is the account of both parties involved in the transaction. The account address of the receiving and sending, and the corresponding status (balance, etc.) are stored. A contract account has to save more data:

  • The account details of the transaction.

  • The status of the execution result of the contract account.

  • The status result affected by the contract code.

  • The status result of the fee receiver account.

#ambr #vocabulary #bitcoin #cryptocurrency #ethereum #DAG

steemit001.png

🔥Our Social Media Channels🔥
Twitter:
https://twitter.com/AmbrGlobal

Facebook:
https://www.facebook.com/Ambr.Global.Blockchain

GitHub:
https://github.com/Ambr-org/Ambr

SteemIT:
https://steemit.com/@ambr.global

Bitcointalk ANN:
https://bitcointalk.org/index.php?topic=5080890

Reddit:
https://www.reddit.com/user/AmbrGlobal

Instagram:
https://www.instagram.com/ambr.global

Medium:
https://medium.com/@ambr.global

Telegram:
https://t.me/AmbrGlobal2

Telegram Developers Community:
https://t.me/AmbrGlobal
(only for developers)

Coin Marketplace

STEEM 0.28
TRX 0.11
JST 0.031
BTC 69107.15
ETH 3882.60
USDT 1.00
SBD 3.65