package
0.2.2
Repository: https://github.com/fractal-platform/fractal.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisBlock returns the main net genesis block.
DefaultTestnet2GenesisBlock returns the test2 network genesis block.
DefaultTestnet3GenesisBlock returns the test3 network genesis block.
DefaultTestnetGenesisBlock returns the test network genesis block.
No description provided by the author
No description provided by the author
NewNodeConfig creates the default NodeConfig and return it.
SetupChainConfig determine the current chain config, and write chain config to db.
SetupChainConfig determine the genesis block of the current chain, and write the genesis block to db.

# Constants

Default data dir for the node.
Default host interface for the RPC server.
Default TCP port for the RPC server.

# Variables

DefaultConfig contains default settings for use on the Fractal private net.
No description provided by the author
DefaultMainnetConfig contains default settings for use on the Fractal main net.
DefaultPoolConfig contains the default configurations for the transaction pool.
DefaultPoolConfig contains the default configurations for the transaction pool.
DefaultConfig contains default settings for use on the Fractal test net.
DefaultConfig contains default settings for use on the Fractal test net.
DefaultConfig contains default settings for use on the Fractal test net.
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
No description provided by the author

# Structs

ChainConfig is the config for the current chain.
No description provided by the author
No description provided by the author
Genesis specifies the header fields of genesis block, and the genesis state of the chain.
GenesisMismatchError raised when stored genesis block conflicts with the input genesis config.
NodeConfig represents the config set for the running node.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
GenesisAccount is an account in the state of the genesis block.
GenesisAlloc specifies the initial state that is part of the genesis block.