common

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Url                  string   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAddress

func (m *Account) GetAddress() string

func (*Account) GetUrl

func (m *Account) GetUrl() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Account) XXX_Merge

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

func (m *Account) XXX_Unmarshal(b []byte) error

type Accounts

type Accounts struct {
	Accounts             []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

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

func (*Accounts) XXX_DiscardUnknown

func (m *Accounts) XXX_DiscardUnknown()

func (*Accounts) XXX_Marshal

func (m *Accounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Accounts) XXX_Merge

func (m *Accounts) XXX_Merge(src proto.Message)

func (*Accounts) XXX_Size

func (m *Accounts) XXX_Size() int

func (*Accounts) XXX_Unmarshal

func (m *Accounts) XXX_Unmarshal(b []byte) error

type Address

type Address struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Address) Descriptor

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

func (*Address) GetAddress

func (m *Address) GetAddress() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Address) XXX_Merge

func (m *Address) XXX_Merge(src proto.Message)

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

func (m *Address) XXX_Unmarshal(b []byte) error

type Addresses

type Addresses struct {
	Addresses            []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Addresses) Descriptor

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

func (*Addresses) GetAddresses

func (m *Addresses) GetAddresses() []string

func (*Addresses) ProtoMessage

func (*Addresses) ProtoMessage()

func (*Addresses) Reset

func (m *Addresses) Reset()

func (*Addresses) String

func (m *Addresses) String() string

func (*Addresses) XXX_DiscardUnknown

func (m *Addresses) XXX_DiscardUnknown()

func (*Addresses) XXX_Marshal

func (m *Addresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Addresses) XXX_Merge

func (m *Addresses) XXX_Merge(src proto.Message)

func (*Addresses) XXX_Size

func (m *Addresses) XXX_Size() int

func (*Addresses) XXX_Unmarshal

func (m *Addresses) XXX_Unmarshal(b []byte) error

type BadBlockArg

type BadBlockArg struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Rlp                  string   `protobuf:"bytes,2,opt,name=rlp,proto3" json:"rlp,omitempty"`
	Block                *Block   `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BadBlockArg) Descriptor

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

func (*BadBlockArg) GetBlock

func (m *BadBlockArg) GetBlock() *Block

func (*BadBlockArg) GetHash

func (m *BadBlockArg) GetHash() string

func (*BadBlockArg) GetRlp

func (m *BadBlockArg) GetRlp() string

func (*BadBlockArg) ProtoMessage

func (*BadBlockArg) ProtoMessage()

func (*BadBlockArg) Reset

func (m *BadBlockArg) Reset()

func (*BadBlockArg) String

func (m *BadBlockArg) String() string

func (*BadBlockArg) XXX_DiscardUnknown

func (m *BadBlockArg) XXX_DiscardUnknown()

func (*BadBlockArg) XXX_Marshal

func (m *BadBlockArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BadBlockArg) XXX_Merge

func (m *BadBlockArg) XXX_Merge(src proto.Message)

func (*BadBlockArg) XXX_Size

func (m *BadBlockArg) XXX_Size() int

func (*BadBlockArg) XXX_Unmarshal

func (m *BadBlockArg) XXX_Unmarshal(b []byte) error

type BadBlockArgs

type BadBlockArgs struct {
	BadBlockArgs         []*BadBlockArg `protobuf:"bytes,1,rep,name=badBlockArgs,proto3" json:"badBlockArgs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

BadBlockArgs represents the entries in the list returned when bad blocks are queried.

func (*BadBlockArgs) Descriptor

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

func (*BadBlockArgs) GetBadBlockArgs

func (m *BadBlockArgs) GetBadBlockArgs() []*BadBlockArg

func (*BadBlockArgs) ProtoMessage

func (*BadBlockArgs) ProtoMessage()

func (*BadBlockArgs) Reset

func (m *BadBlockArgs) Reset()

func (*BadBlockArgs) String

func (m *BadBlockArgs) String() string

func (*BadBlockArgs) XXX_DiscardUnknown

