State Tree
-
State
reliable
-
Theory Audit
wip
-
Edit this section
-
section-systems.filecoin_vm.state_tree
-
State
reliable
-
Theory Audit
wip
- Edit this section
-
section-systems.filecoin_vm.state_tree
The State Tree is the output of the execution of any operation applied on the Filecoin Blockchain. The on-chain (i.e., VM) state data structure is a map (in the form of a Hash Array Mapped Trie - HAMT) that binds addresses to actor states. The current State Tree function is called by the VM upon every actor method invocation.
type StateTree struct {
root adt.Map
version types.StateTreeVersion
info cid.Cid
Store cbor.IpldStore
lookupIDFun func(address.Address) (address.Address, error)
snaps *stateSnaps
}