accounts

package
v0.0.0-...-1c4572a Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: BSD-2-Clause Imports: 10 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncBlock

func SyncBlock(host string)

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) Descriptor() ([]byte, []int)

func (*Account) GetAddr

func (m *Account) GetAddr() string

func (*Account) GetBalance

func (m *Account) GetBalance() string

func (*Account) GetFrozen

func (m *Account) GetFrozen() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

type Accounts

type Accounts struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts" json:"accounts,omitempty"`
}

func (*Accounts) Descriptor

func (*Accounts) Descriptor() ([]byte, []int)

func (*Accounts) GetAccounts

func (m *Accounts) GetAccounts() []*Account

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) Reset

func (m *Accounts) Reset()

func (*Accounts) String

func (m *Accounts) String() string

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) Descriptor() ([]byte, []int)

func (*Config) GetChain33Host

func (m *Config) GetChain33Host() string

func (*Config) GetDataDir

func (m *Config) GetDataDir() string

func (*Config) GetJrpcBindAddr

func (m *Config) GetJrpcBindAddr() string

func (*Config) GetMinerAddr

func (m *Config) GetMinerAddr() []string

func (*Config) GetWhitelist

func (m *Config) GetWhitelist() []string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

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

type ShowMinerAccount struct {
	DataDir string
	Addrs   []string
}

func (*ShowMinerAccount) Echo

func (*ShowMinerAccount) Echo(in *string, out *interface{}) error

func (*ShowMinerAccount) Get

func (show *ShowMinerAccount) Get(in *TimeAt, out *interface{}) error

type TimeAt

type TimeAt struct {
	// YYYY-mm-dd-HH
	TimeAt string   `json:"timeAt,omitempty"`
	Addrs  []string `json:"addrs,omitempty"`
}

Jump to

Keyboard shortcuts

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