module

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportGenesisHandler

type ExportGenesisHandler func(ctx types.Context, cdc codec.Codec) (json.RawMessage, error)

type InitGenesisHandler

type InitGenesisHandler func(ctx types.Context, cdc codec.Codec, data json.RawMessage) ([]abci.ValidatorUpdate, error)

type Module

type Module interface {
	Name() string
}

Module is the base module type that all modules (client and server) must satisfy.

type TypeModule

type TypeModule interface {
	Module

	RegisterInterfaces(types.InterfaceRegistry)
}

TypeModule is an interface that modules should implement to register types.

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL