package
0.108.1
Repository: https://github.com/nspcc-dev/neo-go.git
Documentation: pkg.go.dev

# Packages

Package block contains Neo block definition.
No description provided by the author
No description provided by the author
No description provided by the author
Package interop contains implementations of Neo interop functions.
No description provided by the author
No description provided by the author
Package mpt implements MPT (Merkle-Patricia Trie).
Package native contains Neo native contracts.
No description provided by the author
No description provided by the author
Package statesync implements module for the P2P state synchronisation process.
No description provided by the author
Package transaction contains Neo transaction definition.

# Functions

CreateGenesisBlock creates a genesis block based on the given configuration.
NewBlockchain returns a new blockchain object the will use the given Store as its underlying storage.
SpawnVM returns a VM with script getter and interop functions set up for current blockchain.

# Constants

DefaultInitialGAS is the default amount of GAS emitted to the standby validators multisignature account during native GAS contract initialization.
3 GAS.

# Variables

ErrAlreadyExists is returned when trying to add some transaction that already exists on chain.
ErrAlreadyInPool is returned when trying to add some already existing transaction into the mempool.
ErrHasConflicts is returned when trying to add some transaction which conflicts with other transaction in the chain or pool according to Conflicts attribute.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returned upon verification.
Various errors that could be returned upon verification.
ErrInvalidBlockIndex is returned when trying to add block with index other than expected height of the blockchain.
Various witness verification errors.
Various errors that could be returned upon verification.
Various witness verification errors.
Various witness verification errors.
Various witness verification errors.
Various errors that could be returned upon verification.
Various witness verification errors.
ErrOOM is returned when adding transaction to the memory pool because it reached its full capacity.
ErrPolicy is returned on attempt to add transaction that doesn't comply with node's configured policy into the mempool.
Various errors that could be returned upon verification.
Various errors that could be returned upon verification.
Various errors that could be returned upon verification.
Various witness verification errors.
Various witness verification errors.
Various witness verification errors.

# Structs

Blockchain represents the blockchain.
HeaderHashes is a header hash manager part of the Blockchain.

# Interfaces

StateRoot represents local state root module.