types

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.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 BitVec

type BitVec struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Len                  uint64   `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BitVec) Descriptor

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

func (*BitVec) GetData

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

func (*BitVec) GetLen

func (m *BitVec) GetLen() uint64

func (*BitVec) ProtoMessage

func (*BitVec) ProtoMessage()

func (*BitVec) Reset

func (m *BitVec) Reset()

func (*BitVec) String

func (m *BitVec) String() string

func (*BitVec) XXX_DiscardUnknown

func (m *BitVec) XXX_DiscardUnknown()

func (*BitVec) XXX_Marshal

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

func (*BitVec) XXX_Merge

func (dst *BitVec) XXX_Merge(src proto.Message)

func (*BitVec) XXX_Size

func (m *BitVec) XXX_Size() int

func (*BitVec) XXX_Unmarshal

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

type Block

type Block struct {
	ProposerId           uint32   `protobuf:"varint,1,opt,name=proposer_id,json=proposerId,proto3" json:"proposer_id,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	TxCount              uint32   `protobuf:"varint,3,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
	PrevHash             *Hash    `protobuf:"bytes,4,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
	TxHash               *Hash    `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	StateHash            *Hash    `protobuf:"bytes,6,opt,name=state_hash,json=stateHash,proto3" json:"state_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Block) Descriptor

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

func (*Block) GetHeight

func (m *Block) GetHeight() uint64

func (*Block) GetPrevHash

func (m *Block) GetPrevHash() *Hash

func (*Block) GetProposerId

func (m *Block) GetProposerId() uint32

func (*Block) GetStateHash

func (m *Block) GetStateHash() *Hash

func (*Block) GetTxCount

func (m *Block) GetTxCount() uint32

func (*Block) GetTxHash

func (m *Block) GetTxHash() *Hash

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 (dst *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 BlockRequest

type BlockRequest struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Height               uint64     `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*BlockRequest) Descriptor

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

func (*BlockRequest) GetHeight

func (m *BlockRequest) GetHeight() uint64

func (*BlockRequest) GetTo

func (m *BlockRequest) GetTo() *PublicKey

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) Reset

func (m *BlockRequest) Reset()

func (*BlockRequest) String

func (m *BlockRequest) String() string

func (*BlockRequest) XXX_DiscardUnknown

func (m *BlockRequest) XXX_DiscardUnknown()

func (*BlockRequest) XXX_Marshal

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

func (*BlockRequest) XXX_Merge

func (dst *BlockRequest) XXX_Merge(src proto.Message)

func (*BlockRequest) XXX_Size

func (m *BlockRequest) XXX_Size() int

func (*BlockRequest) XXX_Unmarshal

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

type BlockResponse

type BlockResponse struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Block                *Block     `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	Precommits           [][]byte   `protobuf:"bytes,3,rep,name=precommits,proto3" json:"precommits,omitempty"`
	Transactions         []*Hash    `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*BlockResponse) Descriptor

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

func (*BlockResponse) GetBlock

func (m *BlockResponse) GetBlock() *Block

func (*BlockResponse) GetPrecommits

func (m *BlockResponse) GetPrecommits() [][]byte

func (*BlockResponse) GetTo

func (m *BlockResponse) GetTo() *PublicKey

func (*BlockResponse) GetTransactions

func (m *BlockResponse) GetTransactions() []*Hash

func (*BlockResponse) ProtoMessage

func (*BlockResponse) ProtoMessage()

func (*BlockResponse) Reset

func (m *BlockResponse) Reset()

func (*BlockResponse) String

func (m *BlockResponse) String() string

func (*BlockResponse) XXX_DiscardUnknown

func (m *BlockResponse) XXX_DiscardUnknown()

func (*BlockResponse) XXX_Marshal

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

func (*BlockResponse) XXX_Merge

func (dst *BlockResponse) XXX_Merge(src proto.Message)

func (*BlockResponse) XXX_Size

func (m *BlockResponse) XXX_Size() int

