iproto

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UnknownProtoMsgType is an unknown message type that is not expected
	UnknownProtoMsgType uint32 = 0
	// MsgTxProtoMsgType is for transactions broadcasted within the network
	MsgTxProtoMsgType uint32 = 1
	// MsgBlockProtoMsgType is for blocks broadcasted within the network
	MsgBlockProtoMsgType uint32 = 2
	// MsgBlockSyncReqType is for requests among peers to sync blocks
	MsgBlockSyncReqType uint32 = 3
	// MsgBlockSyncDataType is the response to messages of type MsgBlockSyncReqType
	MsgBlockSyncDataType uint32 = 4
	// MsgActionType is the action message
	MsgActionType uint32 = 5
	// MsgProposeProtoMsgType is for consensus block propose
	MsgProposeProtoMsgType uint32 = 6
	// MsgEndorseProtoMsgType is for consensus endorse
	MsgEndorseProtoMsgType uint32 = 7
	// TestPayloadType is a test payload message type
	TestPayloadType uint32 = 10001
)
View Source
const (
	MagicBroadcastMsgHeader uint32 = 4689
)

Magic header to identify IoTex traffic

Variables

View Source
var EndorsePb_ConsensusVoteTopic_name = map[int32]string{
	0: "PROPOSAL",
	1: "LOCK",
	2: "COMMIT",
}
View Source
var EndorsePb_ConsensusVoteTopic_value = map[string]int32{
	"PROPOSAL": 0,
	"LOCK":     1,
	"COMMIT":   2,
}

Functions

func GetTypeFromProtoMsg

func GetTypeFromProtoMsg(msg proto.Message) (uint32, error)

GetTypeFromProtoMsg retrieves the proto message type

func TypifyProtoMsg

func TypifyProtoMsg(tp uint32, msg []byte) (proto.Message, error)

TypifyProtoMsg unmarshal a proto message based on the given MessageType

Types

type AccountPb added in v0.4.0

type AccountPb struct {
	// used by state-based model
	Nonce                uint64   `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Balance              []byte   `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Root                 []byte   `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"`
	CodeHash             []byte   `protobuf:"bytes,4,opt,name=codeHash,proto3" json:"codeHash,omitempty"`
	IsCandidate          bool     `protobuf:"varint,5,opt,name=isCandidate,proto3" json:"isCandidate,omitempty"`
	VotingWeight         []byte   `protobuf:"bytes,6,opt,name=votingWeight,proto3" json:"votingWeight,omitempty"`
	Votee                string   `protobuf:"bytes,7,opt,name=votee,proto3" json:"votee,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountPb) Descriptor added in v0.4.0

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

func (*AccountPb) GetBalance added in v0.4.0

func (m *AccountPb) GetBalance() []byte

func (*AccountPb) GetCodeHash added in v0.4.0

func (m *AccountPb) GetCodeHash() []byte

func (*AccountPb) GetIsCandidate added in v0.4.0

func (m *AccountPb) GetIsCandidate() bool

func (*AccountPb) GetNonce added in v0.4.0

func (m *AccountPb) GetNonce() uint64

func (*AccountPb) GetRoot added in v0.4.0

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

func (*AccountPb) GetVotee added in v0.4.0

func (m *AccountPb) GetVotee() string

func (*AccountPb) GetVotingWeight added in v0.4.0

func (m *AccountPb) GetVotingWeight() []byte

func (*AccountPb) ProtoMessage added in v0.4.0

func (*AccountPb) ProtoMessage()

func (*AccountPb) Reset added in v0.4.0

func (m *AccountPb) Reset()

func (*AccountPb) String added in v0.4.0

func (m *AccountPb) String() string

func (*AccountPb) XXX_DiscardUnknown added in v0.4.0

func (m *AccountPb) XXX_DiscardUnknown()

func (*AccountPb) XXX_Marshal added in v0.4.0

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

func (*AccountPb) XXX_Merge added in v0.4.0

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

func (*AccountPb) XXX_Size added in v0.4.0

func (m *AccountPb) XXX_Size() int

func (*AccountPb) XXX_Unmarshal added in v0.4.0

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

type ActionPb added in v0.2.0

type ActionPb struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// TODO: we should remove sender address later
	Sender       string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	SenderPubKey []byte `protobuf:"bytes,3,opt,name=senderPubKey,proto3" json:"senderPubKey,omitempty"`
	Nonce        uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	GasLimit     uint64 `protobuf:"varint,5,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	GasPrice     []byte `protobuf:"bytes,6,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
	Signature    []byte `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
	// Types that are valid to be assigned to Action:
	//	*ActionPb_Transfer
	//	*ActionPb_Vote
	//	*ActionPb_Execution
	//	*ActionPb_SecretProposal
	//	*ActionPb_SecretWitness
	//	*ActionPb_StartSubChain
	//	*ActionPb_StopSubChain
	//	*ActionPb_PutBlock
	//	*ActionPb_CreateDeposit
	//	*ActionPb_SettleDeposit
	//	*ActionPb_CreatePlumChain
	//	*ActionPb_TerminatePlumChain
	//	*ActionPb_PlumPutBlock
	//	*ActionPb_PlumCreateDeposit
	//	*ActionPb_PlumStartExit
	//	*ActionPb_PlumChallengeExit
	//	*ActionPb_PlumResponseChallengeExit
	//	*ActionPb_PlumFinalizeExit
	//	*ActionPb_PlumSettleDeposit
	//	*ActionPb_PlumTransfer
	Action               isActionPb_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ActionPb) Descriptor added in v0.2.0

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

func (*ActionPb) GetAction added in v0.2.0

func (m *ActionPb) GetAction() isActionPb_Action

func (*ActionPb) GetCreateDeposit added in v0.4.0

func (m *ActionPb) GetCreateDeposit() *CreateDepositPb

func (*ActionPb) GetCreatePlumChain added in v0.4.0

func (m *ActionPb) GetCreatePlumChain() *CreatePlumChainPb

func (*ActionPb) GetExecution added in v0.3.0

func (m *ActionPb) GetExecution() *ExecutionPb

func (*ActionPb) GetGasLimit added in v0.4.0

func (m *ActionPb) GetGasLimit() uint64

func (*ActionPb) GetGasPrice added in v0.4.0

func (m *ActionPb) GetGasPrice() []byte

func (*ActionPb) GetNonce added in v0.3.0

func (m *ActionPb) GetNonce() uint64

func (*ActionPb) GetPlumChallengeExit added in v0.4.0

func (m *ActionPb) GetPlumChallengeExit() *PlumChallengeExit

func (*ActionPb) GetPlumCreateDeposit added in v0.4.0

func (m *ActionPb) GetPlumCreateDeposit() *PlumCreateDepositPb

func (*ActionPb) GetPlumFinalizeExit added in v0.4.0

func (m *ActionPb) GetPlumFinalizeExit() *PlumFinalizeExit

func (*ActionPb) GetPlumPutBlock added in v0.4.0

func (m *ActionPb) GetPlumPutBlock() *PlumPutBlockPb

func (*ActionPb) GetPlumResponseChallengeExit added in v0.4.0

func (m *ActionPb) GetPlumResponseChallengeExit() *PlumResponseChallengeExit

func (*ActionPb) GetPlumSettleDeposit added in v0.4.0

func (m *ActionPb) GetPlumSettleDeposit() *PlumSettleDepositPb

func (*ActionPb) GetPlumStartExit added in v0.4.0

func (m *ActionPb) GetPlumStartExit() *PlumStartExitPb

func (*ActionPb) GetPlumTransfer added in v0.4.0

func (m *ActionPb) GetPlumTransfer() *PlumTransferPb

func (*ActionPb) GetPutBlock added in v0.4.0

func (m *ActionPb) GetPutBlock() *PutBlockPb

func (*ActionPb) GetSecretProposal added in v0.4.0

func (m *ActionPb) GetSecretProposal() *SecretProposalPb

func (*ActionPb) GetSecretWitness added in v0.4.0

func (m *ActionPb) GetSecretWitness() *SecretWitnessPb

func (*ActionPb) GetSender added in v0.4.0

func (m *ActionPb) GetSender() string

func (*ActionPb) GetSenderPubKey added in v0.4.0

func (m *ActionPb) GetSenderPubKey() []byte

func (*ActionPb) GetSettleDeposit added in v0.4.0

func (m *ActionPb) GetSettleDeposit() *SettleDepositPb

func (*ActionPb) GetSignature added in v0.3.0

func (m *ActionPb) GetSignature() []byte

func (*ActionPb) GetStartSubChain added in v0.4.0

func (m *ActionPb) GetStartSubChain() *StartSubChainPb

func (*ActionPb) GetStopSubChain added in v0.4.0

func (m *ActionPb) GetStopSubChain() *StopSubChainPb

func (*ActionPb) GetTerminatePlumChain added in v0.4.0

func (m *ActionPb) GetTerminatePlumChain() *TerminatePlumChainPb

func (*ActionPb) GetTransfer added in v0.2.0

func (m *ActionPb) GetTransfer() *TransferPb

func (*ActionPb) GetVersion added in v0.3.0

func (m *ActionPb) GetVersion() uint32

func (*ActionPb) GetVote added in v0.2.0

func (m *ActionPb) GetVote() *VotePb

func (*ActionPb) ProtoMessage added in v0.2.0

func (*ActionPb) ProtoMessage()

func (*ActionPb) Reset added in v0.2.0

func (m *ActionPb) Reset()

func (*ActionPb) String added in v0.2.0

func (m *ActionPb) String() string

func (*ActionPb) XXX_DiscardUnknown added in v0.4.0

func (m *ActionPb) XXX_DiscardUnknown()

func (*ActionPb) XXX_Marshal added in v0.4.0

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

func (*ActionPb) XXX_Merge added in v0.4.0

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

func (*ActionPb) XXX_OneofFuncs added in v0.2.0

func (*ActionPb) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ActionPb) XXX_Size added in v0.4.0

func (m *ActionPb) XXX_Size() int

func (*ActionPb) XXX_Unmarshal added in v0.4.0

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

type ActionPb_CreateDeposit added in v0.4.0

type ActionPb_CreateDeposit struct {
	CreateDeposit *CreateDepositPb `protobuf:"bytes,18,opt,name=createDeposit,proto3,oneof"`
}

type ActionPb_CreatePlumChain added in v0.4.0

type ActionPb_CreatePlumChain struct {
	CreatePlumChain *CreatePlumChainPb `protobuf:"bytes,20,opt,name=createPlumChain,proto3,oneof"`
}

type ActionPb_Execution added in v0.3.0

type ActionPb_Execution struct {
	Execution *ExecutionPb `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}