func (m *BadBlockArgs) XXX_DiscardUnknown()

func (*BadBlockArgs) XXX_Marshal

func (m *BadBlockArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BadBlockArgs) XXX_Merge

func (m *BadBlockArgs) XXX_Merge(src proto.Message)

func (*BadBlockArgs) XXX_Size

func (m *BadBlockArgs) XXX_Size() int

func (*BadBlockArgs) XXX_Unmarshal

func (m *BadBlockArgs) XXX_Unmarshal(b []byte) error

type Balance

type Balance struct {
	Balance              string   `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Balance) Descriptor

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

func (*Balance) GetBalance

func (m *Balance) GetBalance() string

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) Reset

func (m *Balance) Reset()

func (*Balance) String

func (m *Balance) String() string

func (*Balance) XXX_DiscardUnknown

func (m *Balance) XXX_DiscardUnknown()

func (*Balance) XXX_Marshal

func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Balance) XXX_Merge

func (m *Balance) XXX_Merge(src proto.Message)

func (*Balance) XXX_Size

func (m *Balance) XXX_Size() int

func (*Balance) XXX_Unmarshal

func (m *Balance) XXX_Unmarshal(b []byte) error

type Block

type Block struct {
	Number               uint64            `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Hash                 string            `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	ParentHash           string            `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
	LogsBloom            []byte            `protobuf:"bytes,6,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
	StateRoot            string            `protobuf:"bytes,7,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"`
	Miner                string            `protobuf:"bytes,8,opt,name=miner,proto3" json:"miner,omitempty"`
	Difficulty           uint64            `protobuf:"varint,9,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	ExtraData            []byte            `protobuf:"bytes,10,opt,name=extraData,proto3" json:"extraData,omitempty"`
	Size                 uint64            `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"`
	GasLimit             uint64            `protobuf:"varint,12,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	GasUsed              uint64            `protobuf:"varint,13,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	Timestamp            string            `protobuf:"bytes,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	TransactionsRoot     string            `protobuf:"bytes,15,opt,name=transactionsRoot,proto3" json:"transactionsRoot,omitempty"`
	ReceiptsRoot         string            `protobuf:"bytes,16,opt,name=receiptsRoot,proto3" json:"receiptsRoot,omitempty"`
	Error                string            `protobuf:"bytes,17,opt,name=error,proto3" json:"error,omitempty"`
	Transactions         []*RpcTransaction `protobuf:"bytes,18,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Block) Descriptor

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

func (*Block) GetDifficulty

func (m *Block) GetDifficulty() uint64

func (*Block) GetError

func (m *Block) GetError() string

func (*Block) GetExtraData

func (m *Block) GetExtraData() []byte

func (*Block) GetGasLimit

func (m *Block) GetGasLimit() uint64

func (*Block) GetGasUsed

func (m *Block) GetGasUsed() uint64

func (*Block) GetHash

func (m *Block) GetHash() string

func (*Block) GetLogsBloom

func (m *Block) GetLogsBloom() []byte

func (*Block) GetMiner

func (m *Block) GetMiner() string

func (*Block) GetNumber

func (m *Block) GetNumber() uint64

func (*Block) GetParentHash

func (m *Block) GetParentHash() string

func (*Block) GetReceiptsRoot

func (m *Block) GetReceiptsRoot() string

func (*Block) GetSize

func (m *Block) GetSize() uint64

func (*Block) GetStateRoot

func (m *Block) GetStateRoot() string

func (*Block) GetTimestamp

func (m *Block) GetTimestamp() string

func (*Block) GetTransactions

func (m *Block) GetTransactions() []*RpcTransaction

func (*Block) GetTransactionsRoot

func (m *Block) GetTransactionsRoot() string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

func (m *Block) XXX_Unmarshal(b []byte) error

type BlockHash

type BlockHash struct {
	BlockHash            string   `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockHash) Descriptor

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

func (*BlockHash) GetBlockHash

func (m *BlockHash) GetBlockHash() string

func (*BlockHash) ProtoMessage

