arbitration

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGenesis

func InitGenesis(ctx sdk.Context, data GenesisState)

InitGenesis - store genesis parameters

Types

type GenesisState

type GenesisState struct {
	ComplaintRetrospect  time.Duration `json:"complaint_retrospect"`
	ArbitrationTimelimit time.Duration `json:"arbitration_timelimit"`
}

GenesisState - all arbitration state that must be provided at genesis

func DefaultGenesisState

func DefaultGenesisState() GenesisState

get raw genesis raw message for testing

func DefaultGenesisStateForTest

func DefaultGenesisStateForTest() GenesisState

get raw genesis raw message for testing

func ExportGenesis

func ExportGenesis(ctx sdk.Context) GenesisState

ExportGenesis - output genesis parameters

func NewGenesisState

func NewGenesisState(complaintRetrospect, arbitrationTimelimit time.Duration) GenesisState

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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