Documentation ¶
Overview ¶
Package accounts is a generated protocol buffer package.
It is generated from these files:
account.proto
It has these top-level messages:
Account MinerAccount Accounts MinerAccounts Config
Index ¶
- func SyncBlock(host string)
- type Account
- type Accounts
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetChain33Host() string
- func (m *Config) GetDataDir() string
- func (m *Config) GetJrpcBindAddr() string
- func (m *Config) GetMinerAddr() []string
- func (m *Config) GetWhitelist() []string
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- type MinerAccount
- func (*MinerAccount) Descriptor() ([]byte, []int)
- func (m *MinerAccount) GetAddr() string
- func (m *MinerAccount) GetExpectIncrease() string
- func (m *MinerAccount) GetExpectMinerBlocks() string
- func (m *MinerAccount) GetFrozen() string
- func (m *MinerAccount) GetIncrease() string
- func (m *MinerAccount) GetMinerBtyDuring() string
- func (m *MinerAccount) GetTotal() string
- func (*MinerAccount) ProtoMessage()
- func (m *MinerAccount) Reset()
- func (m *MinerAccount) String() string
- type MinerAccounts
- func (*MinerAccounts) Descriptor() ([]byte, []int)
- func (m *MinerAccounts) GetBlocks() int64
- func (m *MinerAccounts) GetExpectBlocks() int64
- func (m *MinerAccounts) GetExpectTotalIncrease() string
- func (m *MinerAccounts) GetMinerAccounts() []*MinerAccount
- func (m *MinerAccounts) GetSeconds() int64
- func (m *MinerAccounts) GetTotalIncrease() string
- func (*MinerAccounts) ProtoMessage()
- func (m *MinerAccounts) Reset()
- func (m *MinerAccounts) String() string
- type ShowMinerAccount
- type TimeAt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"` Frozen string `protobuf:"bytes,2,opt,name=frozen" json:"frozen,omitempty"` Balance string `protobuf:"bytes,3,opt,name=balance" json:"balance,omitempty"` }
func (*Account) Descriptor ¶
func (*Account) GetBalance ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
type Accounts ¶
type Accounts struct {
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts" json:"accounts,omitempty"`
}
func (*Accounts) Descriptor ¶
func (*Accounts) GetAccounts ¶
func (*Accounts) ProtoMessage ¶
func (*Accounts) ProtoMessage()
type Config ¶
type Config struct { Whitelist []string `protobuf:"bytes,1,rep,name=whitelist" json:"whitelist,omitempty"` JrpcBindAddr string `protobuf:"bytes,2,opt,name=jrpcBindAddr" json:"jrpcBindAddr,omitempty"` DataDir string `protobuf:"bytes,3,opt,name=dataDir" json:"dataDir,omitempty"` MinerAddr []string `protobuf:"bytes,4,rep,name=minerAddr" json:"minerAddr,omitempty"` Chain33Host string `protobuf:"bytes,5,opt,name=chain33host" json:"chain33host,omitempty"` }
func (*Config) Descriptor ¶
func (*Config) GetChain33Host ¶
func (*Config) GetDataDir ¶
func (*Config) GetJrpcBindAddr ¶
func (*Config) GetMinerAddr ¶
func (*Config) GetWhitelist ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type MinerAccount ¶
type MinerAccount struct { Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"` Total string `protobuf:"bytes,2,opt,name=total" json:"total,omitempty"` Increase string `protobuf:"bytes,3,opt,name=increase" json:"increase,omitempty"` Frozen string `protobuf:"bytes,4,opt,name=frozen" json:"frozen,omitempty"` ExpectIncrease string `protobuf:"bytes,5,opt,name=expectIncrease" json:"expectIncrease,omitempty"` MinerBtyDuring string `protobuf:"bytes,6,opt,name=minerBtyDuring" json:"minerBtyDuring,omitempty"` ExpectMinerBlocks string `protobuf:"bytes,7,opt,name=expectMinerBlocks" json:"expectMinerBlocks,omitempty"` }
func (*MinerAccount) Descriptor ¶
func (*MinerAccount) Descriptor() ([]byte, []int)
func (*MinerAccount) GetAddr ¶
func (m *MinerAccount) GetAddr() string
func (*MinerAccount) GetExpectIncrease ¶
func (m *MinerAccount) GetExpectIncrease() string
func (*MinerAccount) GetExpectMinerBlocks ¶
func (m *MinerAccount) GetExpectMinerBlocks() string
func (*MinerAccount) GetFrozen ¶
func (m *MinerAccount) GetFrozen() string
func (*MinerAccount) GetIncrease ¶
func (m *MinerAccount) GetIncrease() string
func (*MinerAccount) GetMinerBtyDuring ¶
func (m *MinerAccount) GetMinerBtyDuring() string
func (*MinerAccount) GetTotal ¶
func (m *MinerAccount) GetTotal() string
func (*MinerAccount) ProtoMessage ¶
func (*MinerAccount) ProtoMessage()
func (*MinerAccount) Reset ¶
func (m *MinerAccount) Reset()
func (*MinerAccount) String ¶
func (m *MinerAccount) String() string
type MinerAccounts ¶
type MinerAccounts struct { MinerAccounts []*MinerAccount `protobuf:"bytes,1,rep,name=minerAccounts" json:"minerAccounts,omitempty"` Seconds int64 `protobuf:"varint,2,opt,name=seconds" json:"seconds,omitempty"` TotalIncrease string `protobuf:"bytes,3,opt,name=totalIncrease" json:"totalIncrease,omitempty"` Blocks int64 `protobuf:"varint,4,opt,name=blocks" json:"blocks,omitempty"` ExpectBlocks int64 `protobuf:"varint,5,opt,name=expectBlocks" json:"expectBlocks,omitempty"` ExpectTotalIncrease string `protobuf:"bytes,6,opt,name=expectTotalIncrease" json:"expectTotalIncrease,omitempty"` }
func (*MinerAccounts) Descriptor ¶
func (*MinerAccounts) Descriptor() ([]byte, []int)
func (*MinerAccounts) GetBlocks ¶
func (m *MinerAccounts) GetBlocks() int64
func (*MinerAccounts) GetExpectBlocks ¶
func (m *MinerAccounts) GetExpectBlocks() int64
func (*MinerAccounts) GetExpectTotalIncrease ¶
func (m *MinerAccounts) GetExpectTotalIncrease() string
func (*MinerAccounts) GetMinerAccounts ¶
func (m *MinerAccounts) GetMinerAccounts() []*MinerAccount
func (*MinerAccounts) GetSeconds ¶
func (m *MinerAccounts) GetSeconds() int64
func (*MinerAccounts) GetTotalIncrease ¶
func (m *MinerAccounts) GetTotalIncrease() string
func (*MinerAccounts) ProtoMessage ¶
func (*MinerAccounts) ProtoMessage()
func (*MinerAccounts) Reset ¶
func (m *MinerAccounts) Reset()
func (*MinerAccounts) String ¶
func (m *MinerAccounts) String() string
type ShowMinerAccount ¶
func (*ShowMinerAccount) Echo ¶
func (*ShowMinerAccount) Echo(in *string, out *interface{}) error
func (*ShowMinerAccount) Get ¶
func (show *ShowMinerAccount) Get(in *TimeAt, out *interface{}) error
Click to show internal directories.
Click to hide internal directories.