func (*BlockHash) ProtoMessage()

func (*BlockHash) Reset

func (m *BlockHash) Reset()

func (*BlockHash) String

func (m *BlockHash) String() string

func (*BlockHash) XXX_DiscardUnknown

func (m *BlockHash) XXX_DiscardUnknown()

func (*BlockHash) XXX_Marshal

func (m *BlockHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockHash) XXX_Merge

func (m *BlockHash) XXX_Merge(src proto.Message)

func (*BlockHash) XXX_Size

func (m *BlockHash) XXX_Size() int

func (*BlockHash) XXX_Unmarshal

func (m *BlockHash) XXX_Unmarshal(b []byte) error

type BlockNumber

type BlockNumber struct {
	BlockNumber          int64    `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockNumber) Descriptor

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

func (*BlockNumber) GetBlockNumber

func (m *BlockNumber) GetBlockNumber() int64

func (*BlockNumber) ProtoMessage

func (*BlockNumber) ProtoMessage()

func (*BlockNumber) Reset

func (m *BlockNumber) Reset()

func (*BlockNumber) String

func (m *BlockNumber) String() string

func (*BlockNumber) XXX_DiscardUnknown

func (m *BlockNumber) XXX_DiscardUnknown()

func (*BlockNumber) XXX_Marshal

func (m *BlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockNumber) XXX_Merge

func (m *BlockNumber) XXX_Merge(src proto.Message)

func (*BlockNumber) XXX_Size

func (m *BlockNumber) XXX_Size() int

func (*BlockNumber) XXX_Unmarshal

func (m *BlockNumber) XXX_Unmarshal(b []byte) error

type Code

type Code struct {
	Code                 []byte   `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Code) Descriptor

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

func (*Code) GetCode

func (m *Code) GetCode() []byte

func (*Code) ProtoMessage

func (*Code) ProtoMessage()

func (*Code) Reset

func (m *Code) Reset()

func (*Code) String

func (m *Code) String() string

func (*Code) XXX_DiscardUnknown

func (m *Code) XXX_DiscardUnknown()

func (*Code) XXX_Marshal

func (m *Code) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Code) XXX_Merge

func (m *Code) XXX_Merge(src proto.Message)

func (*Code) XXX_Size

func (m *Code) XXX_Size() int

func (*Code) XXX_Unmarshal

func (m *Code) XXX_Unmarshal(b []byte) error

type Dump

type Dump struct {
	Root                 string                  `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Accounts             map[string]*DumpAccount `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Dump) Descriptor

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

func (*Dump) GetAccounts

func (m *Dump) GetAccounts() map[string]*DumpAccount

func (*Dump) GetRoot

func (m *Dump) GetRoot() string

func (*Dump) ProtoMessage

func (*Dump) ProtoMessage()

func (*Dump) Reset

func (m *Dump) Reset()

func (*Dump) String

func (m *Dump) String() string

func (*Dump) XXX_DiscardUnknown

func (m *Dump) XXX_DiscardUnknown()

func (*Dump) XXX_Marshal

func (m *Dump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dump) XXX_Merge

func (m *Dump) XXX_Merge(src proto.Message)

func (*Dump) XXX_Size

func (m *Dump) XXX_Size() int

func (*Dump) XXX_Unmarshal

func (m *Dump) XXX_Unmarshal(b []byte) error

type DumpAccount

type DumpAccount struct {
	Balance              string            `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	Nonce                uint64            `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Root                 string            `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"`
	CodeHash             string            `protobuf:"bytes,4,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	Code                 string            `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
	Storage              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*DumpAccount) Descriptor

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

func (*DumpAccount) GetBalance

func (m *DumpAccount) GetBalance() string

func (*DumpAccount) GetCode

func (m *DumpAccount) GetCode() string

func (*DumpAccount) GetCodeHash

func (m *DumpAccount) GetCodeHash() string

func (*DumpAccount) GetNonce

func (m *DumpAccount) GetNonce() uint64

func (*DumpAccount) GetRoot

