package
0.0.0-20240305095038-e87e1d8a3d70
Repository: https://github.com/ngchain/ngcore.git
Documentation: pkg.go.dev

# Functions

CheckBlockTxs will check all requirements for txs in block.
CheckTx will check the requirements for one tx (except generate tx).
InitStateFromGenesis will initialize the state in the given db, with the default genesis sheet data.
InitStateFromSheet will initialize the state in the given db, with the sheet data this func is written for snapshot sync/converging when initializing from non-genesis checkpoint.
NewVM creates a new Wasm call me when a assign or append tx.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
State is a global set of account & txs status (nil) --> B0(Prev: S0) --> B1(Prev: S1) -> B2(Prev: S2) init (S0,S0) --> (S0,S1) --> (S1, S2).
VM is a vm based on wasmtime, which acts as a sandbox env to exec native func.