type ActionPb_PlumChallengeExit added in v0.4.0

type ActionPb_PlumChallengeExit struct {
	PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,25,opt,name=plumChallengeExit,proto3,oneof"`
}

type ActionPb_PlumCreateDeposit added in v0.4.0

type ActionPb_PlumCreateDeposit struct {
	PlumCreateDeposit *PlumCreateDepositPb `protobuf:"bytes,23,opt,name=plumCreateDeposit,proto3,oneof"`
}

type ActionPb_PlumFinalizeExit added in v0.4.0

type ActionPb_PlumFinalizeExit struct {
	PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,27,opt,name=plumFinalizeExit,proto3,oneof"`
}

type ActionPb_PlumPutBlock added in v0.4.0

type ActionPb_PlumPutBlock struct {
	PlumPutBlock *PlumPutBlockPb `protobuf:"bytes,22,opt,name=plumPutBlock,proto3,oneof"`
}

type ActionPb_PlumResponseChallengeExit added in v0.4.0

type ActionPb_PlumResponseChallengeExit struct {
	PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,26,opt,name=plumResponseChallengeExit,proto3,oneof"`
}

type ActionPb_PlumSettleDeposit added in v0.4.0

type ActionPb_PlumSettleDeposit struct {
	PlumSettleDeposit *PlumSettleDepositPb `protobuf:"bytes,28,opt,name=plumSettleDeposit,proto3,oneof"`
}

type ActionPb_PlumStartExit added in v0.4.0

type ActionPb_PlumStartExit struct {
	PlumStartExit *PlumStartExitPb `protobuf:"bytes,24,opt,name=plumStartExit,proto3,oneof"`
}

type ActionPb_PlumTransfer added in v0.4.0

type ActionPb_PlumTransfer struct {
	PlumTransfer *PlumTransferPb `protobuf:"bytes,29,opt,name=plumTransfer,proto3,oneof"`
}

type ActionPb_PutBlock added in v0.4.0

type ActionPb_PutBlock struct {
	PutBlock *PutBlockPb `protobuf:"bytes,17,opt,name=putBlock,proto3,oneof"`
}

type ActionPb_SecretProposal added in v0.4.0

type ActionPb_SecretProposal struct {
	SecretProposal *SecretProposalPb `protobuf:"bytes,13,opt,name=secretProposal,proto3,oneof"`
}

type ActionPb_SecretWitness added in v0.4.0

type ActionPb_SecretWitness struct {
	SecretWitness *SecretWitnessPb `protobuf:"bytes,14,opt,name=secretWitness,proto3,oneof"`
}

type ActionPb_SettleDeposit added in v0.4.0

type ActionPb_SettleDeposit struct {
	SettleDeposit *SettleDepositPb `protobuf:"bytes,19,opt,name=settleDeposit,proto3,oneof"`
}

type ActionPb_StartSubChain added in v0.4.0

type ActionPb_StartSubChain struct {
	StartSubChain *StartSubChainPb `protobuf:"bytes,15,opt,name=startSubChain,proto3,oneof"`
}

type ActionPb_StopSubChain added in v0.4.0

type ActionPb_StopSubChain struct {
	StopSubChain *StopSubChainPb `protobuf:"bytes,16,opt,name=stopSubChain,proto3,oneof"`
}

type ActionPb_TerminatePlumChain added in v0.4.0

type ActionPb_TerminatePlumChain struct {
	TerminatePlumChain *TerminatePlumChainPb `protobuf:"bytes,21,opt,name=terminatePlumChain,proto3,oneof"`
}

type ActionPb_Transfer added in v0.2.0