func (m *DumpAccount) GetRoot() string

func (*DumpAccount) GetStorage

func (m *DumpAccount) GetStorage() map[string]string

func (*DumpAccount) ProtoMessage

func (*DumpAccount) ProtoMessage()

func (*DumpAccount) Reset

func (m *DumpAccount) Reset()

func (*DumpAccount) String

func (m *DumpAccount) String() string

func (*DumpAccount) XXX_DiscardUnknown

func (m *DumpAccount) XXX_DiscardUnknown()

func (*DumpAccount) XXX_Marshal

func (m *DumpAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpAccount) XXX_Merge

func (m *DumpAccount) XXX_Merge(src proto.Message)

func (*DumpAccount) XXX_Size

func (m *DumpAccount) XXX_Size() int

func (*DumpAccount) XXX_Unmarshal

func (m *DumpAccount) XXX_Unmarshal(b []byte) error

type GasPrice

type GasPrice struct {
	GasPrice             int64    `protobuf:"varint,1,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GasPrice) Descriptor

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

func (*GasPrice) GetGasPrice

func (m *GasPrice) GetGasPrice() int64

func (*GasPrice) ProtoMessage

func (*GasPrice) ProtoMessage()

func (*GasPrice) Reset

func (m *GasPrice) Reset()

func (*GasPrice) String

func (m *GasPrice) String() string

func (*GasPrice) XXX_DiscardUnknown

func (m *GasPrice) XXX_DiscardUnknown()

func (*GasPrice) XXX_Marshal

func (m *GasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GasPrice) XXX_Merge

func (m *GasPrice) XXX_Merge(src proto.Message)

func (*GasPrice) XXX_Size

func (m *GasPrice) XXX_Size() int

func (*GasPrice) XXX_Unmarshal

func (m *GasPrice) XXX_Unmarshal(b []byte) error

type Hash

type Hash struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Hash) Descriptor

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

func (*Hash) GetHash

func (m *Hash) GetHash() string

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) Reset

func (m *Hash) Reset()

func (*Hash) String

func (m *Hash) String() string

func (*Hash) XXX_DiscardUnknown

func (m *Hash) XXX_DiscardUnknown()

func (*Hash) XXX_Marshal

func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hash) XXX_Merge

func (m *Hash) XXX_Merge(src proto.Message)

func (*Hash) XXX_Size

func (m *Hash) XXX_Size() int

func (*Hash) XXX_Unmarshal

func (m *Hash) XXX_Unmarshal(b []byte) error

type IsFull

type IsFull struct {
	IsFull               bool     `protobuf:"varint,1,opt,name=isFull,proto3" json:"isFull,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsFull) Descriptor

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

func (*IsFull) GetIsFull

func (m *IsFull) GetIsFull() bool

func (*IsFull) ProtoMessage

func (*IsFull) ProtoMessage()

func (*IsFull) Reset

func (m *IsFull) Reset()

func (*IsFull) String

func (m *IsFull) String() string

func (*IsFull) XXX_DiscardUnknown

func (m *IsFull) XXX_DiscardUnknown()

func (*IsFull) XXX_Marshal

func (m *IsFull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsFull) XXX_Merge

func (m *IsFull) XXX_Merge(src proto.Message)

func (*IsFull) XXX_Size

func (m *IsFull) XXX_Size() int

func (*IsFull) XXX_Unmarshal

func (m *IsFull) XXX_Unmarshal(b []byte) error

type IsOk

type IsOk struct {
	IsOk                 bool     `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IsOk return status

func (*IsOk) Descriptor

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

func (*IsOk) GetIsOk

func (m *IsOk) GetIsOk() bool

func (*IsOk) ProtoMessage

func (*IsOk) ProtoMessage()

func (*IsOk) Reset

func (m *IsOk) Reset()

func (*IsOk) String

func (m *IsOk) String() string

func (*IsOk) XXX_DiscardUnknown

func (m *IsOk) XXX_DiscardUnknown()

func (*IsOk) XXX_Marshal

func (m *IsOk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsOk) XXX_Merge

func (m *IsOk) XXX_Merge(src proto.Message)

func (*IsOk) XXX_Size

func (m *IsOk) XXX_Size() int

func (*IsOk) XXX_Unmarshal

func (m *IsOk) XXX_Unmarshal(b []byte) error

type Log

type Log struct {
	Removed              bool     `protobuf:"varint,1,opt,name=removed,proto3" json:"removed,omitempty"`
	BlockNumber          uint64   `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	TxIndex              uint64   `protobuf:"varint,3,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
	BlockHash            string   `protobuf:"bytes,4,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Index                uint32   `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	Address              string   `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	TxHash               string   `protobuf:"bytes,7,opt,name=txHash,proto3" json:"txHash,omitempty"`
	Data                 []byte   `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
	Topics               []string `protobuf:"bytes,9,rep,name=topics,proto3" json:"topics,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Log) Descriptor

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

func (*Log) GetAddress

func (m *Log) GetAddress() string

func (*Log) GetBlockHash

func (m *Log) GetBlockHash() string

func (*Log) GetBlockNumber

func (m *Log) GetBlockNumber() uint64

func (*Log) GetData

func (m *Log) GetData() []byte

func (*Log) GetIndex

func (m *Log) GetIndex() uint32

func (*Log) GetRemoved

func (m *Log) GetRemoved() bool

func (*Log) GetTopics

func (m *Log) GetTopics() []string

func (*Log) GetTxHash

func (m *Log) GetTxHash() string

func (*Log) GetTxIndex

func (m *Log) GetTxIndex() uint64

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) String

func (m *Log) String() string

func (*Log) XXX_DiscardUnknown

func (m *Log) XXX_DiscardUnknown()

func (*Log) XXX_Marshal

func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Log) XXX_Merge