func (*BlockResponse) XXX_Unmarshal

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

type ConfigReference

type ConfigReference struct {
	ActualFrom           uint64   `protobuf:"varint,1,opt,name=actual_from,json=actualFrom,proto3" json:"actual_from,omitempty"`
	CfgHash              *Hash    `protobuf:"bytes,2,opt,name=cfg_hash,json=cfgHash,proto3" json:"cfg_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigReference) Descriptor

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

func (*ConfigReference) GetActualFrom

func (m *ConfigReference) GetActualFrom() uint64

func (*ConfigReference) GetCfgHash

func (m *ConfigReference) GetCfgHash() *Hash

func (*ConfigReference) ProtoMessage

func (*ConfigReference) ProtoMessage()

func (*ConfigReference) Reset

func (m *ConfigReference) Reset()

func (*ConfigReference) String

func (m *ConfigReference) String() string

func (*ConfigReference) XXX_DiscardUnknown

func (m *ConfigReference) XXX_DiscardUnknown()

func (*ConfigReference) XXX_Marshal

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

func (*ConfigReference) XXX_Merge

func (dst *ConfigReference) XXX_Merge(src proto.Message)

func (*ConfigReference) XXX_Size

func (m *ConfigReference) XXX_Size() int

func (*ConfigReference) XXX_Unmarshal

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

type Connect

type Connect struct {
	PubAddr              string               `protobuf:"bytes,1,opt,name=pub_addr,json=pubAddr,proto3" json:"pub_addr,omitempty"`
	Time                 *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	UserAgent            string               `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Connect) Descriptor

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

func (*Connect) GetPubAddr

func (m *Connect) GetPubAddr() string

func (*Connect) GetTime

func (m *Connect) GetTime() *timestamp.Timestamp

func (*Connect) GetUserAgent

func (m *Connect) GetUserAgent() string

func (*Connect) ProtoMessage

func (*Connect) ProtoMessage()

func (*Connect) Reset

func (m *Connect) Reset()

func (*Connect) String

func (m *Connect) String() string

func (*Connect) XXX_DiscardUnknown

func (m *Connect) XXX_DiscardUnknown()

func (*Connect) XXX_Marshal

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

func (*Connect) XXX_Merge

func (dst *Connect) XXX_Merge(src proto.Message)

func (*Connect) XXX_Size

func (m *Connect) XXX_Size() int

func (*Connect) XXX_Unmarshal

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

type Hash

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

func (*Hash) Descriptor

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

func (*Hash) GetData

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

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 (dst *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 PeersRequest

type PeersRequest struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*PeersRequest) Descriptor

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

func (*PeersRequest) GetTo

func (m *PeersRequest) GetTo() *PublicKey

func (*PeersRequest) ProtoMessage

func (*PeersRequest) ProtoMessage()

func (*PeersRequest) Reset

func (m *PeersRequest) Reset()

func (*PeersRequest) String

func (m *PeersRequest) String() string

func (*PeersRequest) XXX_DiscardUnknown

func (m *PeersRequest) XXX_DiscardUnknown()

func (*PeersRequest) XXX_Marshal

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

func (*PeersRequest) XXX_Merge

func (dst *PeersRequest) XXX_Merge(src proto.Message)

func (*PeersRequest) XXX_Size

func (m *PeersRequest) XXX_Size() int

func (*PeersRequest) XXX_Unmarshal

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

type Precommit

type Precommit struct {
	Validator            uint32               `protobuf:"varint,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Height               uint64               `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint32               `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	ProposeHash          *Hash                `protobuf:"bytes,4,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"`
	BlockHash            *Hash                `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Time                 *timestamp.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Precommit) Descriptor

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

func (*Precommit) GetBlockHash

func (m *Precommit) GetBlockHash() *Hash

func (*Precommit) GetHeight

func (m *Precommit) GetHeight() uint64

func (*Precommit) GetProposeHash

func (m *Precommit) GetProposeHash() *Hash