type ActionPb_Transfer struct {
	Transfer *TransferPb `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}

type ActionPb_Vote added in v0.2.0

type ActionPb_Vote struct {
	Vote *VotePb `protobuf:"bytes,11,opt,name=vote,proto3,oneof"`
}

type BlockContainer

type BlockContainer struct {
	Block                *BlockPb `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

block container used to send old/existing blocks in block sync

func (*BlockContainer) Descriptor

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

func (*BlockContainer) GetBlock

func (m *BlockContainer) GetBlock() *BlockPb

func (*BlockContainer) ProtoMessage

func (*BlockContainer) ProtoMessage()

func (*BlockContainer) Reset

func (m *BlockContainer) Reset()

func (*BlockContainer) String

func (m *BlockContainer) String() string

func (*BlockContainer) XXX_DiscardUnknown added in v0.4.0

func (m *BlockContainer) XXX_DiscardUnknown()

func (*BlockContainer) XXX_Marshal added in v0.4.0

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

func (*BlockContainer) XXX_Merge added in v0.4.0

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

func (*BlockContainer) XXX_Size added in v0.4.0

func (m *BlockContainer) XXX_Size() int

func (*BlockContainer) XXX_Unmarshal added in v0.4.0

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

type BlockHeaderPb

type BlockHeaderPb struct {
	Version              uint32   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ChainID              uint32   `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Height               uint64   `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp            uint64   `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PrevBlockHash        []byte   `protobuf:"bytes,5,opt,name=prevBlockHash,proto3" json:"prevBlockHash,omitempty"`
	TxRoot               []byte   `protobuf:"bytes,6,opt,name=txRoot,proto3" json:"txRoot,omitempty"`
	StateRoot            []byte   `protobuf:"bytes,7,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"`
	ReceiptRoot          []byte   `protobuf:"bytes,8,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
	Reserved             []byte   `protobuf:"bytes,9,opt,name=reserved,proto3" json:"reserved,omitempty"`
	Signature            []byte   `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"`
	Pubkey               []byte   `protobuf:"bytes,11,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	DkgID                []byte   `protobuf:"bytes,12,opt,name=dkgID,proto3" json:"dkgID,omitempty"`
	DkgPubkey            []byte   `protobuf:"bytes,13,opt,name=dkgPubkey,proto3" json:"dkgPubkey,omitempty"`
	DkgSignature         []byte   `protobuf:"bytes,14,opt,name=dkgSignature,proto3" json:"dkgSignature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

header of a block

func (*BlockHeaderPb) Descriptor

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

func (*BlockHeaderPb) GetChainID

func (m *BlockHeaderPb) GetChainID() uint32

func (*BlockHeaderPb) GetDkgID added in v0.3.0

func (m *BlockHeaderPb) GetDkgID() []byte

func (*BlockHeaderPb) GetDkgPubkey added in v0.3.0

func (m *BlockHeaderPb) GetDkgPubkey() []byte

func (*BlockHeaderPb) GetDkgSignature added in v0.3.0

func (m *BlockHeaderPb) GetDkgSignature() []byte

func (*BlockHeaderPb) GetHeight

func (m *BlockHeaderPb) GetHeight() uint64

func (*BlockHeaderPb) GetPrevBlockHash

func (m *BlockHeaderPb) GetPrevBlockHash() []byte

func (*BlockHeaderPb) GetPubkey added in v0.2.0

func (m *BlockHeaderPb) GetPubkey() []byte

func (*BlockHeaderPb) GetReceiptRoot added in v0.3.0

func (m *BlockHeaderPb) GetReceiptRoot() []byte

func (*BlockHeaderPb) GetReserved added in v0.3.0

func (m *BlockHeaderPb) GetReserved() []byte

func (*BlockHeaderPb) GetSignature added in v0.2.0

func (m *BlockHeaderPb) GetSignature() []byte

func (*BlockHeaderPb) GetStateRoot added in v0.2.0

func (m *BlockHeaderPb) GetStateRoot() []byte

func (*BlockHeaderPb) GetTimestamp

func (m *BlockHeaderPb) GetTimestamp() uint64

func (*BlockHeaderPb) GetTxRoot added in v0.2.0

func (m *BlockHeaderPb) GetTxRoot() []byte

func (*BlockHeaderPb) GetVersion

func (m *BlockHeaderPb) GetVersion() uint32

func (*BlockHeaderPb) ProtoMessage

func (*BlockHeaderPb) ProtoMessage()

func (*BlockHeaderPb) Reset

func (m *BlockHeaderPb) Reset()

func (*BlockHeaderPb) String

func (m *BlockHeaderPb) String() string

func (*BlockHeaderPb) XXX_DiscardUnknown added in v0.4.0

func (m *BlockHeaderPb) XXX_DiscardUnknown()

func (*BlockHeaderPb) XXX_Marshal added in v0.4.0

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

func (*BlockHeaderPb) XXX_Merge added in v0.4.0

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

func (*BlockHeaderPb) XXX_Size added in v0.4.0

func (m *BlockHeaderPb) XXX_Size() int

func (*BlockHeaderPb) XXX_Unmarshal added in v0.4.0

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

type BlockIndex

type BlockIndex struct {
	Start                uint64   `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End                  uint64   `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	Offset               []uint32 `protobuf:"varint,3,rep,packed,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

index of block raw data file

func (*BlockIndex) Descriptor

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

func (*BlockIndex) GetEnd

func (m *BlockIndex) GetEnd() uint64

func (*BlockIndex) GetOffset

func (m *BlockIndex) GetOffset() []uint32

func (*BlockIndex) GetStart

func (m *BlockIndex) GetStart() uint64

func (*BlockIndex) ProtoMessage

func (*BlockIndex) ProtoMessage()

func (*BlockIndex) Reset

func (m *BlockIndex) Reset()

func (*BlockIndex) String

func (m *BlockIndex) String() string

func (*BlockIndex) XXX_DiscardUnknown added in v0.4.0

func (m *BlockIndex) XXX_DiscardUnknown()

func (*BlockIndex) XXX_Marshal added in v0.4.0

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

func (*BlockIndex) XXX_Merge added in v0.4.0

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

func (*BlockIndex) XXX_Size added in v0.4.0

func (m *BlockIndex) XXX_Size() int

func (*BlockIndex) XXX_Unmarshal added in v0.4.0

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

type BlockPb

type BlockPb struct {
	Header               *BlockHeaderPb `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Actions              []*ActionPb    `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

block consists of header followed by transactions hash of current block can be computed from header hence not stored

func (*BlockPb) Descriptor

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

func (*BlockPb) GetActions added in v0.2.0

func (m *BlockPb) GetActions() []*ActionPb

func (*BlockPb) GetHeader

func (m *BlockPb) GetHeader() *BlockHeaderPb

func (*BlockPb) ProtoMessage

func (*BlockPb) ProtoMessage()

func (*BlockPb) Reset

func (m *BlockPb) Reset()

func (*BlockPb) String

func (m *BlockPb) String() string

func (*BlockPb) XXX_DiscardUnknown added in v0.4.0

func (m *BlockPb) XXX_DiscardUnknown()

func (*BlockPb) XXX_Marshal added in v0.4.0

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

func (*BlockPb) XXX_Merge added in v0.4.0

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

func (*BlockPb) XXX_Size added in v0.4.0

func (m *BlockPb) XXX_Size() int

func (*BlockPb) XXX_Unmarshal added in v0.4.0

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

type BlockSync

type BlockSync struct {
	Start                uint64   `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	End                  uint64   `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockSync) Descriptor

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

func (*BlockSync) GetEnd

func (m *BlockSync) GetEnd() uint64

func (*BlockSync) GetStart

func (m *BlockSync) GetStart() uint64

func (*BlockSync) ProtoMessage

func (*BlockSync) ProtoMessage()

func (*BlockSync) Reset

func (m *BlockSync) Reset()

func (*BlockSync) String

func (m *BlockSync) String() string

func (*BlockSync) XXX_DiscardUnknown added in v0.4.0

func (m *BlockSync) XXX_DiscardUnknown()

func (*BlockSync) XXX_Marshal added in v0.4.0

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

func (*BlockSync) XXX_Merge added in v0.4.0

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

func (*BlockSync) XXX_Size added in v0.4.0

func (m *BlockSync) XXX_Size() int

func (*BlockSync) XXX_Unmarshal added in v0.4.0

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

type BranchNodePb added in v0.4.0

type BranchNodePb struct {
	Index                uint32   `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Path                 []byte   `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BranchNodePb) Descriptor added in v0.4.0

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

func (*BranchNodePb) GetIndex added in v0.4.0

func (m *BranchNodePb) GetIndex() uint32

func (*BranchNodePb) GetPath added in v0.4.0

func (m *BranchNodePb) GetPath() []byte

func (*BranchNodePb) ProtoMessage added in v0.4.0

func (*BranchNodePb) ProtoMessage()

func (*BranchNodePb) Reset added in v0.4.0

func (m *BranchNodePb) Reset()

func (*BranchNodePb) String added in v0.4.0

func (m *BranchNodePb) String() string

func (*BranchNodePb) XXX_DiscardUnknown added in v0.4.0

func (m *BranchNodePb) XXX_DiscardUnknown()

func (*BranchNodePb) XXX_Marshal added in v0.4.0

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

func (*BranchNodePb) XXX_Merge added in v0.4.0

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

func (*BranchNodePb) XXX_Size added in v0.4.0

func (m *BranchNodePb) XXX_Size() int

func (*BranchNodePb) XXX_Unmarshal added in v0.4.0

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

type BranchPb added in v0.4.0

type BranchPb struct {
	Branches             []*BranchNodePb `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*BranchPb) Descriptor added in v0.4.0

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

func (*BranchPb) GetBranches added in v0.4.0

func (m *BranchPb) GetBranches() []*BranchNodePb

func (*BranchPb) ProtoMessage added in v0.4.0

func (*BranchPb) ProtoMessage()

func (*BranchPb) Reset added in v0.4.0

func (m *BranchPb) Reset()

func (*BranchPb) String added in v0.4.0

func (m *BranchPb) String() string

func (*BranchPb) XXX_DiscardUnknown added in v0.4.0

func (m *BranchPb) XXX_DiscardUnknown()

func (*BranchPb) XXX_Marshal added in v0.4.0

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

func (*BranchPb) XXX_Merge added in v0.4.0

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

func (*BranchPb) XXX_Size added in v0.4.0

func (m *BranchPb) XXX_Size() int

func (*BranchPb) XXX_Unmarshal added in v0.4.0

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

type Candidate added in v0.3.0

type Candidate struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Votes                []byte   `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
	PubKey               []byte   `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	CreationHeight       uint64   `protobuf:"varint,4,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"`
	LastUpdateHeight     uint64   `protobuf:"varint,5,opt,name=lastUpdateHeight,proto3" json:"lastUpdateHeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Candidates and list of candidates

func (*Candidate) Descriptor added in v0.3.0

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

func (*Candidate) GetAddress added in v0.3.0

func (m *Candidate) GetAddress() string

func (*Candidate) GetCreationHeight added in v0.3.0

func (m *Candidate) GetCreationHeight() uint64

func (*Candidate) GetLastUpdateHeight added in v0.3.0

func (m *Candidate) GetLastUpdateHeight() uint64

func (*Candidate) GetPubKey added in v0.3.0

func (m *Candidate) GetPubKey() []byte

func (*Candidate) GetVotes added in v0.3.0

func (m *Candidate) GetVotes() []byte

func (*Candidate) ProtoMessage added in v0.3.0

func (*Candidate) ProtoMessage()

func (*Candidate) Reset added in v0.3.0

func (m *Candidate) Reset()

func (*Candidate) String added in v0.3.0

func (m *Candidate) String() string

func (*Candidate) XXX_DiscardUnknown added in v0.4.0

func (m *Candidate) XXX_DiscardUnknown()

func (*Candidate) XXX_Marshal added in v0.4.0

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

func (*Candidate) XXX_Merge added in v0.4.0

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

func (*Candidate) XXX_Size added in v0.4.0

func (m *Candidate) XXX_Size() int

func (*Candidate) XXX_Unmarshal added in v0.4.0

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

type CandidateList added in v0.3.0

type CandidateList struct {
	Candidates           []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CandidateList) Descriptor added in v0.3.0

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

func (*CandidateList) GetCandidates added in v0.3.0

func (m *CandidateList) GetCandidates() []*Candidate

func (*CandidateList) ProtoMessage added in v0.3.0

func (*CandidateList) ProtoMessage()

func (*CandidateList) Reset added in v0.3.0

func (m *CandidateList) Reset()

func (*CandidateList) String added in v0.3.0

func (m *CandidateList) String() string

func (*CandidateList) XXX_DiscardUnknown added in v0.4.0

func (m *CandidateList) XXX_DiscardUnknown()

func (*CandidateList) XXX_Marshal added in v0.4.0

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

func (*CandidateList) XXX_Merge added in v0.4.0

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

func (*CandidateList) XXX_Size added in v0.4.0

func (m *CandidateList) XXX_Size() int

func (*CandidateList) XXX_Unmarshal added in v0.4.0

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

type CreateDepositPb added in v0.4.0

type CreateDepositPb struct {
	Amount               []byte   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateDepositPb) Descriptor added in v0.4.0

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

func (*CreateDepositPb) GetAmount added in v0.4.0

func (m *CreateDepositPb) GetAmount() []byte

func (*CreateDepositPb) GetRecipient added in v0.4.0

func (m *CreateDepositPb) GetRecipient() string

func (*CreateDepositPb) ProtoMessage added in v0.4.0

func (*CreateDepositPb) ProtoMessage()

func (*CreateDepositPb) Reset added in v0.4.0

func (m *CreateDepositPb) Reset()

func (*CreateDepositPb) String added in v0.4.0

func (m *CreateDepositPb) String() string

func (*CreateDepositPb) XXX_DiscardUnknown added in v0.4.0

func (m *CreateDepositPb) XXX_DiscardUnknown()

func (*CreateDepositPb) XXX_Marshal added in v0.4.0

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

func (*CreateDepositPb) XXX_Merge added in v0.4.0

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

func (*CreateDepositPb) XXX_Size added in v0.4.0

func (m *CreateDepositPb) XXX_Size() int

func (*CreateDepositPb) XXX_Unmarshal added in v0.4.0

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

type CreatePlumChainPb added in v0.4.0

type CreatePlumChainPb struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

plum main chain APIs

func (*CreatePlumChainPb) Descriptor added in v0.4.0

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

func (*CreatePlumChainPb) ProtoMessage added in v0.4.0

func (*CreatePlumChainPb) ProtoMessage()

func (*CreatePlumChainPb) Reset added in v0.4.0

func (m *CreatePlumChainPb) Reset()

func (*CreatePlumChainPb) String added in v0.4.0

func (m *CreatePlumChainPb) String() string

func (*CreatePlumChainPb) XXX_DiscardUnknown added in v0.4.0

func (m *CreatePlumChainPb) XXX_DiscardUnknown()

func (*CreatePlumChainPb) XXX_Marshal added in v0.4.0

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

func (*CreatePlumChainPb) XXX_Merge added in v0.4.0

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

func (*CreatePlumChainPb) XXX_Size added in v0.4.0

func (m *CreatePlumChainPb) XXX_Size() int

func (*CreatePlumChainPb) XXX_Unmarshal added in v0.4.0

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

type EndorsePb added in v0.4.0

type EndorsePb struct {
	Height               uint64                       `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint32                       `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	BlockHash            []byte                       `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Topic                EndorsePb_ConsensusVoteTopic `protobuf:"varint,4,opt,name=topic,proto3,enum=iproto.EndorsePb_ConsensusVoteTopic" json:"topic,omitempty"`
	Endorser             string                       `protobuf:"bytes,5,opt,name=endorser,proto3" json:"endorser,omitempty"`
	EndorserPubKey       []byte                       `protobuf:"bytes,6,opt,name=endorserPubKey,proto3" json:"endorserPubKey,omitempty"`
	Decision             bool                         `protobuf:"varint,7,opt,name=decision,proto3" json:"decision,omitempty"`
	Signature            []byte                       `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

corresponding to prepare and pre-prepare phase in view change protocol

func (*EndorsePb) Descriptor added in v0.4.0

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

func (*EndorsePb) GetBlockHash added in v0.4.0

func (m *EndorsePb) GetBlockHash() []byte

func (*EndorsePb) GetDecision added in v0.4.0

func (m *EndorsePb) GetDecision() bool

func (*EndorsePb) GetEndorser added in v0.4.0

func (m *EndorsePb) GetEndorser() string

func (*EndorsePb) GetEndorserPubKey added in v0.4.0

func (m *EndorsePb) GetEndorserPubKey() []byte

func (*EndorsePb) GetHeight added in v0.4.0

func (m *EndorsePb) GetHeight() uint64

func (*EndorsePb) GetRound added in v0.4.0

func (m *EndorsePb) GetRound() uint32

func (*EndorsePb) GetSignature added in v0.4.0

func (m *EndorsePb) GetSignature() []byte

func (*EndorsePb) GetTopic added in v0.4.0

func (*EndorsePb) ProtoMessage added in v0.4.0

func (*EndorsePb) ProtoMessage()

func (*EndorsePb) Reset added in v0.4.0

func (m *EndorsePb) Reset()

func (*EndorsePb) String added in v0.4.0

func (m *EndorsePb) String() string

func (*EndorsePb) XXX_DiscardUnknown added in v0.4.0

func (m *EndorsePb) XXX_DiscardUnknown()

func (*EndorsePb) XXX_Marshal added in v0.4.0

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

func (*EndorsePb) XXX_Merge added in v0.4.0

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

func (*EndorsePb) XXX_Size added in v0.4.0

func (m *EndorsePb) XXX_Size() int

func (*EndorsePb) XXX_Unmarshal added in v0.4.0

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

type EndorsePb_ConsensusVoteTopic added in v0.4.0

type EndorsePb_ConsensusVoteTopic int32
const (
	EndorsePb_PROPOSAL EndorsePb_ConsensusVoteTopic = 0
	EndorsePb_LOCK     EndorsePb_ConsensusVoteTopic = 1
	EndorsePb_COMMIT   EndorsePb_ConsensusVoteTopic = 2
)

func (EndorsePb_ConsensusVoteTopic) EnumDescriptor added in v0.4.0

func (EndorsePb_ConsensusVoteTopic) EnumDescriptor() ([]byte, []int)

func (EndorsePb_ConsensusVoteTopic) String added in v0.4.0

type EndorsementSet added in v0.4.0

type EndorsementSet struct {
	BlockHash            []byte       `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Round                uint32       `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Endorsements         []*EndorsePb `protobuf:"bytes,3,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*EndorsementSet) Descriptor added in v0.4.0

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

func (*EndorsementSet) GetBlockHash added in v0.4.0

func (m *EndorsementSet) GetBlockHash() []byte

func (*EndorsementSet) GetEndorsements added in v0.4.0

func (m *EndorsementSet) GetEndorsements() []*EndorsePb

func (*EndorsementSet) GetRound added in v0.4.0

func (m *EndorsementSet) GetRound() uint32

func (*EndorsementSet) ProtoMessage added in v0.4.0

func (*EndorsementSet) ProtoMessage()

func (*EndorsementSet) Reset added in v0.4.0

func (m *EndorsementSet) Reset()

func (*EndorsementSet) String added in v0.4.0

func (m *EndorsementSet) String() string

func (*EndorsementSet) XXX_DiscardUnknown added in v0.4.0

func (m *EndorsementSet) XXX_DiscardUnknown()

func (*EndorsementSet) XXX_Marshal added in v0.4.0

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

func (*EndorsementSet) XXX_Merge added in v0.4.0

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

func (*EndorsementSet) XXX_Size added in v0.4.0

func (m *EndorsementSet) XXX_Size() int

func (*EndorsementSet) XXX_Unmarshal added in v0.4.0

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

type ExecutionPb added in v0.3.0

type ExecutionPb struct {
	Amount               []byte   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Contract             string   `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecutionPb) Descriptor added in v0.3.0

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

func (*ExecutionPb) GetAmount added in v0.3.0

func (m *ExecutionPb) GetAmount() []byte

func (*ExecutionPb) GetContract added in v0.3.0

func (m *ExecutionPb) GetContract() string

func (*ExecutionPb) GetData added in v0.3.0

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

func (*ExecutionPb) ProtoMessage added in v0.3.0

func (*ExecutionPb) ProtoMessage()

func (*ExecutionPb) Reset added in v0.3.0

func (m *ExecutionPb) Reset()

func (*ExecutionPb) String added in v0.3.0

func (m *ExecutionPb) String() string

func (*ExecutionPb) XXX_DiscardUnknown added in v0.4.0

func (m *ExecutionPb) XXX_DiscardUnknown()

func (*ExecutionPb) XXX_Marshal added in v0.4.0

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

func (*ExecutionPb) XXX_Merge added in v0.4.0

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

func (*ExecutionPb) XXX_Size added in v0.4.0

func (m *ExecutionPb) XXX_Size() int

func (*ExecutionPb) XXX_Unmarshal added in v0.4.0

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

type LeafPb added in v0.4.0

type LeafPb struct {
	Ext                  uint32   `protobuf:"varint,1,opt,name=ext,proto3" json:"ext,omitempty"`
	Path                 []byte   `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Value                []byte   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LeafPb) Descriptor added in v0.4.0

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

func (*LeafPb) GetExt added in v0.4.0

func (m *LeafPb) GetExt() uint32

func (*LeafPb) GetPath added in v0.4.0

func (m *LeafPb) GetPath() []byte

func (*LeafPb) GetValue added in v0.4.0

func (m *LeafPb) GetValue() []byte

func (*LeafPb) ProtoMessage added in v0.4.0

func (*LeafPb) ProtoMessage()

func (*LeafPb) Reset added in v0.4.0

func (m *LeafPb) Reset()

func (*LeafPb) String added in v0.4.0

func (m *LeafPb) String() string

func (*LeafPb) XXX_DiscardUnknown added in v0.4.0

func (m *LeafPb) XXX_DiscardUnknown()

func (*LeafPb) XXX_Marshal added in v0.4.0

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

func (*LeafPb) XXX_Merge added in v0.4.0

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

func (*LeafPb) XXX_Size added in v0.4.0

func (m *LeafPb) XXX_Size() int

func (*LeafPb) XXX_Unmarshal added in v0.4.0

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

type LogPb added in v0.3.0

type LogPb struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Topics               [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	BlockNumber          uint64   `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	TxnHash              []byte   `protobuf:"bytes,5,opt,name=txnHash,proto3" json:"txnHash,omitempty"`
	BlockHash            []byte   `protobuf:"bytes,6,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Index                uint32   `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogPb) Descriptor added in v0.3.0

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

func (*LogPb) GetAddress added in v0.3.0

func (m *LogPb) GetAddress() string

func (*LogPb) GetBlockHash added in v0.3.0

func (m *LogPb) GetBlockHash() []byte

func (*LogPb) GetBlockNumber added in v0.3.0

func (m *LogPb) GetBlockNumber() uint64

func (*LogPb) GetData added in v0.3.0

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

func (*LogPb) GetIndex added in v0.3.0

func (m *LogPb) GetIndex() uint32

func (*LogPb) GetTopics added in v0.3.0

func (m *LogPb) GetTopics() [][]byte

func (*LogPb) GetTxnHash added in v0.3.0

func (m *LogPb) GetTxnHash() []byte

func (*LogPb) ProtoMessage added in v0.3.0

func (*LogPb) ProtoMessage()

func (*LogPb) Reset added in v0.3.0

func (m *LogPb) Reset()

func (*LogPb) String added in v0.3.0

func (m *LogPb) String() string

func (*LogPb) XXX_DiscardUnknown added in v0.4.0

func (m *LogPb) XXX_DiscardUnknown()

func (*LogPb) XXX_Marshal added in v0.4.0

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

func (*LogPb) XXX_Merge added in v0.4.0

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

func (*LogPb) XXX_Size added in v0.4.0

func (m *LogPb) XXX_Size() int

func (*LogPb) XXX_Unmarshal added in v0.4.0

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

type NodePb added in v0.4.0

type NodePb struct {
	// Types that are valid to be assigned to Node:
	//	*NodePb_Branch
	//	*NodePb_Leaf
	Node                 isNodePb_Node `protobuf_oneof:"node"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*NodePb) Descriptor added in v0.4.0

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

func (*NodePb) GetBranch added in v0.4.0

func (m *NodePb) GetBranch() *BranchPb

func (*NodePb) GetLeaf added in v0.4.0

func (m *NodePb) GetLeaf() *LeafPb

func (*NodePb) GetNode added in v0.4.0

func (m *NodePb) GetNode() isNodePb_Node

func (*NodePb) ProtoMessage added in v0.4.0

func (*NodePb) ProtoMessage()

func (*NodePb) Reset added in v0.4.0

func (m *NodePb) Reset()

func (*NodePb) String added in v0.4.0

func (m *NodePb) String() string

func (*NodePb) XXX_DiscardUnknown added in v0.4.0

func (m *NodePb) XXX_DiscardUnknown()

func (*NodePb) XXX_Marshal added in v0.4.0

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

func (*NodePb) XXX_Merge added in v0.4.0

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

func (*NodePb) XXX_OneofFuncs added in v0.4.0

func (*NodePb) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*NodePb) XXX_Size added in v0.4.0

func (m *NodePb) XXX_Size() int

func (*NodePb) XXX_Unmarshal added in v0.4.0

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

type NodePb_Branch added in v0.4.0

type NodePb_Branch struct {
	Branch *BranchPb `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}

type NodePb_Leaf added in v0.4.0

type NodePb_Leaf struct {
	Leaf *LeafPb `protobuf:"bytes,3,opt,name=leaf,proto3,oneof"`
}

type PlumChallengeExit added in v0.4.0

type PlumChallengeExit struct {
	SubChainAddress              string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	CoinID                       uint64   `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
	ChallengeTransfer            []byte   `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"`
	ChallengeTransferBlockProof  []byte   `protobuf:"bytes,4,opt,name=challengeTransferBlockProof,proto3" json:"challengeTransferBlockProof,omitempty"`
	ChallengeTransferBlockHeight uint64   `protobuf:"varint,5,opt,name=challengeTransferBlockHeight,proto3" json:"challengeTransferBlockHeight,omitempty"`
	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
	XXX_unrecognized             []byte   `json:"-"`
	XXX_sizecache                int32    `json:"-"`
}

func (*PlumChallengeExit) Descriptor added in v0.4.0

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

func (*PlumChallengeExit) GetChallengeTransfer added in v0.4.0

func (m *PlumChallengeExit) GetChallengeTransfer() []byte

func (*PlumChallengeExit) GetChallengeTransferBlockHeight added in v0.4.0

func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64

func (*PlumChallengeExit) GetChallengeTransferBlockProof added in v0.4.0

func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte

func (*PlumChallengeExit) GetCoinID added in v0.4.0

func (m *PlumChallengeExit) GetCoinID() uint64

func (*PlumChallengeExit) GetSubChainAddress added in v0.4.0

func (m *PlumChallengeExit) GetSubChainAddress() string

func (*PlumChallengeExit) ProtoMessage added in v0.4.0

func (*PlumChallengeExit) ProtoMessage()

func (*PlumChallengeExit) Reset added in v0.4.0

func (m *PlumChallengeExit) Reset()

func (*PlumChallengeExit) String added in v0.4.0

func (m *PlumChallengeExit) String() string

func (*PlumChallengeExit) XXX_DiscardUnknown added in v0.4.0

func (m *PlumChallengeExit) XXX_DiscardUnknown()

func (*PlumChallengeExit) XXX_Marshal added in v0.4.0

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

func (*PlumChallengeExit) XXX_Merge added in v0.4.0

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

func (*PlumChallengeExit) XXX_Size added in v0.4.0

func (m *PlumChallengeExit) XXX_Size() int

func (*PlumChallengeExit) XXX_Unmarshal added in v0.4.0

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

type PlumCreateDepositPb added in v0.4.0

type PlumCreateDepositPb struct {
	SubChainAddress      string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Amount               []byte   `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlumCreateDepositPb) Descriptor added in v0.4.0

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

func (*PlumCreateDepositPb) GetAmount added in v0.4.0

func (m *PlumCreateDepositPb) GetAmount() []byte

func (*PlumCreateDepositPb) GetRecipient added in v0.4.0

func (m *PlumCreateDepositPb) GetRecipient() string

func (*PlumCreateDepositPb) GetSubChainAddress added in v0.4.0

func (m *PlumCreateDepositPb) GetSubChainAddress() string

func (*PlumCreateDepositPb) ProtoMessage added in v0.4.0

func (*PlumCreateDepositPb) ProtoMessage()

func (*PlumCreateDepositPb) Reset added in v0.4.0

func (m *PlumCreateDepositPb) Reset()

func (*PlumCreateDepositPb) String added in v0.4.0

func (m *PlumCreateDepositPb) String() string

func (*PlumCreateDepositPb) XXX_DiscardUnknown added in v0.4.0

func (m *PlumCreateDepositPb) XXX_DiscardUnknown()

func (*PlumCreateDepositPb) XXX_Marshal added in v0.4.0

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

func (*PlumCreateDepositPb) XXX_Merge added in v0.4.0

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

func (*PlumCreateDepositPb) XXX_Size added in v0.4.0

func (m *PlumCreateDepositPb) XXX_Size() int

func (*PlumCreateDepositPb) XXX_Unmarshal added in v0.4.0

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

type PlumFinalizeExit added in v0.4.0

type PlumFinalizeExit struct {
	SubChainAddress      string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	CoinID               uint64   `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlumFinalizeExit) Descriptor added in v0.4.0

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

func (*PlumFinalizeExit) GetCoinID added in v0.4.0

func (m *PlumFinalizeExit) GetCoinID() uint64

func (*PlumFinalizeExit) GetSubChainAddress added in v0.4.0

func (m *PlumFinalizeExit) GetSubChainAddress() string

func (*PlumFinalizeExit) ProtoMessage added in v0.4.0

func (*PlumFinalizeExit) ProtoMessage()

func (*PlumFinalizeExit) Reset added in v0.4.0

func (m *PlumFinalizeExit) Reset()

func (*PlumFinalizeExit) String added in v0.4.0

func (m *PlumFinalizeExit) String() string

func (*PlumFinalizeExit) XXX_DiscardUnknown added in v0.4.0

func (m *PlumFinalizeExit) XXX_DiscardUnknown()

func (*PlumFinalizeExit) XXX_Marshal added in v0.4.0

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

func (*PlumFinalizeExit) XXX_Merge added in v0.4.0

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

func (*PlumFinalizeExit) XXX_Size added in v0.4.0

func (m *PlumFinalizeExit) XXX_Size() int

func (*PlumFinalizeExit) XXX_Unmarshal added in v0.4.0

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

type PlumPutBlockPb added in v0.4.0

type PlumPutBlockPb struct {
	SubChainAddress      string            `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Height               uint64            `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Roots                map[string][]byte `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PlumPutBlockPb) Descriptor added in v0.4.0

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

func (*PlumPutBlockPb) GetHeight added in v0.4.0

func (m *PlumPutBlockPb) GetHeight() uint64

func (*PlumPutBlockPb) GetRoots added in v0.4.0

func (m *PlumPutBlockPb) GetRoots() map[string][]byte

func (*PlumPutBlockPb) GetSubChainAddress added in v0.4.0

func (m *PlumPutBlockPb) GetSubChainAddress() string

func (*PlumPutBlockPb) ProtoMessage added in v0.4.0

func (*PlumPutBlockPb) ProtoMessage()

func (*PlumPutBlockPb) Reset added in v0.4.0

func (m *PlumPutBlockPb) Reset()

func (*PlumPutBlockPb) String added in v0.4.0

func (m *PlumPutBlockPb) String() string

func (*PlumPutBlockPb) XXX_DiscardUnknown added in v0.4.0

func (m *PlumPutBlockPb) XXX_DiscardUnknown()

func (*PlumPutBlockPb) XXX_Marshal added in v0.4.0

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

func (*PlumPutBlockPb) XXX_Merge added in v0.4.0

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

func (*PlumPutBlockPb) XXX_Size added in v0.4.0

func (m *PlumPutBlockPb) XXX_Size() int

func (*PlumPutBlockPb) XXX_Unmarshal added in v0.4.0

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

type PlumResponseChallengeExit added in v0.4.0

type PlumResponseChallengeExit struct {
	SubChainAddress             string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	CoinID                      uint64   `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
	ChallengeTransfer           []byte   `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"`
	ResponseTransfer            []byte   `protobuf:"bytes,4,opt,name=responseTransfer,proto3" json:"responseTransfer,omitempty"`
	ResponseTransferBlockProof  []byte   `protobuf:"bytes,5,opt,name=responseTransferBlockProof,proto3" json:"responseTransferBlockProof,omitempty"`
	PreviousTransferBlockHeight uint64   `protobuf:"varint,6,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"`
	XXX_NoUnkeyedLiteral        struct{} `json:"-"`
	XXX_unrecognized            []byte   `json:"-"`
	XXX_sizecache               int32    `json:"-"`
}

func (*PlumResponseChallengeExit) Descriptor added in v0.4.0

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

func (*PlumResponseChallengeExit) GetChallengeTransfer added in v0.4.0

func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte

func (*PlumResponseChallengeExit) GetCoinID added in v0.4.0

func (m *PlumResponseChallengeExit) GetCoinID() uint64

func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight added in v0.4.0

func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64

func (*PlumResponseChallengeExit) GetResponseTransfer added in v0.4.0

func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte

func (*PlumResponseChallengeExit) GetResponseTransferBlockProof added in v0.4.0

func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte

func (*PlumResponseChallengeExit) GetSubChainAddress added in v0.4.0

func (m *PlumResponseChallengeExit) GetSubChainAddress() string

func (*PlumResponseChallengeExit) ProtoMessage added in v0.4.0

func (*PlumResponseChallengeExit) ProtoMessage()

func (*PlumResponseChallengeExit) Reset added in v0.4.0

func (m *PlumResponseChallengeExit) Reset()

func (*PlumResponseChallengeExit) String added in v0.4.0

func (m *PlumResponseChallengeExit) String() string

func (*PlumResponseChallengeExit) XXX_DiscardUnknown added in v0.4.0

func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()

func (*PlumResponseChallengeExit) XXX_Marshal added in v0.4.0

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

func (*PlumResponseChallengeExit) XXX_Merge added in v0.4.0

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

func (*PlumResponseChallengeExit) XXX_Size added in v0.4.0

func (m *PlumResponseChallengeExit) XXX_Size() int

func (*PlumResponseChallengeExit) XXX_Unmarshal added in v0.4.0

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

type PlumSettleDepositPb added in v0.4.0

type PlumSettleDepositPb struct {
	CoinID               uint64   `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

plum sub chain APIs

func (*PlumSettleDepositPb) Descriptor added in v0.4.0

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

func (*PlumSettleDepositPb) GetCoinID added in v0.4.0

func (m *PlumSettleDepositPb) GetCoinID() uint64

func (*PlumSettleDepositPb) ProtoMessage added in v0.4.0

func (*PlumSettleDepositPb) ProtoMessage()

func (*PlumSettleDepositPb) Reset added in v0.4.0

func (m *PlumSettleDepositPb) Reset()

func (*PlumSettleDepositPb) String added in v0.4.0

func (m *PlumSettleDepositPb) String() string

func (*PlumSettleDepositPb) XXX_DiscardUnknown added in v0.4.0

func (m *PlumSettleDepositPb) XXX_DiscardUnknown()

func (*PlumSettleDepositPb) XXX_Marshal added in v0.4.0

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

func (*PlumSettleDepositPb) XXX_Merge added in v0.4.0

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

func (*PlumSettleDepositPb) XXX_Size added in v0.4.0

func (m *PlumSettleDepositPb) XXX_Size() int

func (*PlumSettleDepositPb) XXX_Unmarshal added in v0.4.0

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

type PlumStartExitPb added in v0.4.0

type PlumStartExitPb struct {
	SubChainAddress             string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	PreviousTransfer            []byte   `protobuf:"bytes,2,opt,name=previousTransfer,proto3" json:"previousTransfer,omitempty"`
	PreviousTransferBlockProof  []byte   `protobuf:"bytes,3,opt,name=previousTransferBlockProof,proto3" json:"previousTransferBlockProof,omitempty"`
	PreviousTransferBlockHeight uint64   `protobuf:"varint,4,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"`
	ExitTransfer                []byte   `protobuf:"bytes,5,opt,name=exitTransfer,proto3" json:"exitTransfer,omitempty"`
	ExitTransferBlockProof      []byte   `protobuf:"bytes,6,opt,name=exitTransferBlockProof,proto3" json:"exitTransferBlockProof,omitempty"`
	ExitTransferBlockHeight     uint64   `protobuf:"varint,7,opt,name=exitTransferBlockHeight,proto3" json:"exitTransferBlockHeight,omitempty"`
	XXX_NoUnkeyedLiteral        struct{} `json:"-"`
	XXX_unrecognized            []byte   `json:"-"`
	XXX_sizecache               int32    `json:"-"`
}

func (*PlumStartExitPb) Descriptor added in v0.4.0

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

func (*PlumStartExitPb) GetExitTransfer added in v0.4.0

func (m *PlumStartExitPb) GetExitTransfer() []byte

func (*PlumStartExitPb) GetExitTransferBlockHeight added in v0.4.0

func (m *PlumStartExitPb) GetExitTransferBlockHeight() uint64

func (*PlumStartExitPb) GetExitTransferBlockProof added in v0.4.0

func (m *PlumStartExitPb) GetExitTransferBlockProof() []byte

func (*PlumStartExitPb) GetPreviousTransfer added in v0.4.0

func (m *PlumStartExitPb) GetPreviousTransfer() []byte

func (*PlumStartExitPb) GetPreviousTransferBlockHeight added in v0.4.0

func (m *PlumStartExitPb) GetPreviousTransferBlockHeight() uint64

func (*PlumStartExitPb) GetPreviousTransferBlockProof added in v0.4.0

func (m *PlumStartExitPb) GetPreviousTransferBlockProof() []byte

func (*PlumStartExitPb) GetSubChainAddress added in v0.4.0

func (m *PlumStartExitPb) GetSubChainAddress() string

func (*PlumStartExitPb) ProtoMessage added in v0.4.0

func (*PlumStartExitPb) ProtoMessage()

func (*PlumStartExitPb) Reset added in v0.4.0

func (m *PlumStartExitPb) Reset()

func (*PlumStartExitPb) String added in v0.4.0

func (m *PlumStartExitPb) String() string

func (*PlumStartExitPb) XXX_DiscardUnknown added in v0.4.0

func (m *PlumStartExitPb) XXX_DiscardUnknown()

func (*PlumStartExitPb) XXX_Marshal added in v0.4.0

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

func (*PlumStartExitPb) XXX_Merge added in v0.4.0

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

func (*PlumStartExitPb) XXX_Size added in v0.4.0

func (m *PlumStartExitPb) XXX_Size() int

func (*PlumStartExitPb) XXX_Unmarshal added in v0.4.0

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

type PlumTransferPb added in v0.4.0

type PlumTransferPb struct {
	CoinID               uint64   `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"`
	Denomination         []byte   `protobuf:"bytes,2,opt,name=denomination,proto3" json:"denomination,omitempty"`
	Owner                string   `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Recipient            string   `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlumTransferPb) Descriptor added in v0.4.0

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

func (*PlumTransferPb) GetCoinID added in v0.4.0

func (m *PlumTransferPb) GetCoinID() uint64

func (*PlumTransferPb) GetDenomination added in v0.4.0

func (m *PlumTransferPb) GetDenomination() []byte

func (*PlumTransferPb) GetOwner added in v0.4.0

func (m *PlumTransferPb) GetOwner() string

func (*PlumTransferPb) GetRecipient added in v0.4.0

func (m *PlumTransferPb) GetRecipient() string

func (*PlumTransferPb) ProtoMessage added in v0.4.0

func (*PlumTransferPb) ProtoMessage()

func (*PlumTransferPb) Reset added in v0.4.0

func (m *PlumTransferPb) Reset()

func (*PlumTransferPb) String added in v0.4.0

func (m *PlumTransferPb) String() string

func (*PlumTransferPb) XXX_DiscardUnknown added in v0.4.0

func (m *PlumTransferPb) XXX_DiscardUnknown()

func (*PlumTransferPb) XXX_Marshal added in v0.4.0

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

func (*PlumTransferPb) XXX_Merge added in v0.4.0

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

func (*PlumTransferPb) XXX_Size added in v0.4.0

func (m *PlumTransferPb) XXX_Size() int

func (*PlumTransferPb) XXX_Unmarshal added in v0.4.0

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

type ProposePb added in v0.4.0

type ProposePb struct {
	Proposer             string          `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"`
	Block                *BlockPb        `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	Round                uint32          `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	LockProof            *EndorsementSet `protobuf:"bytes,4,opt,name=lockProof,proto3" json:"lockProof,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

corresponding to pre-prepare pharse in view change protocol

func (*ProposePb) Descriptor added in v0.4.0

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

func (*ProposePb) GetBlock added in v0.4.0

func (m *ProposePb) GetBlock() *BlockPb

func (*ProposePb) GetLockProof added in v0.4.0

func (m *ProposePb) GetLockProof() *EndorsementSet

func (*ProposePb) GetProposer added in v0.4.0

func (m *ProposePb) GetProposer() string

func (*ProposePb) GetRound added in v0.4.0

func (m *ProposePb) GetRound() uint32

func (*ProposePb) ProtoMessage added in v0.4.0

func (*ProposePb) ProtoMessage()

func (*ProposePb) Reset added in v0.4.0

func (m *ProposePb) Reset()

func (*ProposePb) String added in v0.4.0

func (m *ProposePb) String() string

func (*ProposePb) XXX_DiscardUnknown added in v0.4.0

func (m *ProposePb) XXX_DiscardUnknown()

func (*ProposePb) XXX_Marshal added in v0.4.0

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

func (*ProposePb) XXX_Merge added in v0.4.0

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

func (*ProposePb) XXX_Size added in v0.4.0

func (m *ProposePb) XXX_Size() int

func (*ProposePb) XXX_Unmarshal added in v0.4.0

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

type PutBlockPb added in v0.4.0

type PutBlockPb struct {
	SubChainAddress      string            `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Height               uint64            `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Roots                map[string][]byte `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PutBlockPb) Descriptor added in v0.4.0

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

func (*PutBlockPb) GetHeight added in v0.4.0

func (m *PutBlockPb) GetHeight() uint64

func (*PutBlockPb) GetRoots added in v0.4.0

func (m *PutBlockPb) GetRoots() map[string][]byte

func (*PutBlockPb) GetSubChainAddress added in v0.4.0

func (m *PutBlockPb) GetSubChainAddress() string

func (*PutBlockPb) ProtoMessage added in v0.4.0

func (*PutBlockPb) ProtoMessage()

func (*PutBlockPb) Reset added in v0.4.0

func (m *PutBlockPb) Reset()

func (*PutBlockPb) String added in v0.4.0

func (m *PutBlockPb) String() string

func (*PutBlockPb) XXX_DiscardUnknown added in v0.4.0

func (m *PutBlockPb) XXX_DiscardUnknown()

func (*PutBlockPb) XXX_Marshal added in v0.4.0

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

func (*PutBlockPb) XXX_Merge added in v0.4.0

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

func (*PutBlockPb) XXX_Size added in v0.4.0

func (m *PutBlockPb) XXX_Size() int

func (*PutBlockPb) XXX_Unmarshal added in v0.4.0

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

type ReceiptPb added in v0.3.0

type ReceiptPb struct {
	ReturnValue          []byte   `protobuf:"bytes,1,opt,name=returnValue,proto3" json:"returnValue,omitempty"`
	Status               uint64   `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Hash                 []byte   `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	GasConsumed          uint64   `protobuf:"varint,4,opt,name=gasConsumed,proto3" json:"gasConsumed,omitempty"`
	ContractAddress      string   `protobuf:"bytes,5,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	Logs                 []*LogPb `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptPb) Descriptor added in v0.3.0

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

func (*ReceiptPb) GetContractAddress added in v0.3.0

func (m *ReceiptPb) GetContractAddress() string

func (*ReceiptPb) GetGasConsumed added in v0.3.0

func (m *ReceiptPb) GetGasConsumed() uint64

func (*ReceiptPb) GetHash added in v0.3.0

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

func (*ReceiptPb) GetLogs added in v0.3.0

func (m *ReceiptPb) GetLogs() []*LogPb

func (*ReceiptPb) GetReturnValue added in v0.3.0

func (m *ReceiptPb) GetReturnValue() []byte

func (*ReceiptPb) GetStatus added in v0.3.0

func (m *ReceiptPb) GetStatus() uint64

func (*ReceiptPb) ProtoMessage added in v0.3.0

func (*ReceiptPb) ProtoMessage()

func (*ReceiptPb) Reset added in v0.3.0

func (m *ReceiptPb) Reset()

func (*ReceiptPb) String added in v0.3.0

func (m *ReceiptPb) String() string

func (*ReceiptPb) XXX_DiscardUnknown added in v0.4.0

func (m *ReceiptPb) XXX_DiscardUnknown()

func (*ReceiptPb) XXX_Marshal added in v0.4.0

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

func (*ReceiptPb) XXX_Merge added in v0.4.0

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

func (*ReceiptPb) XXX_Size added in v0.4.0

func (m *ReceiptPb) XXX_Size() int

func (*ReceiptPb) XXX_Unmarshal added in v0.4.0

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

type SecretProposalPb added in v0.4.0

type SecretProposalPb struct {
	Recipient            string   `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Secret               []uint32 `protobuf:"varint,2,rep,packed,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SecretProposalPb) Descriptor added in v0.4.0

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

func (*SecretProposalPb) GetRecipient added in v0.4.0

func (m *SecretProposalPb) GetRecipient() string

func (*SecretProposalPb) GetSecret added in v0.4.0

func (m *SecretProposalPb) GetSecret() []uint32

func (*SecretProposalPb) ProtoMessage added in v0.4.0

func (*SecretProposalPb) ProtoMessage()

func (*SecretProposalPb) Reset added in v0.4.0

func (m *SecretProposalPb) Reset()

func (*SecretProposalPb) String added in v0.4.0

func (m *SecretProposalPb) String() string

func (*SecretProposalPb) XXX_DiscardUnknown added in v0.4.0

func (m *SecretProposalPb) XXX_DiscardUnknown()

func (*SecretProposalPb) XXX_Marshal added in v0.4.0

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

func (*SecretProposalPb) XXX_Merge added in v0.4.0

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

func (*SecretProposalPb) XXX_Size added in v0.4.0

func (m *SecretProposalPb) XXX_Size() int

func (*SecretProposalPb) XXX_Unmarshal added in v0.4.0

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

type SecretWitnessPb added in v0.4.0

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

func (*SecretWitnessPb) Descriptor added in v0.4.0

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

func (*SecretWitnessPb) GetWitness added in v0.4.0

func (m *SecretWitnessPb) GetWitness() [][]byte

func (*SecretWitnessPb) ProtoMessage added in v0.4.0

func (*SecretWitnessPb) ProtoMessage()

func (*SecretWitnessPb) Reset added in v0.4.0

func (m *SecretWitnessPb) Reset()

func (*SecretWitnessPb) String added in v0.4.0

func (m *SecretWitnessPb) String() string

func (*SecretWitnessPb) XXX_DiscardUnknown added in v0.4.0

func (m *SecretWitnessPb) XXX_DiscardUnknown()

func (*SecretWitnessPb) XXX_Marshal added in v0.4.0

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

func (*SecretWitnessPb) XXX_Merge added in v0.4.0

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

func (*SecretWitnessPb) XXX_Size added in v0.4.0

func (m *SecretWitnessPb) XXX_Size() int

func (*SecretWitnessPb) XXX_Unmarshal added in v0.4.0

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

type SendActionRequest added in v0.4.0

type SendActionRequest struct {
	Action               *ActionPb `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SendActionRequest) Descriptor added in v0.4.0

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

func (*SendActionRequest) GetAction added in v0.4.0

func (m *SendActionRequest) GetAction() *ActionPb

func (*SendActionRequest) ProtoMessage added in v0.4.0

func (*SendActionRequest) ProtoMessage()

func (*SendActionRequest) Reset added in v0.4.0

func (m *SendActionRequest) Reset()

func (*SendActionRequest) String added in v0.4.0

func (m *SendActionRequest) String() string

func (*SendActionRequest) XXX_DiscardUnknown added in v0.4.0

func (m *SendActionRequest) XXX_DiscardUnknown()

func (*SendActionRequest) XXX_Marshal added in v0.4.0

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

func (*SendActionRequest) XXX_Merge added in v0.4.0

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

func (*SendActionRequest) XXX_Size added in v0.4.0

func (m *SendActionRequest) XXX_Size() int

func (*SendActionRequest) XXX_Unmarshal added in v0.4.0

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

type SettleDepositPb added in v0.4.0

type SettleDepositPb struct {
	Amount               []byte   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Index                uint64   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SettleDepositPb) Descriptor added in v0.4.0

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

func (*SettleDepositPb) GetAmount added in v0.4.0

func (m *SettleDepositPb) GetAmount() []byte

func (*SettleDepositPb) GetIndex added in v0.4.0

func (m *SettleDepositPb) GetIndex() uint64

func (*SettleDepositPb) GetRecipient added in v0.4.0

func (m *SettleDepositPb) GetRecipient() string

func (*SettleDepositPb) ProtoMessage added in v0.4.0

func (*SettleDepositPb) ProtoMessage()

func (*SettleDepositPb) Reset added in v0.4.0

func (m *SettleDepositPb) Reset()

func (*SettleDepositPb) String added in v0.4.0

func (m *SettleDepositPb) String() string

func (*SettleDepositPb) XXX_DiscardUnknown added in v0.4.0

func (m *SettleDepositPb) XXX_DiscardUnknown()

func (*SettleDepositPb) XXX_Marshal added in v0.4.0

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

func (*SettleDepositPb) XXX_Merge added in v0.4.0

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

func (*SettleDepositPb) XXX_Size added in v0.4.0

func (m *SettleDepositPb) XXX_Size() int

func (*SettleDepositPb) XXX_Unmarshal added in v0.4.0

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

type StartSubChainPb added in v0.4.0

type StartSubChainPb struct {
	// TODO: chainID chould be assigned by system and returned via a receipt
	ChainID              uint32   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	SecurityDeposit      []byte   `protobuf:"bytes,2,opt,name=securityDeposit,proto3" json:"securityDeposit,omitempty"`
	OperationDeposit     []byte   `protobuf:"bytes,3,opt,name=operationDeposit,proto3" json:"operationDeposit,omitempty"`
	StartHeight          uint64   `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
	ParentHeightOffset   uint64   `protobuf:"varint,5,opt,name=parentHeightOffset,proto3" json:"parentHeightOffset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartSubChainPb) Descriptor added in v0.4.0

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

func (*StartSubChainPb) GetChainID added in v0.4.0

func (m *StartSubChainPb) GetChainID() uint32

func (*StartSubChainPb) GetOperationDeposit added in v0.4.0

func (m *StartSubChainPb) GetOperationDeposit() []byte

func (*StartSubChainPb) GetParentHeightOffset added in v0.4.0

func (m *StartSubChainPb) GetParentHeightOffset() uint64

func (*StartSubChainPb) GetSecurityDeposit added in v0.4.0

func (m *StartSubChainPb) GetSecurityDeposit() []byte

func (*StartSubChainPb) GetStartHeight added in v0.4.0

func (m *StartSubChainPb) GetStartHeight() uint64

func (*StartSubChainPb) ProtoMessage added in v0.4.0

func (*StartSubChainPb) ProtoMessage()

func (*StartSubChainPb) Reset added in v0.4.0

func (m *StartSubChainPb) Reset()

func (*StartSubChainPb) String added in v0.4.0

func (m *StartSubChainPb) String() string

func (*StartSubChainPb) XXX_DiscardUnknown added in v0.4.0

func (m *StartSubChainPb) XXX_DiscardUnknown()

func (*StartSubChainPb) XXX_Marshal added in v0.4.0

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

func (*StartSubChainPb) XXX_Merge added in v0.4.0

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

func (*StartSubChainPb) XXX_Size added in v0.4.0

func (m *StartSubChainPb) XXX_Size() int

func (*StartSubChainPb) XXX_Unmarshal added in v0.4.0

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

type StopSubChainPb added in v0.4.0

type StopSubChainPb struct {
	ChainID              uint32   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	StopHeight           uint64   `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"`
	SubChainAddress      string   `protobuf:"bytes,3,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopSubChainPb) Descriptor added in v0.4.0

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

func (*StopSubChainPb) GetChainID added in v0.4.0

func (m *StopSubChainPb) GetChainID() uint32

func (*StopSubChainPb) GetStopHeight added in v0.4.0

func (m *StopSubChainPb) GetStopHeight() uint64

func (*StopSubChainPb) GetSubChainAddress added in v0.4.0

func (m *StopSubChainPb) GetSubChainAddress() string

func (*StopSubChainPb) ProtoMessage added in v0.4.0

func (*StopSubChainPb) ProtoMessage()

func (*StopSubChainPb) Reset added in v0.4.0

func (m *StopSubChainPb) Reset()

func (*StopSubChainPb) String added in v0.4.0

func (m *StopSubChainPb) String() string

func (*StopSubChainPb) XXX_DiscardUnknown added in v0.4.0

func (m *StopSubChainPb) XXX_DiscardUnknown()

func (*StopSubChainPb) XXX_Marshal added in v0.4.0

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

func (*StopSubChainPb) XXX_Merge added in v0.4.0

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

func (*StopSubChainPb) XXX_Size added in v0.4.0

func (m *StopSubChainPb) XXX_Size() int

func (*StopSubChainPb) XXX_Unmarshal added in v0.4.0

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

type TerminatePlumChainPb added in v0.4.0

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

func (*TerminatePlumChainPb) Descriptor added in v0.4.0

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

func (*TerminatePlumChainPb) GetSubChainAddress added in v0.4.0

func (m *TerminatePlumChainPb) GetSubChainAddress() string

func (*TerminatePlumChainPb) ProtoMessage added in v0.4.0

func (*TerminatePlumChainPb) ProtoMessage()

func (*TerminatePlumChainPb) Reset added in v0.4.0

func (m *TerminatePlumChainPb) Reset()

func (*TerminatePlumChainPb) String added in v0.4.0

func (m *TerminatePlumChainPb) String() string

func (*TerminatePlumChainPb) XXX_DiscardUnknown added in v0.4.0

func (m *TerminatePlumChainPb) XXX_DiscardUnknown()

func (*TerminatePlumChainPb) XXX_Marshal added in v0.4.0

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

func (*TerminatePlumChainPb) XXX_Merge added in v0.4.0

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

func (*TerminatePlumChainPb) XXX_Size added in v0.4.0

func (m *TerminatePlumChainPb) XXX_Size() int

func (*TerminatePlumChainPb) XXX_Unmarshal added in v0.4.0

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

type TestPayload

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

////////////////////////////////////////////////////////////////////////////////////////////////// BELOW ARE DEFINITIONS FOR TEST-ONLY MESSAGES! //////////////////////////////////////////////////////////////////////////////////////////////////

func (*TestPayload) Descriptor

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

func (*TestPayload) GetMsgBody

func (m *TestPayload) GetMsgBody() []byte

func (*TestPayload) ProtoMessage

func (*TestPayload) ProtoMessage()

func (*TestPayload) Reset

func (m *TestPayload) Reset()

func (*TestPayload) String

func (m *TestPayload) String() string

func (*TestPayload) XXX_DiscardUnknown added in v0.4.0

func (m *TestPayload) XXX_DiscardUnknown()

func (*TestPayload) XXX_Marshal added in v0.4.0

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

func (*TestPayload) XXX_Merge added in v0.4.0

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

func (*TestPayload) XXX_Size added in v0.4.0

func (m *TestPayload) XXX_Size() int

func (*TestPayload) XXX_Unmarshal added in v0.4.0

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

type TransferPb added in v0.2.0

type TransferPb struct {
	// used by state-based model
	Amount               []byte   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	IsCoinbase           bool     `protobuf:"varint,4,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransferPb) Descriptor added in v0.2.0

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

func (*TransferPb) GetAmount added in v0.2.0

func (m *TransferPb) GetAmount() []byte

func (*TransferPb) GetIsCoinbase added in v0.2.0

func (m *TransferPb) GetIsCoinbase() bool

func (*TransferPb) GetPayload added in v0.2.0

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

func (*TransferPb) GetRecipient added in v0.2.0

func (m *TransferPb) GetRecipient() string

func (*TransferPb) ProtoMessage added in v0.2.0

func (*TransferPb) ProtoMessage()

func (*TransferPb) Reset added in v0.2.0

func (m *TransferPb) Reset()

func (*TransferPb) String added in v0.2.0

func (m *TransferPb) String() string

func (*TransferPb) XXX_DiscardUnknown added in v0.4.0

func (m *TransferPb) XXX_DiscardUnknown()

func (*TransferPb) XXX_Marshal added in v0.4.0

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

func (*TransferPb) XXX_Merge added in v0.4.0

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

func (*TransferPb) XXX_Size added in v0.4.0

func (m *TransferPb) XXX_Size() int

func (*TransferPb) XXX_Unmarshal added in v0.4.0

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

type VotePb added in v0.2.0

type VotePb struct {
	Timestamp            uint64   `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	VoteeAddress         string   `protobuf:"bytes,2,opt,name=voteeAddress,proto3" json:"voteeAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VotePb) Descriptor added in v0.2.0

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

func (*VotePb) GetTimestamp added in v0.2.0

func (m *VotePb) GetTimestamp() uint64

func (*VotePb) GetVoteeAddress added in v0.3.0

func (m *VotePb) GetVoteeAddress() string

func (*VotePb) ProtoMessage added in v0.2.0

func (*VotePb) ProtoMessage()

func (*VotePb) Reset added in v0.2.0

func (m *VotePb) Reset()

func (*VotePb) String added in v0.2.0

func (m *VotePb) String() string

func (*VotePb) XXX_DiscardUnknown added in v0.4.0

func (m *VotePb) XXX_DiscardUnknown()

func (*VotePb) XXX_Marshal added in v0.4.0

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

func (*VotePb) XXX_Merge added in v0.4.0

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

func (*VotePb) XXX_Size added in v0.4.0

func (m *VotePb) XXX_Size() int

func (*VotePb) XXX_Unmarshal added in v0.4.0

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

Jump to

Keyboard shortcuts

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