func (m *Log) XXX_Merge(src proto.Message)

func (*Log) XXX_Size

func (m *Log) XXX_Size() int

func (*Log) XXX_Unmarshal

func (m *Log) XXX_Unmarshal(b []byte) error

type RawWallet

type RawWallet struct {
	Url                  string    `protobuf:"bytes,1,opt,name=Url,proto3" json:"Url,omitempty"`
	Status               string    `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Failure              string    `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
	Accounts             *Accounts `protobuf:"bytes,4,opt,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

RawWallet is a JSON representation of an accounts.Wallet interface, with its data contents extracted into plain fields.

func (*RawWallet) Descriptor

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

func (*RawWallet) GetAccounts

func (m *RawWallet) GetAccounts() *Accounts

func (*RawWallet) GetFailure

func (m *RawWallet) GetFailure() string

func (*RawWallet) GetStatus

func (m *RawWallet) GetStatus() string

func (*RawWallet) GetUrl

func (m *RawWallet) GetUrl() string

func (*RawWallet) ProtoMessage

func (*RawWallet) ProtoMessage()

func (*RawWallet) Reset

func (m *RawWallet) Reset()

func (*RawWallet) String

func (m *RawWallet) String() string

func (*RawWallet) XXX_DiscardUnknown

func (m *RawWallet) XXX_DiscardUnknown()

func (*RawWallet) XXX_Marshal

func (m *RawWallet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawWallet) XXX_Merge

func (m *RawWallet) XXX_Merge(src proto.Message)

func (*RawWallet) XXX_Size

func (m *RawWallet) XXX_Size() int

func (*RawWallet) XXX_Unmarshal

func (m *RawWallet) XXX_Unmarshal(b []byte) error

type RawWallets

type RawWallets struct {
	RawWallets           []*RawWallet `protobuf:"bytes,1,rep,name=rawWallets,proto3" json:"rawWallets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*RawWallets) Descriptor

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

func (*RawWallets) GetRawWallets

func (m *RawWallets) GetRawWallets() []*RawWallet

func (*RawWallets) ProtoMessage

func (*RawWallets) ProtoMessage()

func (*RawWallets) Reset

func (m *RawWallets) Reset()

func (*RawWallets) String

func (m *RawWallets) String() string

func (*RawWallets) XXX_DiscardUnknown

func (m *RawWallets) XXX_DiscardUnknown()

func (*RawWallets) XXX_Marshal

func (m *RawWallets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawWallets) XXX_Merge

func (m *RawWallets) XXX_Merge(src proto.Message)

func (*RawWallets) XXX_Size

func (m *RawWallets) XXX_Size() int

func (*RawWallets) XXX_Unmarshal

func (m *RawWallets) XXX_Unmarshal(b []byte) error

type Receipt

type Receipt struct {
	BlockNumber          uint64   `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	GasUsed              uint64   `protobuf:"varint,2,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	CumulativeGasUsed    uint64   `protobuf:"varint,3,opt,name=cumulativeGasUsed,proto3" json:"cumulativeGasUsed,omitempty"`
	TransactionIndex     uint64   `protobuf:"varint,4,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"`
	BlockHash            string   `protobuf:"bytes,5,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	TransactionHash      string   `protobuf:"bytes,6,opt,name=transactionHash,proto3" json:"transactionHash,omitempty"`
	From                 string   `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"`
	To                   string   `protobuf:"bytes,8,opt,name=to,proto3" json:"to,omitempty"`
	ContractAddress      string   `protobuf:"bytes,9,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	Status               uint64   `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
	Root                 []byte   `protobuf:"bytes,11,opt,name=root,proto3" json:"root,omitempty"`
	LogsBloom            []byte   `protobuf:"bytes,12,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
	Logs                 []*Log   `protobuf:"bytes,13,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Receipt) Descriptor

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

func (*Receipt) GetBlockHash

func (m *Receipt) GetBlockHash() string

func (*Receipt) GetBlockNumber

func (m *Receipt) GetBlockNumber() uint64

func (*Receipt) GetContractAddress

func (m *Receipt) GetContractAddress() string

func (*Receipt) GetCumulativeGasUsed

func (m *Receipt) GetCumulativeGasUsed() uint64

func (*Receipt) GetFrom

func (m *Receipt) GetFrom() string

func (*Receipt) GetGasUsed

func (m *Receipt) GetGasUsed() uint64

func (*Receipt) GetLogs

func (m *Receipt) GetLogs() []*Log

func (*Receipt) GetLogsBloom

func (m *Receipt) GetLogsBloom() []byte

func (*Receipt) GetRoot

func (m *Receipt) GetRoot() []byte

func (*Receipt) GetStatus

func (m *Receipt) GetStatus() uint64

func (*Receipt) GetTo

func (m *Receipt) GetTo() string

func (*Receipt) GetTransactionHash

func (m *Receipt) GetTransactionHash() string

func (*Receipt) GetTransactionIndex

func (m *Receipt) GetTransactionIndex() uint64

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) Reset

func (m *Receipt) Reset()

func (*Receipt) String

func (m *Receipt) String() string

func (*Receipt) XXX_DiscardUnknown

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal

func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Receipt) XXX_Merge

