Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AdmissionCommand = cli.Command{
		Name:  "admission",
		Usage: "Manage Admission Contract",
		Description: `

		Manage Admission Contract
		`,
		Flags: flags.GeneralFlags,
		Subcommands: []cli.Command{
			{
				Name:        "setcpu",
				Usage:       "set cpu difficulty",
				Action:      setCPUDifficulty,
				Flags:       flags.GeneralFlags,
				ArgsUsage:   "int",
				Description: `set cpu difficulty`,
			},
			{
				Name:        "setmem",
				Usage:       "set memory difficulty",
				Action:      setMemDifficulty,
				Flags:       flags.GeneralFlags,
				ArgsUsage:   "int",
				Description: `set memory difficulty`,
			},
			{
				Name:        "show",
				Usage:       "Show CPU difficulty and memory difficulty",
				Action:      showDifficulties,
				Flags:       flags.GeneralFlags,
				Description: `show cpu difficulty and memory difficulty`,
			},
		},
	}
)

Functions

This section is empty.

Types

This section is empty.