Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidTxError ¶ added in v0.7.0
func (InvalidTxError) Error ¶ added in v0.7.0
func (txErr InvalidTxError) Error() string
type State ¶
type State struct { GenesisDoc *types.GenesisDoc ChainID string LastBlockHeight int // Genesis state has this set to 0. So, Block(H=0) does not exist. LastBlockHash []byte LastBlockParts types.PartSetHeader LastBlockTime time.Time Validators *types.ValidatorSet LastValidators *types.ValidatorSet AppHash []byte // contains filtered or unexported fields }
NOTE: not goroutine-safe.
func MakeGenesisState ¶
func MakeGenesisState(db dbm.DB, genDoc *types.GenesisDoc) *State
Click to show internal directories.
Click to hide internal directories.