func (m *Receipt) XXX_Merge(src proto.Message)

func (*Receipt) XXX_Size

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal

func (m *Receipt) XXX_Unmarshal(b []byte) error

type RpcTransaction

type RpcTransaction struct {
	TxHash               string                `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"`
	BlockHash            string                `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	From                 string                `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To                   *wrappers.StringValue `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Hash                 string                `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	Value                string                `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	V                    string                `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"`
	R                    string                `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"`
	S                    string                `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"`
	TransactionIndex     uint64                `protobuf:"varint,10,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"`
	Nonce                uint64                `protobuf:"varint,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BlockNumber          uint64                `protobuf:"varint,12,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	Gas                  uint64                `protobuf:"varint,13,opt,name=gas,proto3" json:"gas,omitempty"`
	GasPrice             uint64                `protobuf:"varint,14,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
	Input                []byte                `protobuf:"bytes,15,opt,name=input,proto3" json:"input,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Transaction represents a transaction that will serialize to the RPC representation of a transaction

func (*RpcTransaction) Descriptor

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

func (*RpcTransaction) GetBlockHash

func (m *RpcTransaction) GetBlockHash() string

func (*RpcTransaction) GetBlockNumber

func (m *RpcTransaction) GetBlockNumber() uint64

func (*RpcTransaction) GetFrom

func (m *RpcTransaction) GetFrom() string

func (*RpcTransaction) GetGas

func (m *RpcTransaction) GetGas() uint64

func (*RpcTransaction) GetGasPrice

func (m *RpcTransaction) GetGasPrice() uint64

func (*RpcTransaction) GetHash

func (m *RpcTransaction) GetHash() string

func (*RpcTransaction) GetInput

func (m *RpcTransaction) GetInput() []byte

func (*RpcTransaction) GetNonce

func (m *RpcTransaction) GetNonce() uint64

func (*RpcTransaction) GetR

func (m *RpcTransaction) GetR() string

func (*RpcTransaction) GetS

func (m *RpcTransaction) GetS() string

func (*RpcTransaction) GetTo

func (m *RpcTransaction) GetTo() *wrappers.StringValue

func (*RpcTransaction) GetTransactionIndex

func (m *RpcTransaction) GetTransactionIndex() uint64

func (*RpcTransaction) GetTxHash

func (m *RpcTransaction) GetTxHash() string

func (*RpcTransaction) GetV

func (m *RpcTransaction) GetV() string

func (*RpcTransaction) GetValue

func (m *RpcTransaction) GetValue() string

func (*RpcTransaction) ProtoMessage

func (*RpcTransaction) ProtoMessage()

func (*RpcTransaction) Reset

func (m *RpcTransaction) Reset()

func (*RpcTransaction) String

func (m *RpcTransaction) String() string

func (*RpcTransaction) XXX_DiscardUnknown

func (m *RpcTransaction) XXX_DiscardUnknown()

func (*RpcTransaction) XXX_Marshal

func (m *RpcTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RpcTransaction) XXX_Merge

func (m *RpcTransaction) XXX_Merge(src proto.Message)

func (*RpcTransaction) XXX_Size

func (m *RpcTransaction) XXX_Size() int

func (*RpcTransaction) XXX_Unmarshal

func (m *RpcTransaction) XXX_Unmarshal(b []byte) error

type SyncingInfo

type SyncingInfo struct {
	IsSyncing            bool     `protobuf:"varint,1,opt,name=isSyncing,proto3" json:"isSyncing,omitempty"`
	StartBlock           uint64   `protobuf:"varint,2,opt,name=startBlock,proto3" json:"startBlock,omitempty"`
	CurrentBlock         uint64   `protobuf:"varint,3,opt,name=currentBlock,proto3" json:"currentBlock,omitempty"`
	HighestBlock         uint64   `protobuf:"varint,4,opt,name=highestBlock,proto3" json:"highestBlock,omitempty"`
	PulledStates         uint64   `protobuf:"varint,5,opt,name=pulledStates,proto3" json:"pulledStates,omitempty"`
	KnownStates          uint64   `protobuf:"varint,6,opt,name=knownStates,proto3" json:"knownStates,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

- startingBlock: block number this node started to synchronise from - currentBlock: block number this node is currently importing - highestBlock: block number of the highest block header this node has received from peers - pulledStates: number of state entries processed until now - knownStates: number of known state entries that still need to be pulled

func (*SyncingInfo) Descriptor

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

func (*SyncingInfo) GetCurrentBlock

func (m *SyncingInfo) GetCurrentBlock() uint64

func (*SyncingInfo) GetHighestBlock

func (m *SyncingInfo) GetHighestBlock() uint64

func (*SyncingInfo) GetIsSyncing

func (m *SyncingInfo) GetIsSyncing() bool

func (*SyncingInfo) GetKnownStates

func (m *SyncingInfo) GetKnownStates() uint64

func (*SyncingInfo) GetPulledStates

func (m *SyncingInfo) GetPulledStates() uint64

func (*SyncingInfo) GetStartBlock

func (m *SyncingInfo) GetStartBlock() uint64

func (*SyncingInfo) ProtoMessage

func (*SyncingInfo) ProtoMessage()

func (*SyncingInfo) Reset

func (m *SyncingInfo) Reset()

func (*SyncingInfo) String

func (m *SyncingInfo) String() string

func (*SyncingInfo) XXX_DiscardUnknown

func (m *SyncingInfo) XXX_DiscardUnknown()

func (*SyncingInfo) XXX_Marshal

func (m *SyncingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncingInfo) XXX_Merge

func (m *SyncingInfo) XXX_Merge(src proto.Message)

func (*SyncingInfo) XXX_Size

func (m *SyncingInfo) XXX_Size() int

func (*SyncingInfo) XXX_Unmarshal

func (m *SyncingInfo) XXX_Unmarshal(b []byte) error

type Transaction

type Transaction struct {
	Data                 *TxData  `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Size                 []byte   `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"`
	From                 []byte   `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transaction) Descriptor

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

func (*Transaction) GetData

func (m *Transaction) GetData() *TxData

func (*Transaction) GetFrom

func (m *Transaction) GetFrom() []byte

func (*Transaction) GetHash

func (m *Transaction) GetHash() []byte

func (*Transaction) GetSize

func (m *Transaction) GetSize() []byte

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transaction) XXX_Merge

func (m *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

func (m *Transaction) XXX_Unmarshal(b []byte) error

type TxData

type TxData struct {
	Types                uint64                `protobuf:"varint,1,opt,name=types,proto3" json:"types,omitempty"`
	AccountNonce         uint64                `protobuf:"varint,2,opt,name=accountNonce,proto3" json:"accountNonce,omitempty"`
	GasLimit             uint64                `protobuf:"varint,3,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	Amount               uint64                `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Price                []byte                `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"`
	Payload              []byte                `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	Extra                []byte                `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"`
	V                    []byte                `protobuf:"bytes,8,opt,name=v,proto3" json:"v,omitempty"`
	R                    []byte                `protobuf:"bytes,9,opt,name=r,proto3" json:"r,omitempty"`
	S                    []byte                `protobuf:"bytes,10,opt,name=s,proto3" json:"s,omitempty"`
	Hash                 *wrappers.StringValue `protobuf:"bytes,11,opt,name=hash,proto3" json:"hash,omitempty"`
	Recipient            *wrappers.StringValue `protobuf:"bytes,12,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TxData) Descriptor

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

func (*TxData) GetAccountNonce

func (m *TxData) GetAccountNonce() uint64

func (*TxData) GetAmount

func (m *TxData) GetAmount() uint64

func (*TxData) GetExtra

func (m *TxData) GetExtra() []byte

func (*TxData) GetGasLimit

func (m *TxData) GetGasLimit() uint64

func (*TxData) GetHash

func (m *TxData) GetHash() *wrappers.StringValue

func (*TxData) GetPayload

func (m *TxData) GetPayload() []byte

func (*TxData) GetPrice

func (m *TxData) GetPrice() []byte

func (*TxData) GetR

func (m *TxData) GetR() []byte

func (*TxData) GetRecipient

func (m *TxData) GetRecipient() *wrappers.StringValue

func (*TxData) GetS

func (m *TxData) GetS() []byte

func (*TxData) GetTypes

func (m *TxData) GetTypes() uint64

func (*TxData) GetV

func (m *TxData) GetV() []byte

func (*TxData) ProtoMessage

func (*TxData) ProtoMessage()

func (*TxData) Reset

func (m *TxData) Reset()

func (*TxData) String

func (m *TxData) String() string

func (*TxData) XXX_DiscardUnknown

func (m *TxData) XXX_DiscardUnknown()

func (*TxData) XXX_Marshal

func (m *TxData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxData) XXX_Merge

func (m *TxData) XXX_Merge(src proto.Message)

func (*TxData) XXX_Size

func (m *TxData) XXX_Size() int

func (*TxData) XXX_Unmarshal

func (m *TxData) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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