func (*Precommit) GetRound

func (m *Precommit) GetRound() uint32

func (*Precommit) GetTime

func (m *Precommit) GetTime() *timestamp.Timestamp

func (*Precommit) GetValidator

func (m *Precommit) GetValidator() uint32

func (*Precommit) ProtoMessage

func (*Precommit) ProtoMessage()

func (*Precommit) Reset

func (m *Precommit) Reset()

func (*Precommit) String

func (m *Precommit) String() string

func (*Precommit) XXX_DiscardUnknown

func (m *Precommit) XXX_DiscardUnknown()

func (*Precommit) XXX_Marshal

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

func (*Precommit) XXX_Merge

func (dst *Precommit) XXX_Merge(src proto.Message)

func (*Precommit) XXX_Size

func (m *Precommit) XXX_Size() int

func (*Precommit) XXX_Unmarshal

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

type Prevote

type Prevote struct {
	Validator            uint32   `protobuf:"varint,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint32   `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	ProposeHash          *Hash    `protobuf:"bytes,4,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"`
	LockedRound          uint32   `protobuf:"varint,5,opt,name=locked_round,json=lockedRound,proto3" json:"locked_round,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Prevote) Descriptor

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

func (*Prevote) GetHeight

func (m *Prevote) GetHeight() uint64

func (*Prevote) GetLockedRound

func (m *Prevote) GetLockedRound() uint32

func (*Prevote) GetProposeHash

func (m *Prevote) GetProposeHash() *Hash

func (*Prevote) GetRound

func (m *Prevote) GetRound() uint32

func (*Prevote) GetValidator

func (m *Prevote) GetValidator() uint32

func (*Prevote) ProtoMessage

func (*Prevote) ProtoMessage()

func (*Prevote) Reset

func (m *Prevote) Reset()

func (*Prevote) String

func (m *Prevote) String() string

func (*Prevote) XXX_DiscardUnknown

func (m *Prevote) XXX_DiscardUnknown()

func (*Prevote) XXX_Marshal

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

func (*Prevote) XXX_Merge

func (dst *Prevote) XXX_Merge(src proto.Message)

func (*Prevote) XXX_Size

func (m *Prevote) XXX_Size() int

func (*Prevote) XXX_Unmarshal

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

type PrevotesRequest

type PrevotesRequest struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Height               uint64     `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint32     `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	ProposeHash          *Hash      `protobuf:"bytes,4,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"`
	Validators           *BitVec    `protobuf:"bytes,5,opt,name=validators,proto3" json:"validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*PrevotesRequest) Descriptor

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

func (*PrevotesRequest) GetHeight

func (m *PrevotesRequest) GetHeight() uint64

func (*PrevotesRequest) GetProposeHash

func (m *PrevotesRequest) GetProposeHash() *Hash

func (*PrevotesRequest) GetRound

func (m *PrevotesRequest) GetRound() uint32

func (*PrevotesRequest) GetTo

func (m *PrevotesRequest) GetTo() *PublicKey

func (*PrevotesRequest) GetValidators

func (m *PrevotesRequest) GetValidators() *BitVec

func (*PrevotesRequest) ProtoMessage

func (*PrevotesRequest) ProtoMessage()

func (*PrevotesRequest) Reset

func (m *PrevotesRequest) Reset()

func (*PrevotesRequest) String

func (m *PrevotesRequest) String() string

func (*PrevotesRequest) XXX_DiscardUnknown

func (m *PrevotesRequest) XXX_DiscardUnknown()

func (*PrevotesRequest) XXX_Marshal

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

func (*PrevotesRequest) XXX_Merge

func (dst *PrevotesRequest) XXX_Merge(src proto.Message)

func (*PrevotesRequest) XXX_Size

func (m *PrevotesRequest) XXX_Size() int

func (*PrevotesRequest) XXX_Unmarshal

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

type Propose

type Propose struct {
	Validator            uint32   `protobuf:"varint,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint32   `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	PrevHash             *Hash    `protobuf:"bytes,4,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
	Transactions         []*Hash  `protobuf:"bytes,5,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Propose) Descriptor

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

func (*Propose) GetHeight

func (m *Propose) GetHeight() uint64

func (*Propose) GetPrevHash

func (m *Propose) GetPrevHash() *Hash

func (*Propose) GetRound

func (m *Propose) GetRound() uint32

func (*Propose) GetTransactions

func (m *Propose) GetTransactions() []*Hash

func (*Propose) GetValidator

func (m *Propose) GetValidator() uint32

func (*Propose) ProtoMessage

func (*Propose) ProtoMessage()

func (*Propose) Reset

func (m *Propose) Reset()

func (*Propose) String

func (m *Propose) String() string

func (*Propose) XXX_DiscardUnknown

func (m *Propose) XXX_DiscardUnknown()

func (*Propose) XXX_Marshal

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

func (*Propose) XXX_Merge

func (dst *Propose) XXX_Merge(src proto.Message)

func (*Propose) XXX_Size

func (m *Propose) XXX_Size() int

func (*Propose) XXX_Unmarshal

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

type ProposeRequest

type ProposeRequest struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Height               uint64     `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	ProposeHash          *Hash      `protobuf:"bytes,3,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ProposeRequest) Descriptor

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

func (*ProposeRequest) GetHeight

func (m *ProposeRequest) GetHeight() uint64

func (*ProposeRequest) GetProposeHash

func (m *ProposeRequest) GetProposeHash() *Hash

func (*ProposeRequest) GetTo

func (m *ProposeRequest) GetTo() *PublicKey

func (*ProposeRequest) ProtoMessage

func (*ProposeRequest) ProtoMessage()

func (*ProposeRequest) Reset

func (m *ProposeRequest) Reset()

func (*ProposeRequest) String

func (m *ProposeRequest) String() string

func (*ProposeRequest) XXX_DiscardUnknown

func (m *ProposeRequest) XXX_DiscardUnknown()

func (*ProposeRequest) XXX_Marshal

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

func (*ProposeRequest) XXX_Merge

func (dst *ProposeRequest) XXX_Merge(src proto.Message)

func (*ProposeRequest) XXX_Size

func (m *ProposeRequest) XXX_Size() int

func (*ProposeRequest) XXX_Unmarshal

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

type PublicKey

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

func (*PublicKey) Descriptor

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

func (*PublicKey) GetData

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

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

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

func (*PublicKey) XXX_Merge

func (dst *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

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

type SecretKey

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

func (*SecretKey) Descriptor

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

func (*SecretKey) GetData

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

func (*SecretKey) ProtoMessage

func (*SecretKey) ProtoMessage()

func (*SecretKey) Reset

func (m *SecretKey) Reset()

func (*SecretKey) String

func (m *SecretKey) String() string

func (*SecretKey) XXX_DiscardUnknown

func (m *SecretKey) XXX_DiscardUnknown()

func (*SecretKey) XXX_Marshal

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

func (*SecretKey) XXX_Merge

func (dst *SecretKey) XXX_Merge(src proto.Message)

func (*SecretKey) XXX_Size

func (m *SecretKey) XXX_Size() int

func (*SecretKey) XXX_Unmarshal

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

type Status

type Status struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	LastHash             *Hash    `protobuf:"bytes,2,opt,name=last_hash,json=lastHash,proto3" json:"last_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Status) Descriptor

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

func (*Status) GetHeight

func (m *Status) GetHeight() uint64

func (*Status) GetLastHash

func (m *Status) GetLastHash() *Hash

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

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

func (*Status) XXX_Merge

func (dst *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

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

type TransactionResult

type TransactionResult struct {
	Status               uint32   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransactionResult) Descriptor

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

func (*TransactionResult) GetDescription

func (m *TransactionResult) GetDescription() string

func (*TransactionResult) GetStatus

func (m *TransactionResult) GetStatus() uint32

func (*TransactionResult) ProtoMessage

func (*TransactionResult) ProtoMessage()

func (*TransactionResult) Reset

func (m *TransactionResult) Reset()

func (*TransactionResult) String

func (m *TransactionResult) String() string

func (*TransactionResult) XXX_DiscardUnknown

func (m *TransactionResult) XXX_DiscardUnknown()

func (*TransactionResult) XXX_Marshal

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

func (*TransactionResult) XXX_Merge

func (dst *TransactionResult) XXX_Merge(src proto.Message)

func (*TransactionResult) XXX_Size

func (m *TransactionResult) XXX_Size() int

func (*TransactionResult) XXX_Unmarshal

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

type TransactionsRequest

type TransactionsRequest struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Txs                  []*Hash    `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*TransactionsRequest) Descriptor

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

func (*TransactionsRequest) GetTo

func (m *TransactionsRequest) GetTo() *PublicKey

func (*TransactionsRequest) GetTxs

func (m *TransactionsRequest) GetTxs() []*Hash

func (*TransactionsRequest) ProtoMessage

func (*TransactionsRequest) ProtoMessage()

func (*TransactionsRequest) Reset

func (m *TransactionsRequest) Reset()

func (*TransactionsRequest) String

func (m *TransactionsRequest) String() string

func (*TransactionsRequest) XXX_DiscardUnknown

func (m *TransactionsRequest) XXX_DiscardUnknown()

func (*TransactionsRequest) XXX_Marshal

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

func (*TransactionsRequest) XXX_Merge

func (dst *TransactionsRequest) XXX_Merge(src proto.Message)

func (*TransactionsRequest) XXX_Size

func (m *TransactionsRequest) XXX_Size() int

func (*TransactionsRequest) XXX_Unmarshal

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

type TransactionsResponse

type TransactionsResponse struct {
	To                   *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Transactions         [][]byte   `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*TransactionsResponse) Descriptor

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

func (*TransactionsResponse) GetTo

func (m *TransactionsResponse) GetTo() *PublicKey

func (*TransactionsResponse) GetTransactions

func (m *TransactionsResponse) GetTransactions() [][]byte

func (*TransactionsResponse) ProtoMessage

func (*TransactionsResponse) ProtoMessage()

func (*TransactionsResponse) Reset

func (m *TransactionsResponse) Reset()

func (*TransactionsResponse) String

func (m *TransactionsResponse) String() string

func (*TransactionsResponse) XXX_DiscardUnknown

func (m *TransactionsResponse) XXX_DiscardUnknown()

func (*TransactionsResponse) XXX_Marshal

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

func (*TransactionsResponse) XXX_Merge

func (dst *TransactionsResponse) XXX_Merge(src proto.Message)

func (*TransactionsResponse) XXX_Size

func (m *TransactionsResponse) XXX_Size() int

func (*TransactionsResponse) XXX_Unmarshal

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

type TxLocation

type TxLocation struct {
	BlockHeight          uint64   `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	PositionInBlock      uint64   `protobuf:"varint,2,opt,name=position_in_block,json=positionInBlock,proto3" json:"position_in_block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxLocation) Descriptor

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

func (*TxLocation) GetBlockHeight

func (m *TxLocation) GetBlockHeight() uint64

func (*TxLocation) GetPositionInBlock

func (m *TxLocation) GetPositionInBlock() uint64

func (*TxLocation) ProtoMessage

func (*TxLocation) ProtoMessage()

func (*TxLocation) Reset

func (m *TxLocation) Reset()

func (*TxLocation) String

func (m *TxLocation) String() string

func (*TxLocation) XXX_DiscardUnknown

func (m *TxLocation) XXX_DiscardUnknown()

func (*TxLocation) XXX_Marshal

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

func (*TxLocation) XXX_Merge

func (dst *TxLocation) XXX_Merge(src proto.Message)

func (*TxLocation) XXX_Size

func (m *TxLocation) XXX_Size() int

func (*TxLocation) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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