Documentation
¶
Index ¶
- Variables
- func Deploy(params *DeployParams) (*address.Address, error)
- type Config
- func (c *Config) Address() *address.Address
- func (c *Config) Alias() string
- func (c *Config) BootupData() *registry.BootupData
- func (c *Config) Committee() []int
- func (c *Config) Deploy(sigScheme signaturescheme.SignatureScheme) error
- func (c *Config) HandleCmd(args []string, commands map[string]func([]string))
- func (c *Config) HandleSetCmd(args []string)
- func (c *Config) Href() string
- func (c *Config) IsAvailable() bool
- func (c *Config) PrintUsage(s string)
- func (c *Config) Quorum() uint16
- func (c *Config) SetAddress(address string)
- func (c *Config) SetCommittee(indexes []int)
- func (c *Config) SetQuorum(n uint16)
- type DeployParams
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCommittee = []int{0, 1, 2, 3}
Functions ¶
Types ¶
type Config ¶
type Config struct { ShortName string Name string ProgramHash string // contains filtered or unexported fields }
func (*Config) BootupData ¶
func (c *Config) BootupData() *registry.BootupData
func (*Config) Deploy ¶
func (c *Config) Deploy(sigScheme signaturescheme.SignatureScheme) error
func (*Config) HandleSetCmd ¶
func (*Config) IsAvailable ¶
func (*Config) PrintUsage ¶
func (*Config) SetAddress ¶
func (*Config) SetCommittee ¶
type DeployParams ¶
type DeployParams struct { Quorum uint16 Committee []int Description string ProgramHash string SigScheme signaturescheme.SignatureScheme }
Click to show internal directories.
Click to hide internal directories.