Documentation ¶
Index ¶
- Variables
- func ComputeSignatureHash(lastRelayHash []byte, sigChainLen int) []byte
- type AllowedBroadcastPullMessageType
- type AllowedBroadcastPushMessageType
- type AllowedBroadcastTreeMessageType
- type AllowedDirectMessageType
- type AllowedRelayMessageType
- type AllowedSignedMessageType
- type AllowedUnsignedMessageType
- type BacktrackSignatureChain
- func (*BacktrackSignatureChain) Descriptor() ([]byte, []int)
- func (this *BacktrackSignatureChain) Equal(that interface{}) bool
- func (m *BacktrackSignatureChain) GetHash() []byte
- func (m *BacktrackSignatureChain) GetSigChainElems() []*SigChainElem
- func (this *BacktrackSignatureChain) GoString() string
- func (m *BacktrackSignatureChain) Marshal() (dAtA []byte, err error)
- func (m *BacktrackSignatureChain) MarshalTo(dAtA []byte) (int, error)
- func (*BacktrackSignatureChain) ProtoMessage()
- func (m *BacktrackSignatureChain) Reset()
- func (m *BacktrackSignatureChain) Size() (n int)
- func (this *BacktrackSignatureChain) String() string
- func (m *BacktrackSignatureChain) Unmarshal(dAtA []byte) error
- func (m *BacktrackSignatureChain) XXX_DiscardUnknown()
- func (m *BacktrackSignatureChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BacktrackSignatureChain) XXX_Merge(src proto.Message)
- func (m *BacktrackSignatureChain) XXX_Size() int
- func (m *BacktrackSignatureChain) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (this *Block) Equal(that interface{}) bool
- func (m *Block) GetHeader() *Header
- func (m *Block) GetTransactions() []*Transaction
- func (this *Block) GoString() string
- func (m *Block) Marshal() (dAtA []byte, err error)
- func (m *Block) MarshalTo(dAtA []byte) (int, error)
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) Size() (n int)
- func (this *Block) String() string
- func (m *Block) Unmarshal(dAtA []byte) error
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type ClientMessage
- func (*ClientMessage) Descriptor() ([]byte, []int)
- func (this *ClientMessage) Equal(that interface{}) bool
- func (m *ClientMessage) GetCompressionType() CompressionType
- func (m *ClientMessage) GetMessage() []byte
- func (m *ClientMessage) GetMessageType() ClientMessageType
- func (this *ClientMessage) GoString() string
- func (m *ClientMessage) Marshal() (dAtA []byte, err error)
- func (m *ClientMessage) MarshalTo(dAtA []byte) (int, error)
- func (*ClientMessage) ProtoMessage()
- func (m *ClientMessage) Reset()
- func (m *ClientMessage) Size() (n int)
- func (this *ClientMessage) String() string
- func (m *ClientMessage) Unmarshal(dAtA []byte) error
- func (m *ClientMessage) XXX_DiscardUnknown()
- func (m *ClientMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClientMessage) XXX_Merge(src proto.Message)
- func (m *ClientMessage) XXX_Size() int
- func (m *ClientMessage) XXX_Unmarshal(b []byte) error
- type ClientMessageType
- type Coinbase
- func (*Coinbase) Descriptor() ([]byte, []int)
- func (this *Coinbase) Equal(that interface{}) bool
- func (m *Coinbase) GetAmount() int64
- func (m *Coinbase) GetRecipient() []byte
- func (m *Coinbase) GetSender() []byte
- func (this *Coinbase) GoString() string
- func (m *Coinbase) Marshal() (dAtA []byte, err error)
- func (m *Coinbase) MarshalTo(dAtA []byte) (int, error)
- func (*Coinbase) ProtoMessage()
- func (m *Coinbase) Reset()
- func (m *Coinbase) Size() (n int)
- func (this *Coinbase) String() string
- func (m *Coinbase) ToMap() map[string]interface{}
- func (m *Coinbase) Unmarshal(dAtA []byte) error
- func (m *Coinbase) XXX_DiscardUnknown()
- func (m *Coinbase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Coinbase) XXX_Merge(src proto.Message)
- func (m *Coinbase) XXX_Size() int
- func (m *Coinbase) XXX_Unmarshal(b []byte) error
- type CompressionType
- type DeleteName
- func (*DeleteName) Descriptor() ([]byte, []int)
- func (this *DeleteName) Equal(that interface{}) bool
- func (m *DeleteName) GetName() string
- func (m *DeleteName) GetRegistrant() []byte
- func (this *DeleteName) GoString() string
- func (m *DeleteName) Marshal() (dAtA []byte, err error)
- func (m *DeleteName) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteName) ProtoMessage()
- func (m *DeleteName) Reset()
- func (m *DeleteName) Size() (n int)
- func (this *DeleteName) String() string
- func (m *DeleteName) Unmarshal(dAtA []byte) error
- func (m *DeleteName) XXX_DiscardUnknown()
- func (m *DeleteName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteName) XXX_Merge(src proto.Message)
- func (m *DeleteName) XXX_Size() int
- func (m *DeleteName) XXX_Unmarshal(b []byte) error
- type GenerateID
- func (*GenerateID) Descriptor() ([]byte, []int)
- func (this *GenerateID) Equal(that interface{}) bool
- func (m *GenerateID) GetPublicKey() []byte
- func (m *GenerateID) GetRegistrationFee() int64
- func (this *GenerateID) GoString() string
- func (m *GenerateID) Marshal() (dAtA []byte, err error)
- func (m *GenerateID) MarshalTo(dAtA []byte) (int, error)
- func (*GenerateID) ProtoMessage()
- func (m *GenerateID) Reset()
- func (m *GenerateID) Size() (n int)
- func (this *GenerateID) String() string
- func (m *GenerateID) ToMap() map[string]interface{}
- func (m *GenerateID) Unmarshal(dAtA []byte) error
- func (m *GenerateID) XXX_DiscardUnknown()
- func (m *GenerateID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GenerateID) XXX_Merge(src proto.Message)
- func (m *GenerateID) XXX_Size() int
- func (m *GenerateID) XXX_Unmarshal(b []byte) error
- type GetBlockHeaders
- func (*GetBlockHeaders) Descriptor() ([]byte, []int)
- func (this *GetBlockHeaders) Equal(that interface{}) bool
- func (m *GetBlockHeaders) GetEndHeight() uint32
- func (m *GetBlockHeaders) GetStartHeight() uint32
- func (this *GetBlockHeaders) GoString() string
- func (m *GetBlockHeaders) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeaders) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHeaders) ProtoMessage()
- func (m *GetBlockHeaders) Reset()
- func (m *GetBlockHeaders) Size() (n int)
- func (this *GetBlockHeaders) String() string
- func (m *GetBlockHeaders) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeaders) XXX_DiscardUnknown()
- func (m *GetBlockHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockHeaders) XXX_Merge(src proto.Message)
- func (m *GetBlockHeaders) XXX_Size() int
- func (m *GetBlockHeaders) XXX_Unmarshal(b []byte) error
- type GetBlockHeadersReply
- func (*GetBlockHeadersReply) Descriptor() ([]byte, []int)
- func (this *GetBlockHeadersReply) Equal(that interface{}) bool
- func (m *GetBlockHeadersReply) GetBlockHeaders() []*Header
- func (this *GetBlockHeadersReply) GoString() string
- func (m *GetBlockHeadersReply) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeadersReply) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHeadersReply) ProtoMessage()
- func (m *GetBlockHeadersReply) Reset()
- func (m *GetBlockHeadersReply) Size() (n int)
- func (this *GetBlockHeadersReply) String() string
- func (m *GetBlockHeadersReply) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeadersReply) XXX_DiscardUnknown()
- func (m *GetBlockHeadersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockHeadersReply) XXX_Merge(src proto.Message)
- func (m *GetBlockHeadersReply) XXX_Size() int
- func (m *GetBlockHeadersReply) XXX_Unmarshal(b []byte) error
- type GetBlocks
- func (*GetBlocks) Descriptor() ([]byte, []int)
- func (this *GetBlocks) Equal(that interface{}) bool
- func (m *GetBlocks) GetEndHeight() uint32
- func (m *GetBlocks) GetStartHeight() uint32
- func (this *GetBlocks) GoString() string
- func (m *GetBlocks) Marshal() (dAtA []byte, err error)
- func (m *GetBlocks) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlocks) ProtoMessage()
- func (m *GetBlocks) Reset()
- func (m *GetBlocks) Size() (n int)
- func (this *GetBlocks) String() string
- func (m *GetBlocks) Unmarshal(dAtA []byte) error
- func (m *GetBlocks) XXX_DiscardUnknown()
- func (m *GetBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlocks) XXX_Merge(src proto.Message)
- func (m *GetBlocks) XXX_Size() int
- func (m *GetBlocks) XXX_Unmarshal(b []byte) error
- type GetBlocksReply
- func (*GetBlocksReply) Descriptor() ([]byte, []int)
- func (this *GetBlocksReply) Equal(that interface{}) bool
- func (m *GetBlocksReply) GetBlocks() []*Block
- func (this *GetBlocksReply) GoString() string
- func (m *GetBlocksReply) Marshal() (dAtA []byte, err error)
- func (m *GetBlocksReply) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlocksReply) ProtoMessage()
- func (m *GetBlocksReply) Reset()
- func (m *GetBlocksReply) Size() (n int)
- func (this *GetBlocksReply) String() string
- func (m *GetBlocksReply) Unmarshal(dAtA []byte) error
- func (m *GetBlocksReply) XXX_DiscardUnknown()
- func (m *GetBlocksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlocksReply) XXX_Merge(src proto.Message)
- func (m *GetBlocksReply) XXX_Size() int
- func (m *GetBlocksReply) XXX_Unmarshal(b []byte) error
- type GetConsensusState
- func (*GetConsensusState) Descriptor() ([]byte, []int)
- func (this *GetConsensusState) Equal(that interface{}) bool
- func (this *GetConsensusState) GoString() string
- func (m *GetConsensusState) Marshal() (dAtA []byte, err error)
- func (m *GetConsensusState) MarshalTo(dAtA []byte) (int, error)
- func (*GetConsensusState) ProtoMessage()
- func (m *GetConsensusState) Reset()
- func (m *GetConsensusState) Size() (n int)
- func (this *GetConsensusState) String() string
- func (m *GetConsensusState) Unmarshal(dAtA []byte) error
- func (m *GetConsensusState) XXX_DiscardUnknown()
- func (m *GetConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetConsensusState) XXX_Merge(src proto.Message)
- func (m *GetConsensusState) XXX_Size() int
- func (m *GetConsensusState) XXX_Unmarshal(b []byte) error
- type GetConsensusStateReply
- func (*GetConsensusStateReply) Descriptor() ([]byte, []int)
- func (this *GetConsensusStateReply) Equal(that interface{}) bool
- func (m *GetConsensusStateReply) GetConsensusHeight() uint32
- func (m *GetConsensusStateReply) GetLedgerBlockHash() []byte
- func (m *GetConsensusStateReply) GetLedgerHeight() uint32
- func (m *GetConsensusStateReply) GetMinVerifiableHeight() uint32
- func (m *GetConsensusStateReply) GetSyncState() SyncState
- func (this *GetConsensusStateReply) GoString() string
- func (m *GetConsensusStateReply) Marshal() (dAtA []byte, err error)
- func (m *GetConsensusStateReply) MarshalTo(dAtA []byte) (int, error)
- func (*GetConsensusStateReply) ProtoMessage()
- func (m *GetConsensusStateReply) Reset()
- func (m *GetConsensusStateReply) Size() (n int)
- func (this *GetConsensusStateReply) String() string
- func (m *GetConsensusStateReply) Unmarshal(dAtA []byte) error
- func (m *GetConsensusStateReply) XXX_DiscardUnknown()
- func (m *GetConsensusStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetConsensusStateReply) XXX_Merge(src proto.Message)
- func (m *GetConsensusStateReply) XXX_Size() int
- func (m *GetConsensusStateReply) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (this *Header) Equal(that interface{}) bool
- func (m *Header) GetSignature() []byte
- func (m *Header) GetUnsignedHeader() *UnsignedHeader
- func (this *Header) GoString() string
- func (m *Header) Marshal() (dAtA []byte, err error)
- func (m *Header) MarshalTo(dAtA []byte) (int, error)
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) Size() (n int)
- func (this *Header) String() string
- func (m *Header) Unmarshal(dAtA []byte) error
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type IHaveBlockProposal
- func (*IHaveBlockProposal) Descriptor() ([]byte, []int)
- func (this *IHaveBlockProposal) Equal(that interface{}) bool
- func (m *IHaveBlockProposal) GetBlockHash() []byte
- func (m *IHaveBlockProposal) GetHeight() uint32
- func (this *IHaveBlockProposal) GoString() string
- func (m *IHaveBlockProposal) Marshal() (dAtA []byte, err error)
- func (m *IHaveBlockProposal) MarshalTo(dAtA []byte) (int, error)
- func (*IHaveBlockProposal) ProtoMessage()
- func (m *IHaveBlockProposal) Reset()
- func (m *IHaveBlockProposal) Size() (n int)
- func (this *IHaveBlockProposal) String() string
- func (m *IHaveBlockProposal) Unmarshal(dAtA []byte) error
- func (m *IHaveBlockProposal) XXX_DiscardUnknown()
- func (m *IHaveBlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IHaveBlockProposal) XXX_Merge(src proto.Message)
- func (m *IHaveBlockProposal) XXX_Size() int
- func (m *IHaveBlockProposal) XXX_Unmarshal(b []byte) error
- type IHaveSignatureChainTransaction
- func (*IHaveSignatureChainTransaction) Descriptor() ([]byte, []int)
- func (this *IHaveSignatureChainTransaction) Equal(that interface{}) bool
- func (m *IHaveSignatureChainTransaction) GetHeight() uint32
- func (m *IHaveSignatureChainTransaction) GetSignatureHash() []byte
- func (this *IHaveSignatureChainTransaction) GoString() string
- func (m *IHaveSignatureChainTransaction) Marshal() (dAtA []byte, err error)
- func (m *IHaveSignatureChainTransaction) MarshalTo(dAtA []byte) (int, error)
- func (*IHaveSignatureChainTransaction) ProtoMessage()
- func (m *IHaveSignatureChainTransaction) Reset()
- func (m *IHaveSignatureChainTransaction) Size() (n int)
- func (this *IHaveSignatureChainTransaction) String() string
- func (m *IHaveSignatureChainTransaction) Unmarshal(dAtA []byte) error
- func (m *IHaveSignatureChainTransaction) XXX_DiscardUnknown()
- func (m *IHaveSignatureChainTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IHaveSignatureChainTransaction) XXX_Merge(src proto.Message)
- func (m *IHaveSignatureChainTransaction) XXX_Size() int
- func (m *IHaveSignatureChainTransaction) XXX_Unmarshal(b []byte) error
- type InboundMessage
- func (*InboundMessage) Descriptor() ([]byte, []int)
- func (this *InboundMessage) Equal(that interface{}) bool
- func (m *InboundMessage) GetPayload() []byte
- func (m *InboundMessage) GetPrevHash() []byte
- func (m *InboundMessage) GetSrc() string
- func (this *InboundMessage) GoString() string
- func (m *InboundMessage) Marshal() (dAtA []byte, err error)
- func (m *InboundMessage) MarshalTo(dAtA []byte) (int, error)
- func (*InboundMessage) ProtoMessage()
- func (m *InboundMessage) Reset()
- func (m *InboundMessage) Size() (n int)
- func (this *InboundMessage) String() string
- func (m *InboundMessage) Unmarshal(dAtA []byte) error
- func (m *InboundMessage) XXX_DiscardUnknown()
- func (m *InboundMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InboundMessage) XXX_Merge(src proto.Message)
- func (m *InboundMessage) XXX_Size() int
- func (m *InboundMessage) XXX_Unmarshal(b []byte) error
- type IssueAsset
- func (*IssueAsset) Descriptor() ([]byte, []int)
- func (this *IssueAsset) Equal(that interface{}) bool
- func (m *IssueAsset) GetName() string
- func (m *IssueAsset) GetPrecision() uint32
- func (m *IssueAsset) GetSender() []byte
- func (m *IssueAsset) GetSymbol() string
- func (m *IssueAsset) GetTotalSupply() int64
- func (this *IssueAsset) GoString() string
- func (m *IssueAsset) Marshal() (dAtA []byte, err error)
- func (m *IssueAsset) MarshalTo(dAtA []byte) (int, error)
- func (*IssueAsset) ProtoMessage()
- func (m *IssueAsset) Reset()
- func (m *IssueAsset) Size() (n int)
- func (this *IssueAsset) String() string
- func (m *IssueAsset) Unmarshal(dAtA []byte) error
- func (m *IssueAsset) XXX_DiscardUnknown()
- func (m *IssueAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IssueAsset) XXX_Merge(src proto.Message)
- func (m *IssueAsset) XXX_Size() int
- func (m *IssueAsset) XXX_Unmarshal(b []byte) error
- type MessageType
- type NanoPay
- func (*NanoPay) Descriptor() ([]byte, []int)
- func (this *NanoPay) Equal(that interface{}) bool
- func (m *NanoPay) GetAmount() int64
- func (m *NanoPay) GetId() uint64
- func (m *NanoPay) GetNanoPayExpiration() uint32
- func (m *NanoPay) GetRecipient() []byte
- func (m *NanoPay) GetSender() []byte
- func (m *NanoPay) GetTxnExpiration() uint32
- func (this *NanoPay) GoString() string
- func (m *NanoPay) Marshal() (dAtA []byte, err error)
- func (m *NanoPay) MarshalTo(dAtA []byte) (int, error)
- func (*NanoPay) ProtoMessage()
- func (m *NanoPay) Reset()
- func (m *NanoPay) Size() (n int)
- func (this *NanoPay) String() string
- func (m *NanoPay) ToMap() map[string]interface{}
- func (m *NanoPay) Unmarshal(dAtA []byte) error
- func (m *NanoPay) XXX_DiscardUnknown()
- func (m *NanoPay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NanoPay) XXX_Merge(src proto.Message)
- func (m *NanoPay) XXX_Size() int
- func (m *NanoPay) XXX_Unmarshal(b []byte) error
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)
- func (this *NodeData) Equal(that interface{}) bool
- func (m *NodeData) GetJsonRpcPort() uint32
- func (m *NodeData) GetProtocolVersion() uint32
- func (m *NodeData) GetPublicKey() []byte
- func (m *NodeData) GetTlsJsonRpcDomain() string
- func (m *NodeData) GetTlsJsonRpcPort() uint32
- func (m *NodeData) GetTlsWebsocketDomain() string
- func (m *NodeData) GetTlsWebsocketPort() uint32
- func (m *NodeData) GetWebsocketPort() uint32
- func (this *NodeData) GoString() string
- func (m *NodeData) Marshal() (dAtA []byte, err error)
- func (m *NodeData) MarshalTo(dAtA []byte) (int, error)
- func (*NodeData) ProtoMessage()
- func (m *NodeData) Reset()
- func (m *NodeData) Size() (n int)
- func (this *NodeData) String() string
- func (m *NodeData) Unmarshal(dAtA []byte) error
- func (m *NodeData) XXX_DiscardUnknown()
- func (m *NodeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeData) XXX_Merge(src proto.Message)
- func (m *NodeData) XXX_Size() int
- func (m *NodeData) XXX_Unmarshal(b []byte) error
- type OutboundMessage
- func (*OutboundMessage) Descriptor() ([]byte, []int)
- func (this *OutboundMessage) Equal(that interface{}) bool
- func (m *OutboundMessage) GetBlockHash() []byte
- func (m *OutboundMessage) GetDest() string
- func (m *OutboundMessage) GetDests() []string
- func (m *OutboundMessage) GetMaxHoldingSeconds() uint32
- func (m *OutboundMessage) GetNonce() uint32
- func (m *OutboundMessage) GetPayload() []byte
- func (m *OutboundMessage) GetPayloads() [][]byte
- func (m *OutboundMessage) GetSignatures() [][]byte
- func (this *OutboundMessage) GoString() string
- func (m *OutboundMessage) Marshal() (dAtA []byte, err error)
- func (m *OutboundMessage) MarshalTo(dAtA []byte) (int, error)
- func (*OutboundMessage) ProtoMessage()
- func (m *OutboundMessage) Reset()
- func (m *OutboundMessage) Size() (n int)
- func (this *OutboundMessage) String() string
- func (m *OutboundMessage) Unmarshal(dAtA []byte) error
- func (m *OutboundMessage) XXX_DiscardUnknown()
- func (m *OutboundMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutboundMessage) XXX_Merge(src proto.Message)
- func (m *OutboundMessage) XXX_Size() int
- func (m *OutboundMessage) XXX_Unmarshal(b []byte) error
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (p *Payload) Deserialize(r io.Reader) error
- func (this *Payload) Equal(that interface{}) bool
- func (m *Payload) GetData() []byte
- func (m *Payload) GetType() PayloadType
- func (this *Payload) GoString() string
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (p *Payload) Serialize(w io.Writer) error
- func (m *Payload) Size() (n int)
- func (this *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
- type PayloadType
- type PinSignatureChain
- func (*PinSignatureChain) Descriptor() ([]byte, []int)
- func (this *PinSignatureChain) Equal(that interface{}) bool
- func (m *PinSignatureChain) GetHash() []byte
- func (this *PinSignatureChain) GoString() string
- func (m *PinSignatureChain) Marshal() (dAtA []byte, err error)
- func (m *PinSignatureChain) MarshalTo(dAtA []byte) (int, error)
- func (*PinSignatureChain) ProtoMessage()
- func (m *PinSignatureChain) Reset()
- func (m *PinSignatureChain) Size() (n int)
- func (this *PinSignatureChain) String() string
- func (m *PinSignatureChain) Unmarshal(dAtA []byte) error
- func (m *PinSignatureChain) XXX_DiscardUnknown()
- func (m *PinSignatureChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PinSignatureChain) XXX_Merge(src proto.Message)
- func (m *PinSignatureChain) XXX_Size() int
- func (m *PinSignatureChain) XXX_Unmarshal(b []byte) error
- type Program
- func (*Program) Descriptor() ([]byte, []int)
- func (p *Program) Deserialize(w io.Reader) error
- func (this *Program) Equal(that interface{}) bool
- func (m *Program) GetCode() []byte
- func (m *Program) GetParameter() []byte
- func (this *Program) GoString() string
- func (m *Program) Marshal() (dAtA []byte, err error)
- func (p *Program) MarshalJson() ([]byte, error)
- func (m *Program) MarshalTo(dAtA []byte) (int, error)
- func (*Program) ProtoMessage()
- func (m *Program) Reset()
- func (p *Program) Serialize(w io.Writer) error
- func (m *Program) Size() (n int)
- func (this *Program) String() string
- func (m *Program) Unmarshal(dAtA []byte) error
- func (p *Program) UnmarshalJson(data []byte) error
- func (m *Program) XXX_DiscardUnknown()
- func (m *Program) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Program) XXX_Merge(src proto.Message)
- func (m *Program) XXX_Size() int
- func (m *Program) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (this *Receipt) Equal(that interface{}) bool
- func (m *Receipt) GetPrevHash() []byte
- func (m *Receipt) GetSignature() []byte
- func (this *Receipt) GoString() string
- func (m *Receipt) Marshal() (dAtA []byte, err error)
- func (m *Receipt) MarshalTo(dAtA []byte) (int, error)
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) Size() (n int)
- func (this *Receipt) String() string
- func (m *Receipt) Unmarshal(dAtA []byte) error
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type RegisterName
- func (*RegisterName) Descriptor() ([]byte, []int)
- func (this *RegisterName) Equal(that interface{}) bool
- func (m *RegisterName) GetName() string
- func (m *RegisterName) GetRegistrant() []byte
- func (m *RegisterName) GetRegistrationFee() int64
- func (this *RegisterName) GoString() string
- func (m *RegisterName) Marshal() (dAtA []byte, err error)
- func (m *RegisterName) MarshalTo(dAtA []byte) (int, error)
- func (*RegisterName) ProtoMessage()
- func (m *RegisterName) Reset()
- func (m *RegisterName) Size() (n int)
- func (this *RegisterName) String() string
- func (m *RegisterName) ToMap() map[string]interface{}
- func (m *RegisterName) Unmarshal(dAtA []byte) error
- func (m *RegisterName) XXX_DiscardUnknown()
- func (m *RegisterName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RegisterName) XXX_Merge(src proto.Message)
- func (m *RegisterName) XXX_Size() int
- func (m *RegisterName) XXX_Unmarshal(b []byte) error
- type Relay
- func (*Relay) Descriptor() ([]byte, []int)
- func (this *Relay) Equal(that interface{}) bool
- func (m *Relay) GetBlockHash() []byte
- func (m *Relay) GetDestId() []byte
- func (m *Relay) GetLastHash() []byte
- func (m *Relay) GetMaxHoldingSeconds() uint32
- func (m *Relay) GetPayload() []byte
- func (m *Relay) GetSigChainLen() uint32
- func (m *Relay) GetSrcIdentifier() string
- func (m *Relay) GetSrcPubkey() []byte
- func (this *Relay) GoString() string
- func (m *Relay) Marshal() (dAtA []byte, err error)
- func (m *Relay) MarshalTo(dAtA []byte) (int, error)
- func (*Relay) ProtoMessage()
- func (m *Relay) Reset()
- func (m *Relay) Size() (n int)
- func (this *Relay) String() string
- func (m *Relay) Unmarshal(dAtA []byte) error
- func (m *Relay) XXX_DiscardUnknown()
- func (m *Relay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Relay) XXX_Merge(src proto.Message)
- func (m *Relay) XXX_Size() int
- func (m *Relay) XXX_Unmarshal(b []byte) error
- type RequestBlockProposal
- func (*RequestBlockProposal) Descriptor() ([]byte, []int)
- func (this *RequestBlockProposal) Equal(that interface{}) bool
- func (m *RequestBlockProposal) GetBlockHash() []byte
- func (m *RequestBlockProposal) GetShortHashSalt() []byte
- func (m *RequestBlockProposal) GetShortHashSize() uint32
- func (m *RequestBlockProposal) GetType() RequestTransactionType
- func (this *RequestBlockProposal) GoString() string
- func (m *RequestBlockProposal) Marshal() (dAtA []byte, err error)
- func (m *RequestBlockProposal) MarshalTo(dAtA []byte) (int, error)
- func (*RequestBlockProposal) ProtoMessage()
- func (m *RequestBlockProposal) Reset()
- func (m *RequestBlockProposal) Size() (n int)
- func (this *RequestBlockProposal) String() string
- func (m *RequestBlockProposal) Unmarshal(dAtA []byte) error
- func (m *RequestBlockProposal) XXX_DiscardUnknown()
- func (m *RequestBlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestBlockProposal) XXX_Merge(src proto.Message)
- func (m *RequestBlockProposal) XXX_Size() int
- func (m *RequestBlockProposal) XXX_Unmarshal(b []byte) error
- type RequestBlockProposalReply
- func (*RequestBlockProposalReply) Descriptor() ([]byte, []int)
- func (this *RequestBlockProposalReply) Equal(that interface{}) bool
- func (m *RequestBlockProposalReply) GetBlock() *Block
- func (m *RequestBlockProposalReply) GetTransactionsHash() [][]byte
- func (this *RequestBlockProposalReply) GoString() string
- func (m *RequestBlockProposalReply) Marshal() (dAtA []byte, err error)
- func (m *RequestBlockProposalReply) MarshalTo(dAtA []byte) (int, error)
- func (*RequestBlockProposalReply) ProtoMessage()
- func (m *RequestBlockProposalReply) Reset()
- func (m *RequestBlockProposalReply) Size() (n int)
- func (this *RequestBlockProposalReply) String() string
- func (m *RequestBlockProposalReply) Unmarshal(dAtA []byte) error
- func (m *RequestBlockProposalReply) XXX_DiscardUnknown()
- func (m *RequestBlockProposalReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestBlockProposalReply) XXX_Merge(src proto.Message)
- func (m *RequestBlockProposalReply) XXX_Size() int
- func (m *RequestBlockProposalReply) XXX_Unmarshal(b []byte) error
- type RequestProposalTransactions
- func (*RequestProposalTransactions) Descriptor() ([]byte, []int)
- func (this *RequestProposalTransactions) Equal(that interface{}) bool
- func (m *RequestProposalTransactions) GetBlockHash() []byte
- func (m *RequestProposalTransactions) GetShortHashSalt() []byte
- func (m *RequestProposalTransactions) GetShortHashSize() uint32
- func (m *RequestProposalTransactions) GetTransactionsHash() [][]byte
- func (m *RequestProposalTransactions) GetType() RequestTransactionType
- func (this *RequestProposalTransactions) GoString() string
- func (m *RequestProposalTransactions) Marshal() (dAtA []byte, err error)
- func (m *RequestProposalTransactions) MarshalTo(dAtA []byte) (int, error)
- func (*RequestProposalTransactions) ProtoMessage()
- func (m *RequestProposalTransactions) Reset()
- func (m *RequestProposalTransactions) Size() (n int)
- func (this *RequestProposalTransactions) String() string
- func (m *RequestProposalTransactions) Unmarshal(dAtA []byte) error
- func (m *RequestProposalTransactions) XXX_DiscardUnknown()
- func (m *RequestProposalTransactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestProposalTransactions) XXX_Merge(src proto.Message)
- func (m *RequestProposalTransactions) XXX_Size() int
- func (m *RequestProposalTransactions) XXX_Unmarshal(b []byte) error
- type RequestProposalTransactionsReply
- func (*RequestProposalTransactionsReply) Descriptor() ([]byte, []int)
- func (this *RequestProposalTransactionsReply) Equal(that interface{}) bool
- func (m *RequestProposalTransactionsReply) GetTransactions() []*Transaction
- func (this *RequestProposalTransactionsReply) GoString() string
- func (m *RequestProposalTransactionsReply) Marshal() (dAtA []byte, err error)
- func (m *RequestProposalTransactionsReply) MarshalTo(dAtA []byte) (int, error)
- func (*RequestProposalTransactionsReply) ProtoMessage()
- func (m *RequestProposalTransactionsReply) Reset()
- func (m *RequestProposalTransactionsReply) Size() (n int)
- func (this *RequestProposalTransactionsReply) String() string
- func (m *RequestProposalTransactionsReply) Unmarshal(dAtA []byte) error
- func (m *RequestProposalTransactionsReply) XXX_DiscardUnknown()
- func (m *RequestProposalTransactionsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestProposalTransactionsReply) XXX_Merge(src proto.Message)
- func (m *RequestProposalTransactionsReply) XXX_Size() int
- func (m *RequestProposalTransactionsReply) XXX_Unmarshal(b []byte) error
- type RequestSignatureChainTransaction
- func (*RequestSignatureChainTransaction) Descriptor() ([]byte, []int)
- func (this *RequestSignatureChainTransaction) Equal(that interface{}) bool
- func (m *RequestSignatureChainTransaction) GetSignatureHash() []byte
- func (this *RequestSignatureChainTransaction) GoString() string
- func (m *RequestSignatureChainTransaction) Marshal() (dAtA []byte, err error)
- func (m *RequestSignatureChainTransaction) MarshalTo(dAtA []byte) (int, error)
- func (*RequestSignatureChainTransaction) ProtoMessage()
- func (m *RequestSignatureChainTransaction) Reset()
- func (m *RequestSignatureChainTransaction) Size() (n int)
- func (this *RequestSignatureChainTransaction) String() string
- func (m *RequestSignatureChainTransaction) Unmarshal(dAtA []byte) error
- func (m *RequestSignatureChainTransaction) XXX_DiscardUnknown()
- func (m *RequestSignatureChainTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestSignatureChainTransaction) XXX_Merge(src proto.Message)
- func (m *RequestSignatureChainTransaction) XXX_Size() int
- func (m *RequestSignatureChainTransaction) XXX_Unmarshal(b []byte) error
- type RequestSignatureChainTransactionReply
- func (*RequestSignatureChainTransactionReply) Descriptor() ([]byte, []int)
- func (this *RequestSignatureChainTransactionReply) Equal(that interface{}) bool
- func (m *RequestSignatureChainTransactionReply) GetTransaction() *Transaction
- func (this *RequestSignatureChainTransactionReply) GoString() string
- func (m *RequestSignatureChainTransactionReply) Marshal() (dAtA []byte, err error)
- func (m *RequestSignatureChainTransactionReply) MarshalTo(dAtA []byte) (int, error)
- func (*RequestSignatureChainTransactionReply) ProtoMessage()
- func (m *RequestSignatureChainTransactionReply) Reset()
- func (m *RequestSignatureChainTransactionReply) Size() (n int)
- func (this *RequestSignatureChainTransactionReply) String() string
- func (m *RequestSignatureChainTransactionReply) Unmarshal(dAtA []byte) error
- func (m *RequestSignatureChainTransactionReply) XXX_DiscardUnknown()
- func (m *RequestSignatureChainTransactionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestSignatureChainTransactionReply) XXX_Merge(src proto.Message)
- func (m *RequestSignatureChainTransactionReply) XXX_Size() int
- func (m *RequestSignatureChainTransactionReply) XXX_Unmarshal(b []byte) error
- type RequestTransactionType
- type SigAlgo
- type SigChain
- func (*SigChain) Descriptor() ([]byte, []int)
- func (this *SigChain) Equal(that interface{}) bool
- func (m *SigChain) GetBlockHash() []byte
- func (m *SigChain) GetDataSize() uint32
- func (m *SigChain) GetDestId() []byte
- func (m *SigChain) GetDestPubkey() []byte
- func (m *SigChain) GetElems() []*SigChainElem
- func (sc *SigChain) GetMiner() ([]byte, []byte, error)
- func (m *SigChain) GetNonce() uint32
- func (sc *SigChain) GetSignerIndex(pubkey []byte) (int, error)
- func (m *SigChain) GetSrcId() []byte
- func (m *SigChain) GetSrcPubkey() []byte
- func (this *SigChain) GoString() string
- func (sc *SigChain) IsComplete() bool
- func (sc *SigChain) LastRelayHash() ([]byte, error)
- func (sc *SigChain) Length() int
- func (m *SigChain) Marshal() (dAtA []byte, err error)
- func (m *SigChain) MarshalTo(dAtA []byte) (int, error)
- func (*SigChain) ProtoMessage()
- func (m *SigChain) Reset()
- func (sc *SigChain) SerializationMetadata(w io.Writer) error
- func (sc *SigChain) SignatureHash() ([]byte, error)
- func (m *SigChain) Size() (n int)
- func (this *SigChain) String() string
- func (sc *SigChain) ToMap() map[string]interface{}
- func (m *SigChain) Unmarshal(dAtA []byte) error
- func (sc *SigChain) Verify(height uint32) error
- func (sc *SigChain) VerifyMeta(height uint32) error
- func (sc *SigChain) VerifyPath() error
- func (sc *SigChain) VerifySignatures() error
- func (m *SigChain) XXX_DiscardUnknown()
- func (m *SigChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SigChain) XXX_Merge(src proto.Message)
- func (m *SigChain) XXX_Size() int
- func (m *SigChain) XXX_Unmarshal(b []byte) error
- type SigChainElem
- func (*SigChainElem) Descriptor() ([]byte, []int)
- func (this *SigChainElem) Equal(that interface{}) bool
- func (m *SigChainElem) GetId() []byte
- func (m *SigChainElem) GetMining() bool
- func (m *SigChainElem) GetNextPubkey() []byte
- func (m *SigChainElem) GetProof() []byte
- func (m *SigChainElem) GetSigAlgo() SigAlgo
- func (m *SigChainElem) GetSignature() []byte
- func (m *SigChainElem) GetVrf() []byte
- func (this *SigChainElem) GoString() string
- func (sce *SigChainElem) Hash(prevHash []byte) ([]byte, error)
- func (m *SigChainElem) Marshal() (dAtA []byte, err error)
- func (m *SigChainElem) MarshalTo(dAtA []byte) (int, error)
- func (*SigChainElem) ProtoMessage()
- func (m *SigChainElem) Reset()
- func (sce *SigChainElem) SerializationUnsigned(w io.Writer) error
- func (m *SigChainElem) Size() (n int)
- func (this *SigChainElem) String() string
- func (sce *SigChainElem) ToMap() map[string]interface{}
- func (m *SigChainElem) Unmarshal(dAtA []byte) error
- func (m *SigChainElem) XXX_DiscardUnknown()
- func (m *SigChainElem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SigChainElem) XXX_Merge(src proto.Message)
- func (m *SigChainElem) XXX_Size() int
- func (m *SigChainElem) XXX_Unmarshal(b []byte) error
- type SigChainTxn
- func (*SigChainTxn) Descriptor() ([]byte, []int)
- func (this *SigChainTxn) Equal(that interface{}) bool
- func (m *SigChainTxn) GetSigChain() []byte
- func (m *SigChainTxn) GetSubmitter() []byte
- func (this *SigChainTxn) GoString() string
- func (m *SigChainTxn) Marshal() (dAtA []byte, err error)
- func (m *SigChainTxn) MarshalTo(dAtA []byte) (int, error)
- func (*SigChainTxn) ProtoMessage()
- func (m *SigChainTxn) Reset()
- func (m *SigChainTxn) Size() (n int)
- func (this *SigChainTxn) String() string
- func (m *SigChainTxn) ToMap() map[string]interface{}
- func (m *SigChainTxn) Unmarshal(dAtA []byte) error
- func (m *SigChainTxn) XXX_DiscardUnknown()
- func (m *SigChainTxn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SigChainTxn) XXX_Merge(src proto.Message)
- func (m *SigChainTxn) XXX_Size() int
- func (m *SigChainTxn) XXX_Unmarshal(b []byte) error
- type SignedMessage
- func (*SignedMessage) Descriptor() ([]byte, []int)
- func (this *SignedMessage) Equal(that interface{}) bool
- func (m *SignedMessage) GetMessage() []byte
- func (m *SignedMessage) GetSignature() []byte
- func (this *SignedMessage) GoString() string
- func (m *SignedMessage) Marshal() (dAtA []byte, err error)
- func (m *SignedMessage) MarshalTo(dAtA []byte) (int, error)
- func (*SignedMessage) ProtoMessage()
- func (m *SignedMessage) Reset()
- func (m *SignedMessage) Size() (n int)
- func (this *SignedMessage) String() string
- func (m *SignedMessage) Unmarshal(dAtA []byte) error
- func (m *SignedMessage) XXX_DiscardUnknown()
- func (m *SignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignedMessage) XXX_Merge(src proto.Message)
- func (m *SignedMessage) XXX_Size() int
- func (m *SignedMessage) XXX_Unmarshal(b []byte) error
- type Subscribe
- func (*Subscribe) Descriptor() ([]byte, []int)
- func (this *Subscribe) Equal(that interface{}) bool
- func (m *Subscribe) GetBucket() uint32deprecated
- func (m *Subscribe) GetDuration() uint32
- func (m *Subscribe) GetIdentifier() string
- func (m *Subscribe) GetMeta() string
- func (m *Subscribe) GetSubscriber() []byte
- func (m *Subscribe) GetTopic() string
- func (this *Subscribe) GoString() string
- func (m *Subscribe) Marshal() (dAtA []byte, err error)
- func (m *Subscribe) MarshalTo(dAtA []byte) (int, error)
- func (*Subscribe) ProtoMessage()
- func (m *Subscribe) Reset()
- func (m *Subscribe) Size() (n int)
- func (this *Subscribe) String() string
- func (m *Subscribe) ToMap() map[string]interface{}
- func (m *Subscribe) Unmarshal(dAtA []byte) error
- func (m *Subscribe) XXX_DiscardUnknown()
- func (m *Subscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Subscribe) XXX_Merge(src proto.Message)
- func (m *Subscribe) XXX_Size() int
- func (m *Subscribe) XXX_Unmarshal(b []byte) error
- type SyncState
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (this *Transaction) Equal(that interface{}) bool
- func (m *Transaction) GetPrograms() []*Program
- func (m *Transaction) GetUnsignedTx() *UnsignedTx
- func (this *Transaction) GoString() string
- func (m *Transaction) Marshal() (dAtA []byte, err error)
- func (m *Transaction) MarshalTo(dAtA []byte) (int, error)
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) Size() (n int)
- func (this *Transaction) String() string
- func (m *Transaction) Unmarshal(dAtA []byte) error
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type Transactions
- func (*Transactions) Descriptor() ([]byte, []int)
- func (this *Transactions) Equal(that interface{}) bool
- func (m *Transactions) GetTransactions() []*Transaction
- func (this *Transactions) GoString() string
- func (m *Transactions) Marshal() (dAtA []byte, err error)
- func (m *Transactions) MarshalTo(dAtA []byte) (int, error)
- func (*Transactions) ProtoMessage()
- func (m *Transactions) Reset()
- func (m *Transactions) Size() (n int)
- func (this *Transactions) String() string
- func (m *Transactions) Unmarshal(dAtA []byte) error
- func (m *Transactions) XXX_DiscardUnknown()
- func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transactions) XXX_Merge(src proto.Message)
- func (m *Transactions) XXX_Size() int
- func (m *Transactions) XXX_Unmarshal(b []byte) error
- type TransferAsset
- func (*TransferAsset) Descriptor() ([]byte, []int)
- func (this *TransferAsset) Equal(that interface{}) bool
- func (m *TransferAsset) GetAmount() int64
- func (m *TransferAsset) GetRecipient() []byte
- func (m *TransferAsset) GetSender() []byte
- func (this *TransferAsset) GoString() string
- func (m *TransferAsset) Marshal() (dAtA []byte, err error)
- func (m *TransferAsset) MarshalTo(dAtA []byte) (int, error)
- func (*TransferAsset) ProtoMessage()
- func (m *TransferAsset) Reset()
- func (m *TransferAsset) Size() (n int)
- func (this *TransferAsset) String() string
- func (m *TransferAsset) ToMap() map[string]interface{}
- func (m *TransferAsset) Unmarshal(dAtA []byte) error
- func (m *TransferAsset) XXX_DiscardUnknown()
- func (m *TransferAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransferAsset) XXX_Merge(src proto.Message)
- func (m *TransferAsset) XXX_Size() int
- func (m *TransferAsset) XXX_Unmarshal(b []byte) error
- type TransferName
- func (*TransferName) Descriptor() ([]byte, []int)
- func (this *TransferName) Equal(that interface{}) bool
- func (m *TransferName) GetName() string
- func (m *TransferName) GetRecipient() []byte
- func (m *TransferName) GetRegistrant() []byte
- func (this *TransferName) GoString() string
- func (m *TransferName) Marshal() (dAtA []byte, err error)
- func (m *TransferName) MarshalTo(dAtA []byte) (int, error)
- func (*TransferName) ProtoMessage()
- func (m *TransferName) Reset()
- func (m *TransferName) Size() (n int)
- func (this *TransferName) String() string
- func (m *TransferName) Unmarshal(dAtA []byte) error
- func (m *TransferName) XXX_DiscardUnknown()
- func (m *TransferName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransferName) XXX_Merge(src proto.Message)
- func (m *TransferName) XXX_Size() int
- func (m *TransferName) XXX_Unmarshal(b []byte) error
- type UnsignedHeader
- func (*UnsignedHeader) Descriptor() ([]byte, []int)
- func (this *UnsignedHeader) Equal(that interface{}) bool
- func (m *UnsignedHeader) GetHeight() uint32
- func (m *UnsignedHeader) GetPrevBlockHash() []byte
- func (m *UnsignedHeader) GetRandomBeacon() []byte
- func (m *UnsignedHeader) GetSignerId() []byte
- func (m *UnsignedHeader) GetSignerPk() []byte
- func (m *UnsignedHeader) GetStateRoot() []byte
- func (m *UnsignedHeader) GetTimestamp() int64
- func (m *UnsignedHeader) GetTransactionsRoot() []byte
- func (m *UnsignedHeader) GetVersion() uint32
- func (m *UnsignedHeader) GetWinnerHash() []byte
- func (m *UnsignedHeader) GetWinnerType() WinnerType
- func (this *UnsignedHeader) GoString() string
- func (m *UnsignedHeader) Marshal() (dAtA []byte, err error)
- func (m *UnsignedHeader) MarshalTo(dAtA []byte) (int, error)
- func (*UnsignedHeader) ProtoMessage()
- func (m *UnsignedHeader) Reset()
- func (m *UnsignedHeader) Size() (n int)
- func (this *UnsignedHeader) String() string
- func (m *UnsignedHeader) Unmarshal(dAtA []byte) error
- func (m *UnsignedHeader) XXX_DiscardUnknown()
- func (m *UnsignedHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnsignedHeader) XXX_Merge(src proto.Message)
- func (m *UnsignedHeader) XXX_Size() int
- func (m *UnsignedHeader) XXX_Unmarshal(b []byte) error
- type UnsignedMessage
- func (*UnsignedMessage) Descriptor() ([]byte, []int)
- func (this *UnsignedMessage) Equal(that interface{}) bool
- func (m *UnsignedMessage) GetMessage() []byte
- func (m *UnsignedMessage) GetMessageType() MessageType
- func (this *UnsignedMessage) GoString() string
- func (m *UnsignedMessage) Marshal() (dAtA []byte, err error)
- func (m *UnsignedMessage) MarshalTo(dAtA []byte) (int, error)
- func (*UnsignedMessage) ProtoMessage()
- func (m *UnsignedMessage) Reset()
- func (m *UnsignedMessage) Size() (n int)
- func (this *UnsignedMessage) String() string
- func (m *UnsignedMessage) Unmarshal(dAtA []byte) error
- func (m *UnsignedMessage) XXX_DiscardUnknown()
- func (m *UnsignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnsignedMessage) XXX_Merge(src proto.Message)
- func (m *UnsignedMessage) XXX_Size() int
- func (m *UnsignedMessage) XXX_Unmarshal(b []byte) error
- type UnsignedTx
- func (*UnsignedTx) Descriptor() ([]byte, []int)
- func (this *UnsignedTx) Equal(that interface{}) bool
- func (m *UnsignedTx) GetAttributes() []byte
- func (m *UnsignedTx) GetFee() int64
- func (m *UnsignedTx) GetNonce() uint64
- func (m *UnsignedTx) GetPayload() *Payload
- func (this *UnsignedTx) GoString() string
- func (m *UnsignedTx) Marshal() (dAtA []byte, err error)
- func (m *UnsignedTx) MarshalTo(dAtA []byte) (int, error)
- func (*UnsignedTx) ProtoMessage()
- func (m *UnsignedTx) Reset()
- func (m *UnsignedTx) Size() (n int)
- func (this *UnsignedTx) String() string
- func (m *UnsignedTx) Unmarshal(dAtA []byte) error
- func (m *UnsignedTx) XXX_DiscardUnknown()
- func (m *UnsignedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnsignedTx) XXX_Merge(src proto.Message)
- func (m *UnsignedTx) XXX_Size() int
- func (m *UnsignedTx) XXX_Unmarshal(b []byte) error
- type Unsubscribe
- func (*Unsubscribe) Descriptor() ([]byte, []int)
- func (this *Unsubscribe) Equal(that interface{}) bool
- func (m *Unsubscribe) GetIdentifier() string
- func (m *Unsubscribe) GetSubscriber() []byte
- func (m *Unsubscribe) GetTopic() string
- func (this *Unsubscribe) GoString() string
- func (m *Unsubscribe) Marshal() (dAtA []byte, err error)
- func (m *Unsubscribe) MarshalTo(dAtA []byte) (int, error)
- func (*Unsubscribe) ProtoMessage()
- func (m *Unsubscribe) Reset()
- func (m *Unsubscribe) Size() (n int)
- func (this *Unsubscribe) String() string
- func (m *Unsubscribe) ToMap() map[string]interface{}
- func (m *Unsubscribe) Unmarshal(dAtA []byte) error
- func (m *Unsubscribe) XXX_DiscardUnknown()
- func (m *Unsubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Unsubscribe) XXX_Merge(src proto.Message)
- func (m *Unsubscribe) XXX_Size() int
- func (m *Unsubscribe) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (this *Vote) Equal(that interface{}) bool
- func (m *Vote) GetBlockHash() []byte
- func (m *Vote) GetHeight() uint32
- func (this *Vote) GoString() string
- func (m *Vote) Marshal() (dAtA []byte, err error)
- func (m *Vote) MarshalTo(dAtA []byte) (int, error)
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) Size() (n int)
- func (this *Vote) String() string
- func (m *Vote) Unmarshal(dAtA []byte) error
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
- type WinnerType
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthBlock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBlock = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthClientmessage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClientmessage = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthNode = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNode = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthNodemessage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNodemessage = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthSigchain = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSigchain = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTransaction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTransaction = fmt.Errorf("proto: integer overflow") )
var AllowedBroadcastPullMessageType_name = map[int32]string{
0: "ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE",
}
var AllowedBroadcastPullMessageType_value = map[string]int32{
"ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE": 0,
}
var AllowedBroadcastPushMessageType_name = map[int32]string{
0: "ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE",
12: "ALLOW_BROADCAST_PUSH_TRANSACTIONS",
}
var AllowedBroadcastPushMessageType_value = map[string]int32{
"ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE": 0,
"ALLOW_BROADCAST_PUSH_TRANSACTIONS": 12,
}
var AllowedBroadcastTreeMessageType_name = map[int32]string{
0: "ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE",
12: "ALLOW_BROADCAST_TREE_TRANSACTIONS",
}
var AllowedBroadcastTreeMessageType_value = map[string]int32{
"ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE": 0,
"ALLOW_BROADCAST_TREE_TRANSACTIONS": 12,
}
var AllowedDirectMessageType_name = map[int32]string{
0: "ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE",
1: "ALLOW_DIRECT_VOTE",
2: "ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL",
3: "ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL",
4: "ALLOW_DIRECT_REQUEST_BLOCK_REPLY",
5: "ALLOW_DIRECT_GET_CONSENSUS_STATE",
6: "ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY",
7: "ALLOW_DIRECT_GET_BLOCK_HEADERS",
8: "ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY",
9: "ALLOW_DIRECT_GET_BLOCKS",
10: "ALLOW_DIRECT_GET_BLOCKS_REPLY",
13: "ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN",
14: "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS",
15: "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY",
16: "ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION",
17: "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION",
18: "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY",
19: "ALLOW_DIRECT_PIN_SIGNATURE_CHAIN",
}
var AllowedDirectMessageType_value = map[string]int32{
"ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE": 0,
"ALLOW_DIRECT_VOTE": 1,
"ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL": 2,
"ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL": 3,
"ALLOW_DIRECT_REQUEST_BLOCK_REPLY": 4,
"ALLOW_DIRECT_GET_CONSENSUS_STATE": 5,
"ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY": 6,
"ALLOW_DIRECT_GET_BLOCK_HEADERS": 7,
"ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY": 8,
"ALLOW_DIRECT_GET_BLOCKS": 9,
"ALLOW_DIRECT_GET_BLOCKS_REPLY": 10,
"ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN": 13,
"ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS": 14,
"ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY": 15,
"ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION": 16,
"ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION": 17,
"ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18,
"ALLOW_DIRECT_PIN_SIGNATURE_CHAIN": 19,
}
var AllowedRelayMessageType_name = map[int32]string{
0: "ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE",
11: "ALLOW_RELAY_RELAY",
}
var AllowedRelayMessageType_value = map[string]int32{
"ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE": 0,
"ALLOW_RELAY_RELAY": 11,
}
var AllowedSignedMessageType_name = map[int32]string{
0: "ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE",
}
var AllowedSignedMessageType_value = map[string]int32{
"ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE": 0,
}
var AllowedUnsignedMessageType_name = map[int32]string{
0: "ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE",
1: "ALLOW_UNSIGNED_VOTE",
2: "ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL",
3: "ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL",
4: "ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY",
5: "ALLOW_UNSIGNED_GET_CONSENSUS_STATE",
6: "ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY",
7: "ALLOW_UNSIGNED_GET_BLOCK_HEADERS",
8: "ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY",
9: "ALLOW_UNSIGNED_GET_BLOCKS",
10: "ALLOW_UNSIGNED_GET_BLOCKS_REPLY",
11: "ALLOW_UNSIGNED_RELAY",
12: "ALLOW_UNSIGNED_TRANSACTIONS",
13: "ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN",
14: "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS",
15: "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY",
16: "ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION",
17: "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION",
18: "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY",
19: "ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN",
}
var AllowedUnsignedMessageType_value = map[string]int32{
"ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE": 0,
"ALLOW_UNSIGNED_VOTE": 1,
"ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL": 2,
"ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL": 3,
"ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY": 4,
"ALLOW_UNSIGNED_GET_CONSENSUS_STATE": 5,
"ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY": 6,
"ALLOW_UNSIGNED_GET_BLOCK_HEADERS": 7,
"ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY": 8,
"ALLOW_UNSIGNED_GET_BLOCKS": 9,
"ALLOW_UNSIGNED_GET_BLOCKS_REPLY": 10,
"ALLOW_UNSIGNED_RELAY": 11,
"ALLOW_UNSIGNED_TRANSACTIONS": 12,
"ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN": 13,
"ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS": 14,
"ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY": 15,
"ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION": 16,
"ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION": 17,
"ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18,
"ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN": 19,
}
var ClientMessageType_name = map[int32]string{
0: "OUTBOUND_MESSAGE",
1: "INBOUND_MESSAGE",
2: "RECEIPT",
}
var ClientMessageType_value = map[string]int32{
"OUTBOUND_MESSAGE": 0,
"INBOUND_MESSAGE": 1,
"RECEIPT": 2,
}
var CompressionType_name = map[int32]string{
0: "COMPRESSION_NONE",
1: "COMPRESSION_ZLIB",
}
var CompressionType_value = map[string]int32{
"COMPRESSION_NONE": 0,
"COMPRESSION_ZLIB": 1,
}
var MessageType_name = map[int32]string{
0: "MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE",
1: "VOTE",
2: "I_HAVE_BLOCK_PROPOSAL",
3: "REQUEST_BLOCK_PROPOSAL",
4: "REQUEST_BLOCK_PROPOSAL_REPLY",
5: "GET_CONSENSUS_STATE",
6: "GET_CONSENSUS_STATE_REPLY",
7: "GET_BLOCK_HEADERS",
8: "GET_BLOCK_HEADERS_REPLY",
9: "GET_BLOCKS",
10: "GET_BLOCKS_REPLY",
11: "RELAY",
12: "TRANSACTIONS",
13: "BACKTRACK_SIGNATURE_CHAIN",
14: "REQUEST_PROPOSAL_TRANSACTIONS",
15: "REQUEST_PROPOSAL_TRANSACTIONS_REPLY",
16: "I_HAVE_SIGNATURE_CHAIN_TRANSACTION",
17: "REQUEST_SIGNATURE_CHAIN_TRANSACTION",
18: "REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY",
19: "PIN_SIGNATURE_CHAIN",
}
var MessageType_value = map[string]int32{
"MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE": 0,
"VOTE": 1,
"I_HAVE_BLOCK_PROPOSAL": 2,
"REQUEST_BLOCK_PROPOSAL": 3,
"REQUEST_BLOCK_PROPOSAL_REPLY": 4,
"GET_CONSENSUS_STATE": 5,
"GET_CONSENSUS_STATE_REPLY": 6,
"GET_BLOCK_HEADERS": 7,
"GET_BLOCK_HEADERS_REPLY": 8,
"GET_BLOCKS": 9,
"GET_BLOCKS_REPLY": 10,
"RELAY": 11,
"TRANSACTIONS": 12,
"BACKTRACK_SIGNATURE_CHAIN": 13,
"REQUEST_PROPOSAL_TRANSACTIONS": 14,
"REQUEST_PROPOSAL_TRANSACTIONS_REPLY": 15,
"I_HAVE_SIGNATURE_CHAIN_TRANSACTION": 16,
"REQUEST_SIGNATURE_CHAIN_TRANSACTION": 17,
"REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18,
"PIN_SIGNATURE_CHAIN": 19,
}
var PayloadType_name = map[int32]string{
0: "COINBASE_TYPE",
1: "TRANSFER_ASSET_TYPE",
2: "SIG_CHAIN_TXN_TYPE",
3: "REGISTER_NAME_TYPE",
4: "TRANSFER_NAME_TYPE",
5: "DELETE_NAME_TYPE",
6: "SUBSCRIBE_TYPE",
7: "UNSUBSCRIBE_TYPE",
8: "GENERATE_ID_TYPE",
9: "NANO_PAY_TYPE",
10: "ISSUE_ASSET_TYPE",
}
var PayloadType_value = map[string]int32{
"COINBASE_TYPE": 0,
"TRANSFER_ASSET_TYPE": 1,
"SIG_CHAIN_TXN_TYPE": 2,
"REGISTER_NAME_TYPE": 3,
"TRANSFER_NAME_TYPE": 4,
"DELETE_NAME_TYPE": 5,
"SUBSCRIBE_TYPE": 6,
"UNSUBSCRIBE_TYPE": 7,
"GENERATE_ID_TYPE": 8,
"NANO_PAY_TYPE": 9,
"ISSUE_ASSET_TYPE": 10,
}
var RequestTransactionType_name = map[int32]string{
0: "REQUEST_FULL_TRANSACTION",
1: "REQUEST_TRANSACTION_HASH",
2: "REQUEST_TRANSACTION_SHORT_HASH",
}
var RequestTransactionType_value = map[string]int32{
"REQUEST_FULL_TRANSACTION": 0,
"REQUEST_TRANSACTION_HASH": 1,
"REQUEST_TRANSACTION_SHORT_HASH": 2,
}
var SigAlgo_name = map[int32]string{
0: "SIGNATURE",
1: "HASH",
}
var SigAlgo_value = map[string]int32{
"SIGNATURE": 0,
"HASH": 1,
}
var SyncState_name = map[int32]string{
0: "WAIT_FOR_SYNCING",
1: "SYNC_STARTED",
2: "SYNC_FINISHED",
3: "PERSIST_FINISHED",
}
var SyncState_value = map[string]int32{
"WAIT_FOR_SYNCING": 0,
"SYNC_STARTED": 1,
"SYNC_FINISHED": 2,
"PERSIST_FINISHED": 3,
}
var WinnerType_name = map[int32]string{
0: "GENESIS_SIGNER",
1: "TXN_SIGNER",
2: "BLOCK_SIGNER",
}
var WinnerType_value = map[string]int32{
"GENESIS_SIGNER": 0,
"TXN_SIGNER": 1,
"BLOCK_SIGNER": 2,
}
Functions ¶
func ComputeSignatureHash ¶
Types ¶
type AllowedBroadcastPullMessageType ¶
type AllowedBroadcastPullMessageType int32
Message type that can be sent as broadcast_pull message Name doesn't matter, but value needs to match the value in MessageType
const (
ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE AllowedBroadcastPullMessageType = 0
)
func (AllowedBroadcastPullMessageType) EnumDescriptor ¶
func (AllowedBroadcastPullMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedBroadcastPullMessageType) String ¶
func (x AllowedBroadcastPullMessageType) String() string
type AllowedBroadcastPushMessageType ¶
type AllowedBroadcastPushMessageType int32
Message type that can be sent as broadcast_push message Name doesn't matter, but value needs to match the value in MessageType
const ( ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE AllowedBroadcastPushMessageType = 0 ALLOW_BROADCAST_PUSH_TRANSACTIONS AllowedBroadcastPushMessageType = 12 )
func (AllowedBroadcastPushMessageType) EnumDescriptor ¶
func (AllowedBroadcastPushMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedBroadcastPushMessageType) String ¶
func (x AllowedBroadcastPushMessageType) String() string
type AllowedBroadcastTreeMessageType ¶
type AllowedBroadcastTreeMessageType int32
Message type that can be sent as broadcast_tree message Name doesn't matter, but value needs to match the value in MessageType
const ( ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE AllowedBroadcastTreeMessageType = 0 ALLOW_BROADCAST_TREE_TRANSACTIONS AllowedBroadcastTreeMessageType = 12 )
func (AllowedBroadcastTreeMessageType) EnumDescriptor ¶
func (AllowedBroadcastTreeMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedBroadcastTreeMessageType) String ¶
func (x AllowedBroadcastTreeMessageType) String() string
type AllowedDirectMessageType ¶
type AllowedDirectMessageType int32
Message type that can be sent as direct message Name doesn't matter, but value needs to match the value in MessageType
const ( ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE AllowedDirectMessageType = 0 ALLOW_DIRECT_VOTE AllowedDirectMessageType = 1 ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL AllowedDirectMessageType = 2 ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL AllowedDirectMessageType = 3 ALLOW_DIRECT_REQUEST_BLOCK_REPLY AllowedDirectMessageType = 4 ALLOW_DIRECT_GET_CONSENSUS_STATE AllowedDirectMessageType = 5 ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY AllowedDirectMessageType = 6 ALLOW_DIRECT_GET_BLOCK_HEADERS AllowedDirectMessageType = 7 ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY AllowedDirectMessageType = 8 ALLOW_DIRECT_GET_BLOCKS AllowedDirectMessageType = 9 ALLOW_DIRECT_GET_BLOCKS_REPLY AllowedDirectMessageType = 10 ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN AllowedDirectMessageType = 13 ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS AllowedDirectMessageType = 14 ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY AllowedDirectMessageType = 15 ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION AllowedDirectMessageType = 16 ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION AllowedDirectMessageType = 17 ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY AllowedDirectMessageType = 18 ALLOW_DIRECT_PIN_SIGNATURE_CHAIN AllowedDirectMessageType = 19 )
func (AllowedDirectMessageType) EnumDescriptor ¶
func (AllowedDirectMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedDirectMessageType) String ¶
func (x AllowedDirectMessageType) String() string
type AllowedRelayMessageType ¶
type AllowedRelayMessageType int32
Message type that can be sent as relay message Name doesn't matter, but value needs to match the value in MessageType
const ( ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE AllowedRelayMessageType = 0 ALLOW_RELAY_RELAY AllowedRelayMessageType = 11 )
func (AllowedRelayMessageType) EnumDescriptor ¶
func (AllowedRelayMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedRelayMessageType) String ¶
func (x AllowedRelayMessageType) String() string
type AllowedSignedMessageType ¶
type AllowedSignedMessageType int32
Message type that can be signed message Name doesn't matter, but value needs to match the value in MessageType
const (
ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE AllowedSignedMessageType = 0
)
func (AllowedSignedMessageType) EnumDescriptor ¶
func (AllowedSignedMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedSignedMessageType) String ¶
func (x AllowedSignedMessageType) String() string
type AllowedUnsignedMessageType ¶
type AllowedUnsignedMessageType int32
Message type that can be unsigned message Name doesn't matter, but value needs to match the value in MessageType
const ( ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE AllowedUnsignedMessageType = 0 ALLOW_UNSIGNED_VOTE AllowedUnsignedMessageType = 1 ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL AllowedUnsignedMessageType = 2 ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL AllowedUnsignedMessageType = 3 ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY AllowedUnsignedMessageType = 4 ALLOW_UNSIGNED_GET_CONSENSUS_STATE AllowedUnsignedMessageType = 5 ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY AllowedUnsignedMessageType = 6 ALLOW_UNSIGNED_GET_BLOCK_HEADERS AllowedUnsignedMessageType = 7 ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY AllowedUnsignedMessageType = 8 ALLOW_UNSIGNED_GET_BLOCKS AllowedUnsignedMessageType = 9 ALLOW_UNSIGNED_GET_BLOCKS_REPLY AllowedUnsignedMessageType = 10 ALLOW_UNSIGNED_RELAY AllowedUnsignedMessageType = 11 ALLOW_UNSIGNED_TRANSACTIONS AllowedUnsignedMessageType = 12 ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN AllowedUnsignedMessageType = 13 ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS AllowedUnsignedMessageType = 14 ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY AllowedUnsignedMessageType = 15 ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION AllowedUnsignedMessageType = 16 ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION AllowedUnsignedMessageType = 17 ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY AllowedUnsignedMessageType = 18 ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN AllowedUnsignedMessageType = 19 )
func (AllowedUnsignedMessageType) EnumDescriptor ¶
func (AllowedUnsignedMessageType) EnumDescriptor() ([]byte, []int)
func (AllowedUnsignedMessageType) String ¶
func (x AllowedUnsignedMessageType) String() string
type BacktrackSignatureChain ¶
type BacktrackSignatureChain struct { SigChainElems []*SigChainElem `protobuf:"bytes,1,rep,name=sig_chain_elems,json=sigChainElems" json:"sig_chain_elems,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` }
func NewPopulatedBacktrackSignatureChain ¶
func NewPopulatedBacktrackSignatureChain(r randyNodemessage, easy bool) *BacktrackSignatureChain
func (*BacktrackSignatureChain) Descriptor ¶
func (*BacktrackSignatureChain) Descriptor() ([]byte, []int)
func (*BacktrackSignatureChain) Equal ¶
func (this *BacktrackSignatureChain) Equal(that interface{}) bool
func (*BacktrackSignatureChain) GetHash ¶
func (m *BacktrackSignatureChain) GetHash() []byte
func (*BacktrackSignatureChain) GetSigChainElems ¶
func (m *BacktrackSignatureChain) GetSigChainElems() []*SigChainElem
func (*BacktrackSignatureChain) GoString ¶
func (this *BacktrackSignatureChain) GoString() string
func (*BacktrackSignatureChain) Marshal ¶
func (m *BacktrackSignatureChain) Marshal() (dAtA []byte, err error)
func (*BacktrackSignatureChain) MarshalTo ¶
func (m *BacktrackSignatureChain) MarshalTo(dAtA []byte) (int, error)
func (*BacktrackSignatureChain) ProtoMessage ¶
func (*BacktrackSignatureChain) ProtoMessage()
func (*BacktrackSignatureChain) Reset ¶
func (m *BacktrackSignatureChain) Reset()
func (*BacktrackSignatureChain) Size ¶
func (m *BacktrackSignatureChain) Size() (n int)
func (*BacktrackSignatureChain) String ¶
func (this *BacktrackSignatureChain) String() string
func (*BacktrackSignatureChain) Unmarshal ¶
func (m *BacktrackSignatureChain) Unmarshal(dAtA []byte) error
func (*BacktrackSignatureChain) XXX_DiscardUnknown ¶
func (m *BacktrackSignatureChain) XXX_DiscardUnknown()
func (*BacktrackSignatureChain) XXX_Marshal ¶
func (m *BacktrackSignatureChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BacktrackSignatureChain) XXX_Merge ¶
func (dst *BacktrackSignatureChain) XXX_Merge(src proto.Message)
func (*BacktrackSignatureChain) XXX_Size ¶
func (m *BacktrackSignatureChain) XXX_Size() int
func (*BacktrackSignatureChain) XXX_Unmarshal ¶
func (m *BacktrackSignatureChain) XXX_Unmarshal(b []byte) error
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Transactions []*Transaction `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"` }
func NewPopulatedBlock ¶
func (*Block) Descriptor ¶
func (*Block) GetTransactions ¶
func (m *Block) GetTransactions() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type ClientMessage ¶
type ClientMessage struct { MessageType ClientMessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=pb.ClientMessageType" json:"message_type,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` CompressionType CompressionType `` /* 131-byte string literal not displayed */ }
func NewPopulatedClientMessage ¶
func NewPopulatedClientMessage(r randyClientmessage, easy bool) *ClientMessage
func (*ClientMessage) Descriptor ¶
func (*ClientMessage) Descriptor() ([]byte, []int)
func (*ClientMessage) Equal ¶
func (this *ClientMessage) Equal(that interface{}) bool
func (*ClientMessage) GetCompressionType ¶
func (m *ClientMessage) GetCompressionType() CompressionType
func (*ClientMessage) GetMessage ¶
func (m *ClientMessage) GetMessage() []byte
func (*ClientMessage) GetMessageType ¶
func (m *ClientMessage) GetMessageType() ClientMessageType
func (*ClientMessage) GoString ¶
func (this *ClientMessage) GoString() string
func (*ClientMessage) Marshal ¶
func (m *ClientMessage) Marshal() (dAtA []byte, err error)
func (*ClientMessage) ProtoMessage ¶
func (*ClientMessage) ProtoMessage()
func (*ClientMessage) Reset ¶
func (m *ClientMessage) Reset()
func (*ClientMessage) Size ¶
func (m *ClientMessage) Size() (n int)
func (*ClientMessage) String ¶
func (this *ClientMessage) String() string
func (*ClientMessage) Unmarshal ¶
func (m *ClientMessage) Unmarshal(dAtA []byte) error
func (*ClientMessage) XXX_DiscardUnknown ¶
func (m *ClientMessage) XXX_DiscardUnknown()
func (*ClientMessage) XXX_Marshal ¶
func (m *ClientMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientMessage) XXX_Merge ¶
func (dst *ClientMessage) XXX_Merge(src proto.Message)
func (*ClientMessage) XXX_Size ¶
func (m *ClientMessage) XXX_Size() int
func (*ClientMessage) XXX_Unmarshal ¶
func (m *ClientMessage) XXX_Unmarshal(b []byte) error
type ClientMessageType ¶
type ClientMessageType int32
const ( OUTBOUND_MESSAGE ClientMessageType = 0 INBOUND_MESSAGE ClientMessageType = 1 RECEIPT ClientMessageType = 2 )
func (ClientMessageType) EnumDescriptor ¶
func (ClientMessageType) EnumDescriptor() ([]byte, []int)
func (ClientMessageType) String ¶
func (x ClientMessageType) String() string
type Coinbase ¶
type Coinbase struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func NewPopulatedCoinbase ¶
func (*Coinbase) Descriptor ¶
func (*Coinbase) GetRecipient ¶
func (*Coinbase) ProtoMessage ¶
func (*Coinbase) ProtoMessage()
func (*Coinbase) XXX_DiscardUnknown ¶
func (m *Coinbase) XXX_DiscardUnknown()
func (*Coinbase) XXX_Marshal ¶
func (*Coinbase) XXX_Unmarshal ¶
type CompressionType ¶
type CompressionType int32
const ( COMPRESSION_NONE CompressionType = 0 COMPRESSION_ZLIB CompressionType = 1 )
func (CompressionType) EnumDescriptor ¶
func (CompressionType) EnumDescriptor() ([]byte, []int)
func (CompressionType) String ¶
func (x CompressionType) String() string
type DeleteName ¶
type DeleteName struct { Registrant []byte `protobuf:"bytes,1,opt,name=registrant,proto3" json:"registrant,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
func NewPopulatedDeleteName ¶
func NewPopulatedDeleteName(r randyTransaction, easy bool) *DeleteName
func (*DeleteName) Descriptor ¶
func (*DeleteName) Descriptor() ([]byte, []int)
func (*DeleteName) Equal ¶
func (this *DeleteName) Equal(that interface{}) bool
func (*DeleteName) GetName ¶
func (m *DeleteName) GetName() string
func (*DeleteName) GetRegistrant ¶
func (m *DeleteName) GetRegistrant() []byte
func (*DeleteName) GoString ¶
func (this *DeleteName) GoString() string
func (*DeleteName) Marshal ¶
func (m *DeleteName) Marshal() (dAtA []byte, err error)
func (*DeleteName) ProtoMessage ¶
func (*DeleteName) ProtoMessage()
func (*DeleteName) Reset ¶
func (m *DeleteName) Reset()
func (*DeleteName) Size ¶
func (m *DeleteName) Size() (n int)
func (*DeleteName) String ¶
func (this *DeleteName) String() string
func (*DeleteName) Unmarshal ¶
func (m *DeleteName) Unmarshal(dAtA []byte) error
func (*DeleteName) XXX_DiscardUnknown ¶
func (m *DeleteName) XXX_DiscardUnknown()
func (*DeleteName) XXX_Marshal ¶
func (m *DeleteName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteName) XXX_Merge ¶
func (dst *DeleteName) XXX_Merge(src proto.Message)
func (*DeleteName) XXX_Size ¶
func (m *DeleteName) XXX_Size() int
func (*DeleteName) XXX_Unmarshal ¶
func (m *DeleteName) XXX_Unmarshal(b []byte) error
type GenerateID ¶
type GenerateID struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` RegistrationFee int64 `protobuf:"varint,2,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"` }
func NewPopulatedGenerateID ¶
func NewPopulatedGenerateID(r randyTransaction, easy bool) *GenerateID
func (*GenerateID) Descriptor ¶
func (*GenerateID) Descriptor() ([]byte, []int)
func (*GenerateID) Equal ¶
func (this *GenerateID) Equal(that interface{}) bool
func (*GenerateID) GetPublicKey ¶
func (m *GenerateID) GetPublicKey() []byte
func (*GenerateID) GetRegistrationFee ¶
func (m *GenerateID) GetRegistrationFee() int64
func (*GenerateID) GoString ¶
func (this *GenerateID) GoString() string
func (*GenerateID) Marshal ¶
func (m *GenerateID) Marshal() (dAtA []byte, err error)
func (*GenerateID) ProtoMessage ¶
func (*GenerateID) ProtoMessage()
func (*GenerateID) Reset ¶
func (m *GenerateID) Reset()
func (*GenerateID) Size ¶
func (m *GenerateID) Size() (n int)
func (*GenerateID) String ¶
func (this *GenerateID) String() string
func (*GenerateID) ToMap ¶
func (m *GenerateID) ToMap() map[string]interface{}
func (*GenerateID) Unmarshal ¶
func (m *GenerateID) Unmarshal(dAtA []byte) error
func (*GenerateID) XXX_DiscardUnknown ¶
func (m *GenerateID) XXX_DiscardUnknown()
func (*GenerateID) XXX_Marshal ¶
func (m *GenerateID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateID) XXX_Merge ¶
func (dst *GenerateID) XXX_Merge(src proto.Message)
func (*GenerateID) XXX_Size ¶
func (m *GenerateID) XXX_Size() int
func (*GenerateID) XXX_Unmarshal ¶
func (m *GenerateID) XXX_Unmarshal(b []byte) error
type GetBlockHeaders ¶
type GetBlockHeaders struct { StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` }
func NewPopulatedGetBlockHeaders ¶
func NewPopulatedGetBlockHeaders(r randyNodemessage, easy bool) *GetBlockHeaders
func (*GetBlockHeaders) Descriptor ¶
func (*GetBlockHeaders) Descriptor() ([]byte, []int)
func (*GetBlockHeaders) Equal ¶
func (this *GetBlockHeaders) Equal(that interface{}) bool
func (*GetBlockHeaders) GetEndHeight ¶
func (m *GetBlockHeaders) GetEndHeight() uint32
func (*GetBlockHeaders) GetStartHeight ¶
func (m *GetBlockHeaders) GetStartHeight() uint32
func (*GetBlockHeaders) GoString ¶
func (this *GetBlockHeaders) GoString() string
func (*GetBlockHeaders) Marshal ¶
func (m *GetBlockHeaders) Marshal() (dAtA []byte, err error)
func (*GetBlockHeaders) ProtoMessage ¶
func (*GetBlockHeaders) ProtoMessage()
func (*GetBlockHeaders) Reset ¶
func (m *GetBlockHeaders) Reset()
func (*GetBlockHeaders) Size ¶
func (m *GetBlockHeaders) Size() (n int)
func (*GetBlockHeaders) String ¶
func (this *GetBlockHeaders) String() string
func (*GetBlockHeaders) Unmarshal ¶
func (m *GetBlockHeaders) Unmarshal(dAtA []byte) error
func (*GetBlockHeaders) XXX_DiscardUnknown ¶
func (m *GetBlockHeaders) XXX_DiscardUnknown()
func (*GetBlockHeaders) XXX_Marshal ¶
func (m *GetBlockHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeaders) XXX_Merge ¶
func (dst *GetBlockHeaders) XXX_Merge(src proto.Message)
func (*GetBlockHeaders) XXX_Size ¶
func (m *GetBlockHeaders) XXX_Size() int
func (*GetBlockHeaders) XXX_Unmarshal ¶
func (m *GetBlockHeaders) XXX_Unmarshal(b []byte) error
type GetBlockHeadersReply ¶
type GetBlockHeadersReply struct {
BlockHeaders []*Header `protobuf:"bytes,1,rep,name=block_headers,json=blockHeaders" json:"block_headers,omitempty"`
}
func NewPopulatedGetBlockHeadersReply ¶
func NewPopulatedGetBlockHeadersReply(r randyNodemessage, easy bool) *GetBlockHeadersReply
func (*GetBlockHeadersReply) Descriptor ¶
func (*GetBlockHeadersReply) Descriptor() ([]byte, []int)
func (*GetBlockHeadersReply) Equal ¶
func (this *GetBlockHeadersReply) Equal(that interface{}) bool
func (*GetBlockHeadersReply) GetBlockHeaders ¶
func (m *GetBlockHeadersReply) GetBlockHeaders() []*Header
func (*GetBlockHeadersReply) GoString ¶
func (this *GetBlockHeadersReply) GoString() string
func (*GetBlockHeadersReply) Marshal ¶
func (m *GetBlockHeadersReply) Marshal() (dAtA []byte, err error)
func (*GetBlockHeadersReply) MarshalTo ¶
func (m *GetBlockHeadersReply) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeadersReply) ProtoMessage ¶
func (*GetBlockHeadersReply) ProtoMessage()
func (*GetBlockHeadersReply) Reset ¶
func (m *GetBlockHeadersReply) Reset()
func (*GetBlockHeadersReply) Size ¶
func (m *GetBlockHeadersReply) Size() (n int)
func (*GetBlockHeadersReply) String ¶
func (this *GetBlockHeadersReply) String() string
func (*GetBlockHeadersReply) Unmarshal ¶
func (m *GetBlockHeadersReply) Unmarshal(dAtA []byte) error
func (*GetBlockHeadersReply) XXX_DiscardUnknown ¶
func (m *GetBlockHeadersReply) XXX_DiscardUnknown()
func (*GetBlockHeadersReply) XXX_Marshal ¶
func (m *GetBlockHeadersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeadersReply) XXX_Merge ¶
func (dst *GetBlockHeadersReply) XXX_Merge(src proto.Message)
func (*GetBlockHeadersReply) XXX_Size ¶
func (m *GetBlockHeadersReply) XXX_Size() int
func (*GetBlockHeadersReply) XXX_Unmarshal ¶
func (m *GetBlockHeadersReply) XXX_Unmarshal(b []byte) error
type GetBlocks ¶
type GetBlocks struct { StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` }
func NewPopulatedGetBlocks ¶
func (*GetBlocks) Descriptor ¶
func (*GetBlocks) GetEndHeight ¶
func (*GetBlocks) GetStartHeight ¶
func (*GetBlocks) ProtoMessage ¶
func (*GetBlocks) ProtoMessage()
func (*GetBlocks) XXX_DiscardUnknown ¶
func (m *GetBlocks) XXX_DiscardUnknown()
func (*GetBlocks) XXX_Marshal ¶
func (*GetBlocks) XXX_Unmarshal ¶
type GetBlocksReply ¶
type GetBlocksReply struct {
Blocks []*Block `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
}
func NewPopulatedGetBlocksReply ¶
func NewPopulatedGetBlocksReply(r randyNodemessage, easy bool) *GetBlocksReply
func (*GetBlocksReply) Descriptor ¶
func (*GetBlocksReply) Descriptor() ([]byte, []int)
func (*GetBlocksReply) Equal ¶
func (this *GetBlocksReply) Equal(that interface{}) bool
func (*GetBlocksReply) GetBlocks ¶
func (m *GetBlocksReply) GetBlocks() []*Block
func (*GetBlocksReply) GoString ¶
func (this *GetBlocksReply) GoString() string
func (*GetBlocksReply) Marshal ¶
func (m *GetBlocksReply) Marshal() (dAtA []byte, err error)
func (*GetBlocksReply) ProtoMessage ¶
func (*GetBlocksReply) ProtoMessage()
func (*GetBlocksReply) Reset ¶
func (m *GetBlocksReply) Reset()
func (*GetBlocksReply) Size ¶
func (m *GetBlocksReply) Size() (n int)
func (*GetBlocksReply) String ¶
func (this *GetBlocksReply) String() string
func (*GetBlocksReply) Unmarshal ¶
func (m *GetBlocksReply) Unmarshal(dAtA []byte) error
func (*GetBlocksReply) XXX_DiscardUnknown ¶
func (m *GetBlocksReply) XXX_DiscardUnknown()
func (*GetBlocksReply) XXX_Marshal ¶
func (m *GetBlocksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlocksReply) XXX_Merge ¶
func (dst *GetBlocksReply) XXX_Merge(src proto.Message)
func (*GetBlocksReply) XXX_Size ¶
func (m *GetBlocksReply) XXX_Size() int
func (*GetBlocksReply) XXX_Unmarshal ¶
func (m *GetBlocksReply) XXX_Unmarshal(b []byte) error
type GetConsensusState ¶
type GetConsensusState struct { }
func NewPopulatedGetConsensusState ¶
func NewPopulatedGetConsensusState(r randyNodemessage, easy bool) *GetConsensusState
func (*GetConsensusState) Descriptor ¶
func (*GetConsensusState) Descriptor() ([]byte, []int)
func (*GetConsensusState) Equal ¶
func (this *GetConsensusState) Equal(that interface{}) bool
func (*GetConsensusState) GoString ¶
func (this *GetConsensusState) GoString() string
func (*GetConsensusState) Marshal ¶
func (m *GetConsensusState) Marshal() (dAtA []byte, err error)
func (*GetConsensusState) MarshalTo ¶
func (m *GetConsensusState) MarshalTo(dAtA []byte) (int, error)
func (*GetConsensusState) ProtoMessage ¶
func (*GetConsensusState) ProtoMessage()
func (*GetConsensusState) Reset ¶
func (m *GetConsensusState) Reset()
func (*GetConsensusState) Size ¶
func (m *GetConsensusState) Size() (n int)
func (*GetConsensusState) String ¶
func (this *GetConsensusState) String() string
func (*GetConsensusState) Unmarshal ¶
func (m *GetConsensusState) Unmarshal(dAtA []byte) error
func (*GetConsensusState) XXX_DiscardUnknown ¶
func (m *GetConsensusState) XXX_DiscardUnknown()
func (*GetConsensusState) XXX_Marshal ¶
func (m *GetConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConsensusState) XXX_Merge ¶
func (dst *GetConsensusState) XXX_Merge(src proto.Message)
func (*GetConsensusState) XXX_Size ¶
func (m *GetConsensusState) XXX_Size() int
func (*GetConsensusState) XXX_Unmarshal ¶
func (m *GetConsensusState) XXX_Unmarshal(b []byte) error
type GetConsensusStateReply ¶
type GetConsensusStateReply struct { LedgerBlockHash []byte `protobuf:"bytes,2,opt,name=ledger_block_hash,json=ledgerBlockHash,proto3" json:"ledger_block_hash,omitempty"` LedgerHeight uint32 `protobuf:"varint,1,opt,name=ledger_height,json=ledgerHeight,proto3" json:"ledger_height,omitempty"` ConsensusHeight uint32 `protobuf:"varint,3,opt,name=consensus_height,json=consensusHeight,proto3" json:"consensus_height,omitempty"` MinVerifiableHeight uint32 `protobuf:"varint,5,opt,name=min_verifiable_height,json=minVerifiableHeight,proto3" json:"min_verifiable_height,omitempty"` SyncState SyncState `protobuf:"varint,4,opt,name=sync_state,json=syncState,proto3,enum=pb.SyncState" json:"sync_state,omitempty"` }
func NewPopulatedGetConsensusStateReply ¶
func NewPopulatedGetConsensusStateReply(r randyNodemessage, easy bool) *GetConsensusStateReply
func (*GetConsensusStateReply) Descriptor ¶
func (*GetConsensusStateReply) Descriptor() ([]byte, []int)
func (*GetConsensusStateReply) Equal ¶
func (this *GetConsensusStateReply) Equal(that interface{}) bool
func (*GetConsensusStateReply) GetConsensusHeight ¶
func (m *GetConsensusStateReply) GetConsensusHeight() uint32
func (*GetConsensusStateReply) GetLedgerBlockHash ¶
func (m *GetConsensusStateReply) GetLedgerBlockHash() []byte
func (*GetConsensusStateReply) GetLedgerHeight ¶
func (m *GetConsensusStateReply) GetLedgerHeight() uint32
func (*GetConsensusStateReply) GetMinVerifiableHeight ¶
func (m *GetConsensusStateReply) GetMinVerifiableHeight() uint32
func (*GetConsensusStateReply) GetSyncState ¶
func (m *GetConsensusStateReply) GetSyncState() SyncState
func (*GetConsensusStateReply) GoString ¶
func (this *GetConsensusStateReply) GoString() string
func (*GetConsensusStateReply) Marshal ¶
func (m *GetConsensusStateReply) Marshal() (dAtA []byte, err error)
func (*GetConsensusStateReply) MarshalTo ¶
func (m *GetConsensusStateReply) MarshalTo(dAtA []byte) (int, error)
func (*GetConsensusStateReply) ProtoMessage ¶
func (*GetConsensusStateReply) ProtoMessage()
func (*GetConsensusStateReply) Reset ¶
func (m *GetConsensusStateReply) Reset()
func (*GetConsensusStateReply) Size ¶
func (m *GetConsensusStateReply) Size() (n int)
func (*GetConsensusStateReply) String ¶
func (this *GetConsensusStateReply) String() string
func (*GetConsensusStateReply) Unmarshal ¶
func (m *GetConsensusStateReply) Unmarshal(dAtA []byte) error
func (*GetConsensusStateReply) XXX_DiscardUnknown ¶
func (m *GetConsensusStateReply) XXX_DiscardUnknown()
func (*GetConsensusStateReply) XXX_Marshal ¶
func (m *GetConsensusStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConsensusStateReply) XXX_Merge ¶
func (dst *GetConsensusStateReply) XXX_Merge(src proto.Message)
func (*GetConsensusStateReply) XXX_Size ¶
func (m *GetConsensusStateReply) XXX_Size() int
func (*GetConsensusStateReply) XXX_Unmarshal ¶
func (m *GetConsensusStateReply) XXX_Unmarshal(b []byte) error
type Header ¶
type Header struct { UnsignedHeader *UnsignedHeader `protobuf:"bytes,1,opt,name=unsigned_header,json=unsignedHeader" json:"unsigned_header,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func NewPopulatedHeader ¶
func (*Header) Descriptor ¶
func (*Header) GetSignature ¶
func (*Header) GetUnsignedHeader ¶
func (m *Header) GetUnsignedHeader() *UnsignedHeader
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type IHaveBlockProposal ¶
type IHaveBlockProposal struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` }
func NewPopulatedIHaveBlockProposal ¶
func NewPopulatedIHaveBlockProposal(r randyNodemessage, easy bool) *IHaveBlockProposal
func (*IHaveBlockProposal) Descriptor ¶
func (*IHaveBlockProposal) Descriptor() ([]byte, []int)
func (*IHaveBlockProposal) Equal ¶
func (this *IHaveBlockProposal) Equal(that interface{}) bool
func (*IHaveBlockProposal) GetBlockHash ¶
func (m *IHaveBlockProposal) GetBlockHash() []byte
func (*IHaveBlockProposal) GetHeight ¶
func (m *IHaveBlockProposal) GetHeight() uint32
func (*IHaveBlockProposal) GoString ¶
func (this *IHaveBlockProposal) GoString() string
func (*IHaveBlockProposal) Marshal ¶
func (m *IHaveBlockProposal) Marshal() (dAtA []byte, err error)
func (*IHaveBlockProposal) MarshalTo ¶
func (m *IHaveBlockProposal) MarshalTo(dAtA []byte) (int, error)
func (*IHaveBlockProposal) ProtoMessage ¶
func (*IHaveBlockProposal) ProtoMessage()
func (*IHaveBlockProposal) Reset ¶
func (m *IHaveBlockProposal) Reset()
func (*IHaveBlockProposal) Size ¶
func (m *IHaveBlockProposal) Size() (n int)
func (*IHaveBlockProposal) String ¶
func (this *IHaveBlockProposal) String() string
func (*IHaveBlockProposal) Unmarshal ¶
func (m *IHaveBlockProposal) Unmarshal(dAtA []byte) error
func (*IHaveBlockProposal) XXX_DiscardUnknown ¶
func (m *IHaveBlockProposal) XXX_DiscardUnknown()
func (*IHaveBlockProposal) XXX_Marshal ¶
func (m *IHaveBlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IHaveBlockProposal) XXX_Merge ¶
func (dst *IHaveBlockProposal) XXX_Merge(src proto.Message)
func (*IHaveBlockProposal) XXX_Size ¶
func (m *IHaveBlockProposal) XXX_Size() int
func (*IHaveBlockProposal) XXX_Unmarshal ¶
func (m *IHaveBlockProposal) XXX_Unmarshal(b []byte) error
type IHaveSignatureChainTransaction ¶
type IHaveSignatureChainTransaction struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` SignatureHash []byte `protobuf:"bytes,2,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"` }
func NewPopulatedIHaveSignatureChainTransaction ¶
func NewPopulatedIHaveSignatureChainTransaction(r randyNodemessage, easy bool) *IHaveSignatureChainTransaction
func (*IHaveSignatureChainTransaction) Descriptor ¶
func (*IHaveSignatureChainTransaction) Descriptor() ([]byte, []int)
func (*IHaveSignatureChainTransaction) Equal ¶
func (this *IHaveSignatureChainTransaction) Equal(that interface{}) bool
func (*IHaveSignatureChainTransaction) GetHeight ¶
func (m *IHaveSignatureChainTransaction) GetHeight() uint32
func (*IHaveSignatureChainTransaction) GetSignatureHash ¶
func (m *IHaveSignatureChainTransaction) GetSignatureHash() []byte
func (*IHaveSignatureChainTransaction) GoString ¶
func (this *IHaveSignatureChainTransaction) GoString() string
func (*IHaveSignatureChainTransaction) Marshal ¶
func (m *IHaveSignatureChainTransaction) Marshal() (dAtA []byte, err error)
func (*IHaveSignatureChainTransaction) MarshalTo ¶
func (m *IHaveSignatureChainTransaction) MarshalTo(dAtA []byte) (int, error)
func (*IHaveSignatureChainTransaction) ProtoMessage ¶
func (*IHaveSignatureChainTransaction) ProtoMessage()
func (*IHaveSignatureChainTransaction) Reset ¶
func (m *IHaveSignatureChainTransaction) Reset()
func (*IHaveSignatureChainTransaction) Size ¶
func (m *IHaveSignatureChainTransaction) Size() (n int)
func (*IHaveSignatureChainTransaction) String ¶
func (this *IHaveSignatureChainTransaction) String() string
func (*IHaveSignatureChainTransaction) Unmarshal ¶
func (m *IHaveSignatureChainTransaction) Unmarshal(dAtA []byte) error
func (*IHaveSignatureChainTransaction) XXX_DiscardUnknown ¶
func (m *IHaveSignatureChainTransaction) XXX_DiscardUnknown()
func (*IHaveSignatureChainTransaction) XXX_Marshal ¶
func (m *IHaveSignatureChainTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IHaveSignatureChainTransaction) XXX_Merge ¶
func (dst *IHaveSignatureChainTransaction) XXX_Merge(src proto.Message)
func (*IHaveSignatureChainTransaction) XXX_Size ¶
func (m *IHaveSignatureChainTransaction) XXX_Size() int
func (*IHaveSignatureChainTransaction) XXX_Unmarshal ¶
func (m *IHaveSignatureChainTransaction) XXX_Unmarshal(b []byte) error
type InboundMessage ¶
type InboundMessage struct { Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` PrevHash []byte `protobuf:"bytes,3,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` }
func NewPopulatedInboundMessage ¶
func NewPopulatedInboundMessage(r randyClientmessage, easy bool) *InboundMessage
func (*InboundMessage) Descriptor ¶
func (*InboundMessage) Descriptor() ([]byte, []int)
func (*InboundMessage) Equal ¶
func (this *InboundMessage) Equal(that interface{}) bool
func (*InboundMessage) GetPayload ¶
func (m *InboundMessage) GetPayload() []byte
func (*InboundMessage) GetPrevHash ¶
func (m *InboundMessage) GetPrevHash() []byte
func (*InboundMessage) GetSrc ¶
func (m *InboundMessage) GetSrc() string
func (*InboundMessage) GoString ¶
func (this *InboundMessage) GoString() string
func (*InboundMessage) Marshal ¶
func (m *InboundMessage) Marshal() (dAtA []byte, err error)
func (*InboundMessage) ProtoMessage ¶
func (*InboundMessage) ProtoMessage()
func (*InboundMessage) Reset ¶
func (m *InboundMessage) Reset()
func (*InboundMessage) Size ¶
func (m *InboundMessage) Size() (n int)
func (*InboundMessage) String ¶
func (this *InboundMessage) String() string
func (*InboundMessage) Unmarshal ¶
func (m *InboundMessage) Unmarshal(dAtA []byte) error
func (*InboundMessage) XXX_DiscardUnknown ¶
func (m *InboundMessage) XXX_DiscardUnknown()
func (*InboundMessage) XXX_Marshal ¶
func (m *InboundMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InboundMessage) XXX_Merge ¶
func (dst *InboundMessage) XXX_Merge(src proto.Message)
func (*InboundMessage) XXX_Size ¶
func (m *InboundMessage) XXX_Size() int
func (*InboundMessage) XXX_Unmarshal ¶
func (m *InboundMessage) XXX_Unmarshal(b []byte) error
type IssueAsset ¶
type IssueAsset struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` TotalSupply int64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` Precision uint32 `protobuf:"varint,5,opt,name=precision,proto3" json:"precision,omitempty"` }
func NewPopulatedIssueAsset ¶
func NewPopulatedIssueAsset(r randyTransaction, easy bool) *IssueAsset
func (*IssueAsset) Descriptor ¶
func (*IssueAsset) Descriptor() ([]byte, []int)
func (*IssueAsset) Equal ¶
func (this *IssueAsset) Equal(that interface{}) bool
func (*IssueAsset) GetName ¶
func (m *IssueAsset) GetName() string
func (*IssueAsset) GetPrecision ¶
func (m *IssueAsset) GetPrecision() uint32
func (*IssueAsset) GetSender ¶
func (m *IssueAsset) GetSender() []byte
func (*IssueAsset) GetSymbol ¶
func (m *IssueAsset) GetSymbol() string
func (*IssueAsset) GetTotalSupply ¶
func (m *IssueAsset) GetTotalSupply() int64
func (*IssueAsset) GoString ¶
func (this *IssueAsset) GoString() string
func (*IssueAsset) Marshal ¶
func (m *IssueAsset) Marshal() (dAtA []byte, err error)
func (*IssueAsset) ProtoMessage ¶
func (*IssueAsset) ProtoMessage()
func (*IssueAsset) Reset ¶
func (m *IssueAsset) Reset()
func (*IssueAsset) Size ¶
func (m *IssueAsset) Size() (n int)
func (*IssueAsset) String ¶
func (this *IssueAsset) String() string
func (*IssueAsset) Unmarshal ¶
func (m *IssueAsset) Unmarshal(dAtA []byte) error
func (*IssueAsset) XXX_DiscardUnknown ¶
func (m *IssueAsset) XXX_DiscardUnknown()
func (*IssueAsset) XXX_Marshal ¶
func (m *IssueAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssueAsset) XXX_Merge ¶
func (dst *IssueAsset) XXX_Merge(src proto.Message)
func (*IssueAsset) XXX_Size ¶
func (m *IssueAsset) XXX_Size() int
func (*IssueAsset) XXX_Unmarshal ¶
func (m *IssueAsset) XXX_Unmarshal(b []byte) error
type MessageType ¶
type MessageType int32
const ( MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE MessageType = 0 VOTE MessageType = 1 I_HAVE_BLOCK_PROPOSAL MessageType = 2 REQUEST_BLOCK_PROPOSAL MessageType = 3 REQUEST_BLOCK_PROPOSAL_REPLY MessageType = 4 GET_CONSENSUS_STATE MessageType = 5 GET_CONSENSUS_STATE_REPLY MessageType = 6 GET_BLOCK_HEADERS MessageType = 7 GET_BLOCK_HEADERS_REPLY MessageType = 8 GET_BLOCKS MessageType = 9 GET_BLOCKS_REPLY MessageType = 10 RELAY MessageType = 11 TRANSACTIONS MessageType = 12 BACKTRACK_SIGNATURE_CHAIN MessageType = 13 REQUEST_PROPOSAL_TRANSACTIONS MessageType = 14 REQUEST_PROPOSAL_TRANSACTIONS_REPLY MessageType = 15 I_HAVE_SIGNATURE_CHAIN_TRANSACTION MessageType = 16 REQUEST_SIGNATURE_CHAIN_TRANSACTION MessageType = 17 REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY MessageType = 18 PIN_SIGNATURE_CHAIN MessageType = 19 )
func (MessageType) EnumDescriptor ¶
func (MessageType) EnumDescriptor() ([]byte, []int)
func (MessageType) String ¶
func (x MessageType) String() string
type NanoPay ¶
type NanoPay struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` TxnExpiration uint32 `protobuf:"varint,5,opt,name=txn_expiration,json=txnExpiration,proto3" json:"txn_expiration,omitempty"` NanoPayExpiration uint32 `protobuf:"varint,6,opt,name=nano_pay_expiration,json=nanoPayExpiration,proto3" json:"nano_pay_expiration,omitempty"` }
func NewPopulatedNanoPay ¶
func (*NanoPay) Descriptor ¶
func (*NanoPay) GetNanoPayExpiration ¶
func (*NanoPay) GetRecipient ¶
func (*NanoPay) GetTxnExpiration ¶
func (*NanoPay) ProtoMessage ¶
func (*NanoPay) ProtoMessage()
func (*NanoPay) XXX_DiscardUnknown ¶
func (m *NanoPay) XXX_DiscardUnknown()
func (*NanoPay) XXX_Marshal ¶
func (*NanoPay) XXX_Unmarshal ¶
type NodeData ¶
type NodeData struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` WebsocketPort uint32 `protobuf:"varint,2,opt,name=websocket_port,json=websocketPort,proto3" json:"websocket_port,omitempty"` JsonRpcPort uint32 `protobuf:"varint,3,opt,name=json_rpc_port,json=jsonRpcPort,proto3" json:"json_rpc_port,omitempty"` ProtocolVersion uint32 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` TlsWebsocketDomain string `protobuf:"bytes,5,opt,name=tls_websocket_domain,json=tlsWebsocketDomain,proto3" json:"tls_websocket_domain,omitempty"` TlsWebsocketPort uint32 `protobuf:"varint,6,opt,name=tls_websocket_port,json=tlsWebsocketPort,proto3" json:"tls_websocket_port,omitempty"` TlsJsonRpcDomain string `protobuf:"bytes,7,opt,name=tls_json_rpc_domain,json=tlsJsonRpcDomain,proto3" json:"tls_json_rpc_domain,omitempty"` TlsJsonRpcPort uint32 `protobuf:"varint,8,opt,name=tls_json_rpc_port,json=tlsJsonRpcPort,proto3" json:"tls_json_rpc_port,omitempty"` }
func NewPopulatedNodeData ¶
func (*NodeData) Descriptor ¶
func (*NodeData) GetJsonRpcPort ¶
func (*NodeData) GetProtocolVersion ¶
func (*NodeData) GetPublicKey ¶
func (*NodeData) GetTlsJsonRpcDomain ¶
func (*NodeData) GetTlsJsonRpcPort ¶
func (*NodeData) GetTlsWebsocketDomain ¶
func (*NodeData) GetTlsWebsocketPort ¶
func (*NodeData) GetWebsocketPort ¶
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
func (*NodeData) XXX_DiscardUnknown ¶
func (m *NodeData) XXX_DiscardUnknown()
func (*NodeData) XXX_Marshal ¶
func (*NodeData) XXX_Unmarshal ¶
type OutboundMessage ¶
type OutboundMessage struct { Dest string `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Dests []string `protobuf:"bytes,3,rep,name=dests" json:"dests,omitempty"` MaxHoldingSeconds uint32 `protobuf:"varint,4,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"` Nonce uint32 `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"` BlockHash []byte `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Signatures [][]byte `protobuf:"bytes,7,rep,name=signatures" json:"signatures,omitempty"` Payloads [][]byte `protobuf:"bytes,8,rep,name=payloads" json:"payloads,omitempty"` }
func NewPopulatedOutboundMessage ¶
func NewPopulatedOutboundMessage(r randyClientmessage, easy bool) *OutboundMessage
func (*OutboundMessage) Descriptor ¶
func (*OutboundMessage) Descriptor() ([]byte, []int)
func (*OutboundMessage) Equal ¶
func (this *OutboundMessage) Equal(that interface{}) bool
func (*OutboundMessage) GetBlockHash ¶
func (m *OutboundMessage) GetBlockHash() []byte
func (*OutboundMessage) GetDest ¶
func (m *OutboundMessage) GetDest() string
func (*OutboundMessage) GetDests ¶
func (m *OutboundMessage) GetDests() []string
func (*OutboundMessage) GetMaxHoldingSeconds ¶
func (m *OutboundMessage) GetMaxHoldingSeconds() uint32
func (*OutboundMessage) GetNonce ¶
func (m *OutboundMessage) GetNonce() uint32
func (*OutboundMessage) GetPayload ¶
func (m *OutboundMessage) GetPayload() []byte
func (*OutboundMessage) GetPayloads ¶
func (m *OutboundMessage) GetPayloads() [][]byte
func (*OutboundMessage) GetSignatures ¶
func (m *OutboundMessage) GetSignatures() [][]byte
func (*OutboundMessage) GoString ¶
func (this *OutboundMessage) GoString() string
func (*OutboundMessage) Marshal ¶
func (m *OutboundMessage) Marshal() (dAtA []byte, err error)
func (*OutboundMessage) ProtoMessage ¶
func (*OutboundMessage) ProtoMessage()
func (*OutboundMessage) Reset ¶
func (m *OutboundMessage) Reset()
func (*OutboundMessage) Size ¶
func (m *OutboundMessage) Size() (n int)
func (*OutboundMessage) String ¶
func (this *OutboundMessage) String() string
func (*OutboundMessage) Unmarshal ¶
func (m *OutboundMessage) Unmarshal(dAtA []byte) error
func (*OutboundMessage) XXX_DiscardUnknown ¶
func (m *OutboundMessage) XXX_DiscardUnknown()
func (*OutboundMessage) XXX_Marshal ¶
func (m *OutboundMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutboundMessage) XXX_Merge ¶
func (dst *OutboundMessage) XXX_Merge(src proto.Message)
func (*OutboundMessage) XXX_Size ¶
func (m *OutboundMessage) XXX_Size() int
func (*OutboundMessage) XXX_Unmarshal ¶
func (m *OutboundMessage) XXX_Unmarshal(b []byte) error
type Payload ¶
type Payload struct { Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PayloadType" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func NewPopulatedPayload ¶
func (*Payload) Descriptor ¶
func (*Payload) GetType ¶
func (m *Payload) GetType() PayloadType
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
type PayloadType ¶
type PayloadType int32
const ( COINBASE_TYPE PayloadType = 0 TRANSFER_ASSET_TYPE PayloadType = 1 SIG_CHAIN_TXN_TYPE PayloadType = 2 REGISTER_NAME_TYPE PayloadType = 3 TRANSFER_NAME_TYPE PayloadType = 4 DELETE_NAME_TYPE PayloadType = 5 SUBSCRIBE_TYPE PayloadType = 6 UNSUBSCRIBE_TYPE PayloadType = 7 GENERATE_ID_TYPE PayloadType = 8 NANO_PAY_TYPE PayloadType = 9 ISSUE_ASSET_TYPE PayloadType = 10 )
func (PayloadType) EnumDescriptor ¶
func (PayloadType) EnumDescriptor() ([]byte, []int)
func (PayloadType) String ¶
func (x PayloadType) String() string
type PinSignatureChain ¶
type PinSignatureChain struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
func NewPopulatedPinSignatureChain ¶
func NewPopulatedPinSignatureChain(r randyNodemessage, easy bool) *PinSignatureChain
func (*PinSignatureChain) Descriptor ¶
func (*PinSignatureChain) Descriptor() ([]byte, []int)
func (*PinSignatureChain) Equal ¶
func (this *PinSignatureChain) Equal(that interface{}) bool
func (*PinSignatureChain) GetHash ¶
func (m *PinSignatureChain) GetHash() []byte
func (*PinSignatureChain) GoString ¶
func (this *PinSignatureChain) GoString() string
func (*PinSignatureChain) Marshal ¶
func (m *PinSignatureChain) Marshal() (dAtA []byte, err error)
func (*PinSignatureChain) MarshalTo ¶
func (m *PinSignatureChain) MarshalTo(dAtA []byte) (int, error)
func (*PinSignatureChain) ProtoMessage ¶
func (*PinSignatureChain) ProtoMessage()
func (*PinSignatureChain) Reset ¶
func (m *PinSignatureChain) Reset()
func (*PinSignatureChain) Size ¶
func (m *PinSignatureChain) Size() (n int)
func (*PinSignatureChain) String ¶
func (this *PinSignatureChain) String() string
func (*PinSignatureChain) Unmarshal ¶
func (m *PinSignatureChain) Unmarshal(dAtA []byte) error
func (*PinSignatureChain) XXX_DiscardUnknown ¶
func (m *PinSignatureChain) XXX_DiscardUnknown()
func (*PinSignatureChain) XXX_Marshal ¶
func (m *PinSignatureChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PinSignatureChain) XXX_Merge ¶
func (dst *PinSignatureChain) XXX_Merge(src proto.Message)
func (*PinSignatureChain) XXX_Size ¶
func (m *PinSignatureChain) XXX_Size() int
func (*PinSignatureChain) XXX_Unmarshal ¶
func (m *PinSignatureChain) XXX_Unmarshal(b []byte) error
type Program ¶
type Program struct { Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Parameter []byte `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` }
func NewPopulatedProgram ¶
func (*Program) Descriptor ¶
func (*Program) Deserialize ¶
Deserialize the Program
func (*Program) GetParameter ¶
func (*Program) MarshalJson ¶
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) UnmarshalJson ¶
func (*Program) XXX_DiscardUnknown ¶
func (m *Program) XXX_DiscardUnknown()
func (*Program) XXX_Marshal ¶
func (*Program) XXX_Unmarshal ¶
type Receipt ¶
type Receipt struct { PrevHash []byte `protobuf:"bytes,1,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func NewPopulatedReceipt ¶
func (*Receipt) Descriptor ¶
func (*Receipt) GetPrevHash ¶
func (*Receipt) GetSignature ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type RegisterName ¶
type RegisterName struct { Registrant []byte `protobuf:"bytes,1,opt,name=registrant,proto3" json:"registrant,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RegistrationFee int64 `protobuf:"varint,3,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"` }
func NewPopulatedRegisterName ¶
func NewPopulatedRegisterName(r randyTransaction, easy bool) *RegisterName
func (*RegisterName) Descriptor ¶
func (*RegisterName) Descriptor() ([]byte, []int)
func (*RegisterName) Equal ¶
func (this *RegisterName) Equal(that interface{}) bool
func (*RegisterName) GetName ¶
func (m *RegisterName) GetName() string
func (*RegisterName) GetRegistrant ¶
func (m *RegisterName) GetRegistrant() []byte
func (*RegisterName) GetRegistrationFee ¶
func (m *RegisterName) GetRegistrationFee() int64
func (*RegisterName) GoString ¶
func (this *RegisterName) GoString() string
func (*RegisterName) Marshal ¶
func (m *RegisterName) Marshal() (dAtA []byte, err error)
func (*RegisterName) ProtoMessage ¶
func (*RegisterName) ProtoMessage()
func (*RegisterName) Reset ¶
func (m *RegisterName) Reset()
func (*RegisterName) Size ¶
func (m *RegisterName) Size() (n int)
func (*RegisterName) String ¶
func (this *RegisterName) String() string
func (*RegisterName) ToMap ¶
func (m *RegisterName) ToMap() map[string]interface{}
func (*RegisterName) Unmarshal ¶
func (m *RegisterName) Unmarshal(dAtA []byte) error
func (*RegisterName) XXX_DiscardUnknown ¶
func (m *RegisterName) XXX_DiscardUnknown()
func (*RegisterName) XXX_Marshal ¶
func (m *RegisterName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterName) XXX_Merge ¶
func (dst *RegisterName) XXX_Merge(src proto.Message)
func (*RegisterName) XXX_Size ¶
func (m *RegisterName) XXX_Size() int
func (*RegisterName) XXX_Unmarshal ¶
func (m *RegisterName) XXX_Unmarshal(b []byte) error
type Relay ¶
type Relay struct { SrcIdentifier string `protobuf:"bytes,1,opt,name=src_identifier,json=srcIdentifier,proto3" json:"src_identifier,omitempty"` SrcPubkey []byte `protobuf:"bytes,6,opt,name=src_pubkey,json=srcPubkey,proto3" json:"src_pubkey,omitempty"` DestId []byte `protobuf:"bytes,2,opt,name=dest_id,json=destId,proto3" json:"dest_id,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` MaxHoldingSeconds uint32 `protobuf:"varint,5,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"` // It is important to use block hash instead of block height here to allow // node in syncing state to be able to sign the sigchain elem. BlockHash []byte `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` LastHash []byte `protobuf:"bytes,8,opt,name=last_hash,json=lastHash,proto3" json:"last_hash,omitempty"` SigChainLen uint32 `protobuf:"varint,9,opt,name=sig_chain_len,json=sigChainLen,proto3" json:"sig_chain_len,omitempty"` }
func NewPopulatedRelay ¶
func (*Relay) Descriptor ¶
func (*Relay) GetBlockHash ¶
func (*Relay) GetLastHash ¶
func (*Relay) GetMaxHoldingSeconds ¶
func (*Relay) GetPayload ¶
func (*Relay) GetSigChainLen ¶
func (*Relay) GetSrcIdentifier ¶
func (*Relay) GetSrcPubkey ¶
func (*Relay) ProtoMessage ¶
func (*Relay) ProtoMessage()
func (*Relay) XXX_DiscardUnknown ¶
func (m *Relay) XXX_DiscardUnknown()
func (*Relay) XXX_Marshal ¶
func (*Relay) XXX_Unmarshal ¶
type RequestBlockProposal ¶
type RequestBlockProposal struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Type RequestTransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.RequestTransactionType" json:"type,omitempty"` ShortHashSalt []byte `protobuf:"bytes,3,opt,name=short_hash_salt,json=shortHashSalt,proto3" json:"short_hash_salt,omitempty"` ShortHashSize uint32 `protobuf:"varint,4,opt,name=short_hash_size,json=shortHashSize,proto3" json:"short_hash_size,omitempty"` }
func NewPopulatedRequestBlockProposal ¶
func NewPopulatedRequestBlockProposal(r randyNodemessage, easy bool) *RequestBlockProposal
func (*RequestBlockProposal) Descriptor ¶
func (*RequestBlockProposal) Descriptor() ([]byte, []int)
func (*RequestBlockProposal) Equal ¶
func (this *RequestBlockProposal) Equal(that interface{}) bool
func (*RequestBlockProposal) GetBlockHash ¶
func (m *RequestBlockProposal) GetBlockHash() []byte
func (*RequestBlockProposal) GetShortHashSalt ¶
func (m *RequestBlockProposal) GetShortHashSalt() []byte
func (*RequestBlockProposal) GetShortHashSize ¶
func (m *RequestBlockProposal) GetShortHashSize() uint32
func (*RequestBlockProposal) GetType ¶
func (m *RequestBlockProposal) GetType() RequestTransactionType
func (*RequestBlockProposal) GoString ¶
func (this *RequestBlockProposal) GoString() string
func (*RequestBlockProposal) Marshal ¶
func (m *RequestBlockProposal) Marshal() (dAtA []byte, err error)
func (*RequestBlockProposal) MarshalTo ¶
func (m *RequestBlockProposal) MarshalTo(dAtA []byte) (int, error)
func (*RequestBlockProposal) ProtoMessage ¶
func (*RequestBlockProposal) ProtoMessage()
func (*RequestBlockProposal) Reset ¶
func (m *RequestBlockProposal) Reset()
func (*RequestBlockProposal) Size ¶
func (m *RequestBlockProposal) Size() (n int)
func (*RequestBlockProposal) String ¶
func (this *RequestBlockProposal) String() string
func (*RequestBlockProposal) Unmarshal ¶
func (m *RequestBlockProposal) Unmarshal(dAtA []byte) error
func (*RequestBlockProposal) XXX_DiscardUnknown ¶
func (m *RequestBlockProposal) XXX_DiscardUnknown()
func (*RequestBlockProposal) XXX_Marshal ¶
func (m *RequestBlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestBlockProposal) XXX_Merge ¶
func (dst *RequestBlockProposal) XXX_Merge(src proto.Message)
func (*RequestBlockProposal) XXX_Size ¶
func (m *RequestBlockProposal) XXX_Size() int
func (*RequestBlockProposal) XXX_Unmarshal ¶
func (m *RequestBlockProposal) XXX_Unmarshal(b []byte) error
type RequestBlockProposalReply ¶
type RequestBlockProposalReply struct { Block *Block `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"` TransactionsHash [][]byte `protobuf:"bytes,2,rep,name=transactions_hash,json=transactionsHash" json:"transactions_hash,omitempty"` }
func NewPopulatedRequestBlockProposalReply ¶
func NewPopulatedRequestBlockProposalReply(r randyNodemessage, easy bool) *RequestBlockProposalReply
func (*RequestBlockProposalReply) Descriptor ¶
func (*RequestBlockProposalReply) Descriptor() ([]byte, []int)
func (*RequestBlockProposalReply) Equal ¶
func (this *RequestBlockProposalReply) Equal(that interface{}) bool
func (*RequestBlockProposalReply) GetBlock ¶
func (m *RequestBlockProposalReply) GetBlock() *Block
func (*RequestBlockProposalReply) GetTransactionsHash ¶
func (m *RequestBlockProposalReply) GetTransactionsHash() [][]byte
func (*RequestBlockProposalReply) GoString ¶
func (this *RequestBlockProposalReply) GoString() string
func (*RequestBlockProposalReply) Marshal ¶
func (m *RequestBlockProposalReply) Marshal() (dAtA []byte, err error)
func (*RequestBlockProposalReply) MarshalTo ¶
func (m *RequestBlockProposalReply) MarshalTo(dAtA []byte) (int, error)
func (*RequestBlockProposalReply) ProtoMessage ¶
func (*RequestBlockProposalReply) ProtoMessage()
func (*RequestBlockProposalReply) Reset ¶
func (m *RequestBlockProposalReply) Reset()
func (*RequestBlockProposalReply) Size ¶
func (m *RequestBlockProposalReply) Size() (n int)
func (*RequestBlockProposalReply) String ¶
func (this *RequestBlockProposalReply) String() string
func (*RequestBlockProposalReply) Unmarshal ¶
func (m *RequestBlockProposalReply) Unmarshal(dAtA []byte) error
func (*RequestBlockProposalReply) XXX_DiscardUnknown ¶
func (m *RequestBlockProposalReply) XXX_DiscardUnknown()
func (*RequestBlockProposalReply) XXX_Marshal ¶
func (m *RequestBlockProposalReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestBlockProposalReply) XXX_Merge ¶
func (dst *RequestBlockProposalReply) XXX_Merge(src proto.Message)
func (*RequestBlockProposalReply) XXX_Size ¶
func (m *RequestBlockProposalReply) XXX_Size() int
func (*RequestBlockProposalReply) XXX_Unmarshal ¶
func (m *RequestBlockProposalReply) XXX_Unmarshal(b []byte) error
type RequestProposalTransactions ¶
type RequestProposalTransactions struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Type RequestTransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.RequestTransactionType" json:"type,omitempty"` ShortHashSalt []byte `protobuf:"bytes,3,opt,name=short_hash_salt,json=shortHashSalt,proto3" json:"short_hash_salt,omitempty"` ShortHashSize uint32 `protobuf:"varint,4,opt,name=short_hash_size,json=shortHashSize,proto3" json:"short_hash_size,omitempty"` TransactionsHash [][]byte `protobuf:"bytes,5,rep,name=transactions_hash,json=transactionsHash" json:"transactions_hash,omitempty"` }
func NewPopulatedRequestProposalTransactions ¶
func NewPopulatedRequestProposalTransactions(r randyNodemessage, easy bool) *RequestProposalTransactions
func (*RequestProposalTransactions) Descriptor ¶
func (*RequestProposalTransactions) Descriptor() ([]byte, []int)
func (*RequestProposalTransactions) Equal ¶
func (this *RequestProposalTransactions) Equal(that interface{}) bool
func (*RequestProposalTransactions) GetBlockHash ¶
func (m *RequestProposalTransactions) GetBlockHash() []byte
func (*RequestProposalTransactions) GetShortHashSalt ¶
func (m *RequestProposalTransactions) GetShortHashSalt() []byte
func (*RequestProposalTransactions) GetShortHashSize ¶
func (m *RequestProposalTransactions) GetShortHashSize() uint32
func (*RequestProposalTransactions) GetTransactionsHash ¶
func (m *RequestProposalTransactions) GetTransactionsHash() [][]byte
func (*RequestProposalTransactions) GetType ¶
func (m *RequestProposalTransactions) GetType() RequestTransactionType
func (*RequestProposalTransactions) GoString ¶
func (this *RequestProposalTransactions) GoString() string
func (*RequestProposalTransactions) Marshal ¶
func (m *RequestProposalTransactions) Marshal() (dAtA []byte, err error)
func (*RequestProposalTransactions) MarshalTo ¶
func (m *RequestProposalTransactions) MarshalTo(dAtA []byte) (int, error)
func (*RequestProposalTransactions) ProtoMessage ¶
func (*RequestProposalTransactions) ProtoMessage()
func (*RequestProposalTransactions) Reset ¶
func (m *RequestProposalTransactions) Reset()
func (*RequestProposalTransactions) Size ¶
func (m *RequestProposalTransactions) Size() (n int)
func (*RequestProposalTransactions) String ¶
func (this *RequestProposalTransactions) String() string
func (*RequestProposalTransactions) Unmarshal ¶
func (m *RequestProposalTransactions) Unmarshal(dAtA []byte) error
func (*RequestProposalTransactions) XXX_DiscardUnknown ¶
func (m *RequestProposalTransactions) XXX_DiscardUnknown()
func (*RequestProposalTransactions) XXX_Marshal ¶
func (m *RequestProposalTransactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestProposalTransactions) XXX_Merge ¶
func (dst *RequestProposalTransactions) XXX_Merge(src proto.Message)
func (*RequestProposalTransactions) XXX_Size ¶
func (m *RequestProposalTransactions) XXX_Size() int
func (*RequestProposalTransactions) XXX_Unmarshal ¶
func (m *RequestProposalTransactions) XXX_Unmarshal(b []byte) error
type RequestProposalTransactionsReply ¶
type RequestProposalTransactionsReply struct {
Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions" json:"transactions,omitempty"`
}
func NewPopulatedRequestProposalTransactionsReply ¶
func NewPopulatedRequestProposalTransactionsReply(r randyNodemessage, easy bool) *RequestProposalTransactionsReply
func (*RequestProposalTransactionsReply) Descriptor ¶
func (*RequestProposalTransactionsReply) Descriptor() ([]byte, []int)
func (*RequestProposalTransactionsReply) Equal ¶
func (this *RequestProposalTransactionsReply) Equal(that interface{}) bool
func (*RequestProposalTransactionsReply) GetTransactions ¶
func (m *RequestProposalTransactionsReply) GetTransactions() []*Transaction
func (*RequestProposalTransactionsReply) GoString ¶
func (this *RequestProposalTransactionsReply) GoString() string
func (*RequestProposalTransactionsReply) Marshal ¶
func (m *RequestProposalTransactionsReply) Marshal() (dAtA []byte, err error)
func (*RequestProposalTransactionsReply) MarshalTo ¶
func (m *RequestProposalTransactionsReply) MarshalTo(dAtA []byte) (int, error)
func (*RequestProposalTransactionsReply) ProtoMessage ¶
func (*RequestProposalTransactionsReply) ProtoMessage()
func (*RequestProposalTransactionsReply) Reset ¶
func (m *RequestProposalTransactionsReply) Reset()
func (*RequestProposalTransactionsReply) Size ¶
func (m *RequestProposalTransactionsReply) Size() (n int)
func (*RequestProposalTransactionsReply) String ¶
func (this *RequestProposalTransactionsReply) String() string
func (*RequestProposalTransactionsReply) Unmarshal ¶
func (m *RequestProposalTransactionsReply) Unmarshal(dAtA []byte) error
func (*RequestProposalTransactionsReply) XXX_DiscardUnknown ¶
func (m *RequestProposalTransactionsReply) XXX_DiscardUnknown()
func (*RequestProposalTransactionsReply) XXX_Marshal ¶
func (m *RequestProposalTransactionsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestProposalTransactionsReply) XXX_Merge ¶
func (dst *RequestProposalTransactionsReply) XXX_Merge(src proto.Message)
func (*RequestProposalTransactionsReply) XXX_Size ¶
func (m *RequestProposalTransactionsReply) XXX_Size() int
func (*RequestProposalTransactionsReply) XXX_Unmarshal ¶
func (m *RequestProposalTransactionsReply) XXX_Unmarshal(b []byte) error
type RequestSignatureChainTransaction ¶
type RequestSignatureChainTransaction struct {
SignatureHash []byte `protobuf:"bytes,1,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"`
}
func NewPopulatedRequestSignatureChainTransaction ¶
func NewPopulatedRequestSignatureChainTransaction(r randyNodemessage, easy bool) *RequestSignatureChainTransaction
func (*RequestSignatureChainTransaction) Descriptor ¶
func (*RequestSignatureChainTransaction) Descriptor() ([]byte, []int)
func (*RequestSignatureChainTransaction) Equal ¶
func (this *RequestSignatureChainTransaction) Equal(that interface{}) bool
func (*RequestSignatureChainTransaction) GetSignatureHash ¶
func (m *RequestSignatureChainTransaction) GetSignatureHash() []byte
func (*RequestSignatureChainTransaction) GoString ¶
func (this *RequestSignatureChainTransaction) GoString() string
func (*RequestSignatureChainTransaction) Marshal ¶
func (m *RequestSignatureChainTransaction) Marshal() (dAtA []byte, err error)
func (*RequestSignatureChainTransaction) MarshalTo ¶
func (m *RequestSignatureChainTransaction) MarshalTo(dAtA []byte) (int, error)
func (*RequestSignatureChainTransaction) ProtoMessage ¶
func (*RequestSignatureChainTransaction) ProtoMessage()
func (*RequestSignatureChainTransaction) Reset ¶
func (m *RequestSignatureChainTransaction) Reset()
func (*RequestSignatureChainTransaction) Size ¶
func (m *RequestSignatureChainTransaction) Size() (n int)
func (*RequestSignatureChainTransaction) String ¶
func (this *RequestSignatureChainTransaction) String() string
func (*RequestSignatureChainTransaction) Unmarshal ¶
func (m *RequestSignatureChainTransaction) Unmarshal(dAtA []byte) error
func (*RequestSignatureChainTransaction) XXX_DiscardUnknown ¶
func (m *RequestSignatureChainTransaction) XXX_DiscardUnknown()
func (*RequestSignatureChainTransaction) XXX_Marshal ¶
func (m *RequestSignatureChainTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestSignatureChainTransaction) XXX_Merge ¶
func (dst *RequestSignatureChainTransaction) XXX_Merge(src proto.Message)
func (*RequestSignatureChainTransaction) XXX_Size ¶
func (m *RequestSignatureChainTransaction) XXX_Size() int
func (*RequestSignatureChainTransaction) XXX_Unmarshal ¶
func (m *RequestSignatureChainTransaction) XXX_Unmarshal(b []byte) error
type RequestSignatureChainTransactionReply ¶
type RequestSignatureChainTransactionReply struct {
Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"`
}
func NewPopulatedRequestSignatureChainTransactionReply ¶
func NewPopulatedRequestSignatureChainTransactionReply(r randyNodemessage, easy bool) *RequestSignatureChainTransactionReply
func (*RequestSignatureChainTransactionReply) Descriptor ¶
func (*RequestSignatureChainTransactionReply) Descriptor() ([]byte, []int)
func (*RequestSignatureChainTransactionReply) Equal ¶
func (this *RequestSignatureChainTransactionReply) Equal(that interface{}) bool
func (*RequestSignatureChainTransactionReply) GetTransaction ¶
func (m *RequestSignatureChainTransactionReply) GetTransaction() *Transaction
func (*RequestSignatureChainTransactionReply) GoString ¶
func (this *RequestSignatureChainTransactionReply) GoString() string
func (*RequestSignatureChainTransactionReply) Marshal ¶
func (m *RequestSignatureChainTransactionReply) Marshal() (dAtA []byte, err error)
func (*RequestSignatureChainTransactionReply) MarshalTo ¶
func (m *RequestSignatureChainTransactionReply) MarshalTo(dAtA []byte) (int, error)
func (*RequestSignatureChainTransactionReply) ProtoMessage ¶
func (*RequestSignatureChainTransactionReply) ProtoMessage()
func (*RequestSignatureChainTransactionReply) Reset ¶
func (m *RequestSignatureChainTransactionReply) Reset()
func (*RequestSignatureChainTransactionReply) Size ¶
func (m *RequestSignatureChainTransactionReply) Size() (n int)
func (*RequestSignatureChainTransactionReply) String ¶
func (this *RequestSignatureChainTransactionReply) String() string
func (*RequestSignatureChainTransactionReply) Unmarshal ¶
func (m *RequestSignatureChainTransactionReply) Unmarshal(dAtA []byte) error
func (*RequestSignatureChainTransactionReply) XXX_DiscardUnknown ¶
func (m *RequestSignatureChainTransactionReply) XXX_DiscardUnknown()
func (*RequestSignatureChainTransactionReply) XXX_Marshal ¶
func (m *RequestSignatureChainTransactionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestSignatureChainTransactionReply) XXX_Merge ¶
func (dst *RequestSignatureChainTransactionReply) XXX_Merge(src proto.Message)
func (*RequestSignatureChainTransactionReply) XXX_Size ¶
func (m *RequestSignatureChainTransactionReply) XXX_Size() int
func (*RequestSignatureChainTransactionReply) XXX_Unmarshal ¶
func (m *RequestSignatureChainTransactionReply) XXX_Unmarshal(b []byte) error
type RequestTransactionType ¶
type RequestTransactionType int32
const ( REQUEST_FULL_TRANSACTION RequestTransactionType = 0 REQUEST_TRANSACTION_HASH RequestTransactionType = 1 REQUEST_TRANSACTION_SHORT_HASH RequestTransactionType = 2 )
func (RequestTransactionType) EnumDescriptor ¶
func (RequestTransactionType) EnumDescriptor() ([]byte, []int)
func (RequestTransactionType) String ¶
func (x RequestTransactionType) String() string
type SigChain ¶
type SigChain struct { Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` DataSize uint32 `protobuf:"varint,2,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` SrcId []byte `protobuf:"bytes,4,opt,name=src_id,json=srcId,proto3" json:"src_id,omitempty"` SrcPubkey []byte `protobuf:"bytes,5,opt,name=src_pubkey,json=srcPubkey,proto3" json:"src_pubkey,omitempty"` DestId []byte `protobuf:"bytes,6,opt,name=dest_id,json=destId,proto3" json:"dest_id,omitempty"` DestPubkey []byte `protobuf:"bytes,7,opt,name=dest_pubkey,json=destPubkey,proto3" json:"dest_pubkey,omitempty"` Elems []*SigChainElem `protobuf:"bytes,8,rep,name=elems" json:"elems,omitempty"` }
func NewPopulatedSigChain ¶
func NewSigChain ¶
func (*SigChain) Descriptor ¶
func (*SigChain) GetBlockHash ¶
func (*SigChain) GetDataSize ¶
func (*SigChain) GetDestPubkey ¶
func (*SigChain) GetElems ¶
func (m *SigChain) GetElems() []*SigChainElem
func (*SigChain) GetSrcPubkey ¶
func (*SigChain) IsComplete ¶
func (*SigChain) LastRelayHash ¶
func (*SigChain) ProtoMessage ¶
func (*SigChain) ProtoMessage()
func (*SigChain) SerializationMetadata ¶
func (*SigChain) SignatureHash ¶
func (*SigChain) VerifyMeta ¶
func (*SigChain) VerifyPath ¶
func (*SigChain) VerifySignatures ¶
VerifySignatures returns whether all signatures in sigchain are valid
func (*SigChain) XXX_DiscardUnknown ¶
func (m *SigChain) XXX_DiscardUnknown()
func (*SigChain) XXX_Marshal ¶
func (*SigChain) XXX_Unmarshal ¶
type SigChainElem ¶
type SigChainElem struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NextPubkey []byte `protobuf:"bytes,2,opt,name=next_pubkey,json=nextPubkey,proto3" json:"next_pubkey,omitempty"` Mining bool `protobuf:"varint,3,opt,name=mining,proto3" json:"mining,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` SigAlgo SigAlgo `protobuf:"varint,5,opt,name=sig_algo,json=sigAlgo,proto3,enum=pb.SigAlgo" json:"sig_algo,omitempty"` Vrf []byte `protobuf:"bytes,6,opt,name=vrf,proto3" json:"vrf,omitempty"` Proof []byte `protobuf:"bytes,7,opt,name=proof,proto3" json:"proof,omitempty"` }
func NewPopulatedSigChainElem ¶
func NewPopulatedSigChainElem(r randySigchain, easy bool) *SigChainElem
func NewSigChainElem ¶
func NewSigChainElem(id, nextPubkey, signature, vrf, proof []byte, mining bool, sigAlgo SigAlgo) *SigChainElem
func (*SigChainElem) Descriptor ¶
func (*SigChainElem) Descriptor() ([]byte, []int)
func (*SigChainElem) Equal ¶
func (this *SigChainElem) Equal(that interface{}) bool
func (*SigChainElem) GetId ¶
func (m *SigChainElem) GetId() []byte
func (*SigChainElem) GetMining ¶
func (m *SigChainElem) GetMining() bool
func (*SigChainElem) GetNextPubkey ¶
func (m *SigChainElem) GetNextPubkey() []byte
func (*SigChainElem) GetProof ¶
func (m *SigChainElem) GetProof() []byte
func (*SigChainElem) GetSigAlgo ¶
func (m *SigChainElem) GetSigAlgo() SigAlgo
func (*SigChainElem) GetSignature ¶
func (m *SigChainElem) GetSignature() []byte
func (*SigChainElem) GetVrf ¶
func (m *SigChainElem) GetVrf() []byte
func (*SigChainElem) GoString ¶
func (this *SigChainElem) GoString() string
func (*SigChainElem) Marshal ¶
func (m *SigChainElem) Marshal() (dAtA []byte, err error)
func (*SigChainElem) ProtoMessage ¶
func (*SigChainElem) ProtoMessage()
func (*SigChainElem) Reset ¶
func (m *SigChainElem) Reset()
func (*SigChainElem) SerializationUnsigned ¶
func (sce *SigChainElem) SerializationUnsigned(w io.Writer) error
func (*SigChainElem) Size ¶
func (m *SigChainElem) Size() (n int)
func (*SigChainElem) String ¶
func (this *SigChainElem) String() string
func (*SigChainElem) ToMap ¶
func (sce *SigChainElem) ToMap() map[string]interface{}
func (*SigChainElem) Unmarshal ¶
func (m *SigChainElem) Unmarshal(dAtA []byte) error
func (*SigChainElem) XXX_DiscardUnknown ¶
func (m *SigChainElem) XXX_DiscardUnknown()
func (*SigChainElem) XXX_Marshal ¶
func (m *SigChainElem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigChainElem) XXX_Merge ¶
func (dst *SigChainElem) XXX_Merge(src proto.Message)
func (*SigChainElem) XXX_Size ¶
func (m *SigChainElem) XXX_Size() int
func (*SigChainElem) XXX_Unmarshal ¶
func (m *SigChainElem) XXX_Unmarshal(b []byte) error
type SigChainTxn ¶
type SigChainTxn struct { SigChain []byte `protobuf:"bytes,1,opt,name=sig_chain,json=sigChain,proto3" json:"sig_chain,omitempty"` Submitter []byte `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"` }
func NewPopulatedSigChainTxn ¶
func NewPopulatedSigChainTxn(r randyTransaction, easy bool) *SigChainTxn
func (*SigChainTxn) Descriptor ¶
func (*SigChainTxn) Descriptor() ([]byte, []int)
func (*SigChainTxn) Equal ¶
func (this *SigChainTxn) Equal(that interface{}) bool
func (*SigChainTxn) GetSigChain ¶
func (m *SigChainTxn) GetSigChain() []byte
func (*SigChainTxn) GetSubmitter ¶
func (m *SigChainTxn) GetSubmitter() []byte
func (*SigChainTxn) GoString ¶
func (this *SigChainTxn) GoString() string
func (*SigChainTxn) Marshal ¶
func (m *SigChainTxn) Marshal() (dAtA []byte, err error)
func (*SigChainTxn) ProtoMessage ¶
func (*SigChainTxn) ProtoMessage()
func (*SigChainTxn) Reset ¶
func (m *SigChainTxn) Reset()
func (*SigChainTxn) Size ¶
func (m *SigChainTxn) Size() (n int)
func (*SigChainTxn) String ¶
func (this *SigChainTxn) String() string
func (*SigChainTxn) ToMap ¶
func (m *SigChainTxn) ToMap() map[string]interface{}
func (*SigChainTxn) Unmarshal ¶
func (m *SigChainTxn) Unmarshal(dAtA []byte) error
func (*SigChainTxn) XXX_DiscardUnknown ¶
func (m *SigChainTxn) XXX_DiscardUnknown()
func (*SigChainTxn) XXX_Marshal ¶
func (m *SigChainTxn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigChainTxn) XXX_Merge ¶
func (dst *SigChainTxn) XXX_Merge(src proto.Message)
func (*SigChainTxn) XXX_Size ¶
func (m *SigChainTxn) XXX_Size() int
func (*SigChainTxn) XXX_Unmarshal ¶
func (m *SigChainTxn) XXX_Unmarshal(b []byte) error
type SignedMessage ¶
type SignedMessage struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func NewPopulatedSignedMessage ¶
func NewPopulatedSignedMessage(r randyNodemessage, easy bool) *SignedMessage
func (*SignedMessage) Descriptor ¶
func (*SignedMessage) Descriptor() ([]byte, []int)
func (*SignedMessage) Equal ¶
func (this *SignedMessage) Equal(that interface{}) bool
func (*SignedMessage) GetMessage ¶
func (m *SignedMessage) GetMessage() []byte
func (*SignedMessage) GetSignature ¶
func (m *SignedMessage) GetSignature() []byte
func (*SignedMessage) GoString ¶
func (this *SignedMessage) GoString() string
func (*SignedMessage) Marshal ¶
func (m *SignedMessage) Marshal() (dAtA []byte, err error)
func (*SignedMessage) ProtoMessage ¶
func (*SignedMessage) ProtoMessage()
func (*SignedMessage) Reset ¶
func (m *SignedMessage) Reset()
func (*SignedMessage) Size ¶
func (m *SignedMessage) Size() (n int)
func (*SignedMessage) String ¶
func (this *SignedMessage) String() string
func (*SignedMessage) Unmarshal ¶
func (m *SignedMessage) Unmarshal(dAtA []byte) error
func (*SignedMessage) XXX_DiscardUnknown ¶
func (m *SignedMessage) XXX_DiscardUnknown()
func (*SignedMessage) XXX_Marshal ¶
func (m *SignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedMessage) XXX_Merge ¶
func (dst *SignedMessage) XXX_Merge(src proto.Message)
func (*SignedMessage) XXX_Size ¶
func (m *SignedMessage) XXX_Size() int
func (*SignedMessage) XXX_Unmarshal ¶
func (m *SignedMessage) XXX_Unmarshal(b []byte) error
type Subscribe ¶
type Subscribe struct { Subscriber []byte `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Bucket uint32 `protobuf:"varint,4,opt,name=bucket,proto3" json:"bucket,omitempty"` // Deprecated: Do not use. Duration uint32 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"` Meta string `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"` }
func NewPopulatedSubscribe ¶
func (*Subscribe) Descriptor ¶
func (*Subscribe) GetDuration ¶
func (*Subscribe) GetIdentifier ¶
func (*Subscribe) GetSubscriber ¶
func (*Subscribe) ProtoMessage ¶
func (*Subscribe) ProtoMessage()
func (*Subscribe) XXX_DiscardUnknown ¶
func (m *Subscribe) XXX_DiscardUnknown()
func (*Subscribe) XXX_Marshal ¶
func (*Subscribe) XXX_Unmarshal ¶
type Transaction ¶
type Transaction struct { UnsignedTx *UnsignedTx `protobuf:"bytes,1,opt,name=unsigned_tx,json=unsignedTx" json:"unsigned_tx,omitempty"` Programs []*Program `protobuf:"bytes,2,rep,name=programs" json:"programs,omitempty"` }
func NewPopulatedTransaction ¶
func NewPopulatedTransaction(r randyTransaction, easy bool) *Transaction
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) Equal ¶
func (this *Transaction) Equal(that interface{}) bool
func (*Transaction) GetPrograms ¶
func (m *Transaction) GetPrograms() []*Program
func (*Transaction) GetUnsignedTx ¶
func (m *Transaction) GetUnsignedTx() *UnsignedTx
func (*Transaction) GoString ¶
func (this *Transaction) GoString() string
func (*Transaction) Marshal ¶
func (m *Transaction) Marshal() (dAtA []byte, err error)
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) Size ¶
func (m *Transaction) Size() (n int)
func (*Transaction) String ¶
func (this *Transaction) String() string
func (*Transaction) Unmarshal ¶
func (m *Transaction) Unmarshal(dAtA []byte) error
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (dst *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type Transactions ¶
type Transactions struct {
Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions" json:"transactions,omitempty"`
}
func NewPopulatedTransactions ¶
func NewPopulatedTransactions(r randyNodemessage, easy bool) *Transactions
func (*Transactions) Descriptor ¶
func (*Transactions) Descriptor() ([]byte, []int)
func (*Transactions) Equal ¶
func (this *Transactions) Equal(that interface{}) bool
func (*Transactions) GetTransactions ¶
func (m *Transactions) GetTransactions() []*Transaction
func (*Transactions) GoString ¶
func (this *Transactions) GoString() string
func (*Transactions) Marshal ¶
func (m *Transactions) Marshal() (dAtA []byte, err error)
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) Reset ¶
func (m *Transactions) Reset()
func (*Transactions) Size ¶
func (m *Transactions) Size() (n int)
func (*Transactions) String ¶
func (this *Transactions) String() string
func (*Transactions) Unmarshal ¶
func (m *Transactions) Unmarshal(dAtA []byte) error
func (*Transactions) XXX_DiscardUnknown ¶
func (m *Transactions) XXX_DiscardUnknown()
func (*Transactions) XXX_Marshal ¶
func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transactions) XXX_Merge ¶
func (dst *Transactions) XXX_Merge(src proto.Message)
func (*Transactions) XXX_Size ¶
func (m *Transactions) XXX_Size() int
func (*Transactions) XXX_Unmarshal ¶
func (m *Transactions) XXX_Unmarshal(b []byte) error
type TransferAsset ¶
type TransferAsset struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func NewPopulatedTransferAsset ¶
func NewPopulatedTransferAsset(r randyTransaction, easy bool) *TransferAsset
func (*TransferAsset) Descriptor ¶
func (*TransferAsset) Descriptor() ([]byte, []int)
func (*TransferAsset) Equal ¶
func (this *TransferAsset) Equal(that interface{}) bool
func (*TransferAsset) GetAmount ¶
func (m *TransferAsset) GetAmount() int64
func (*TransferAsset) GetRecipient ¶
func (m *TransferAsset) GetRecipient() []byte
func (*TransferAsset) GetSender ¶
func (m *TransferAsset) GetSender() []byte
func (*TransferAsset) GoString ¶
func (this *TransferAsset) GoString() string
func (*TransferAsset) Marshal ¶
func (m *TransferAsset) Marshal() (dAtA []byte, err error)
func (*TransferAsset) ProtoMessage ¶
func (*TransferAsset) ProtoMessage()
func (*TransferAsset) Reset ¶
func (m *TransferAsset) Reset()
func (*TransferAsset) Size ¶
func (m *TransferAsset) Size() (n int)
func (*TransferAsset) String ¶
func (this *TransferAsset) String() string
func (*TransferAsset) ToMap ¶
func (m *TransferAsset) ToMap() map[string]interface{}
func (*TransferAsset) Unmarshal ¶
func (m *TransferAsset) Unmarshal(dAtA []byte) error
func (*TransferAsset) XXX_DiscardUnknown ¶
func (m *TransferAsset) XXX_DiscardUnknown()
func (*TransferAsset) XXX_Marshal ¶
func (m *TransferAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferAsset) XXX_Merge ¶
func (dst *TransferAsset) XXX_Merge(src proto.Message)
func (*TransferAsset) XXX_Size ¶
func (m *TransferAsset) XXX_Size() int
func (*TransferAsset) XXX_Unmarshal ¶
func (m *TransferAsset) XXX_Unmarshal(b []byte) error
type TransferName ¶
type TransferName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Registrant []byte `protobuf:"bytes,2,opt,name=registrant,proto3" json:"registrant,omitempty"` Recipient []byte `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` }
func NewPopulatedTransferName ¶
func NewPopulatedTransferName(r randyTransaction, easy bool) *TransferName
func (*TransferName) Descriptor ¶
func (*TransferName) Descriptor() ([]byte, []int)
func (*TransferName) Equal ¶
func (this *TransferName) Equal(that interface{}) bool
func (*TransferName) GetName ¶
func (m *TransferName) GetName() string
func (*TransferName) GetRecipient ¶
func (m *TransferName) GetRecipient() []byte
func (*TransferName) GetRegistrant ¶
func (m *TransferName) GetRegistrant() []byte
func (*TransferName) GoString ¶
func (this *TransferName) GoString() string
func (*TransferName) Marshal ¶
func (m *TransferName) Marshal() (dAtA []byte, err error)
func (*TransferName) ProtoMessage ¶
func (*TransferName) ProtoMessage()
func (*TransferName) Reset ¶
func (m *TransferName) Reset()
func (*TransferName) Size ¶
func (m *TransferName) Size() (n int)
func (*TransferName) String ¶
func (this *TransferName) String() string
func (*TransferName) Unmarshal ¶
func (m *TransferName) Unmarshal(dAtA []byte) error
func (*TransferName) XXX_DiscardUnknown ¶
func (m *TransferName) XXX_DiscardUnknown()
func (*TransferName) XXX_Marshal ¶
func (m *TransferName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferName) XXX_Merge ¶
func (dst *TransferName) XXX_Merge(src proto.Message)
func (*TransferName) XXX_Size ¶
func (m *TransferName) XXX_Size() int
func (*TransferName) XXX_Unmarshal ¶
func (m *TransferName) XXX_Unmarshal(b []byte) error
type UnsignedHeader ¶
type UnsignedHeader struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` PrevBlockHash []byte `protobuf:"bytes,2,opt,name=prev_block_hash,json=prevBlockHash,proto3" json:"prev_block_hash,omitempty"` TransactionsRoot []byte `protobuf:"bytes,3,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` RandomBeacon []byte `protobuf:"bytes,7,opt,name=random_beacon,json=randomBeacon,proto3" json:"random_beacon,omitempty"` WinnerHash []byte `protobuf:"bytes,8,opt,name=winner_hash,json=winnerHash,proto3" json:"winner_hash,omitempty"` WinnerType WinnerType `protobuf:"varint,9,opt,name=winner_type,json=winnerType,proto3,enum=pb.WinnerType" json:"winner_type,omitempty"` SignerPk []byte `protobuf:"bytes,10,opt,name=signer_pk,json=signerPk,proto3" json:"signer_pk,omitempty"` SignerId []byte `protobuf:"bytes,11,opt,name=signer_id,json=signerId,proto3" json:"signer_id,omitempty"` }
func NewPopulatedUnsignedHeader ¶
func NewPopulatedUnsignedHeader(r randyBlock, easy bool) *UnsignedHeader
func (*UnsignedHeader) Descriptor ¶
func (*UnsignedHeader) Descriptor() ([]byte, []int)
func (*UnsignedHeader) Equal ¶
func (this *UnsignedHeader) Equal(that interface{}) bool
func (*UnsignedHeader) GetHeight ¶
func (m *UnsignedHeader) GetHeight() uint32
func (*UnsignedHeader) GetPrevBlockHash ¶
func (m *UnsignedHeader) GetPrevBlockHash() []byte
func (*UnsignedHeader) GetRandomBeacon ¶
func (m *UnsignedHeader) GetRandomBeacon() []byte
func (*UnsignedHeader) GetSignerId ¶
func (m *UnsignedHeader) GetSignerId() []byte
func (*UnsignedHeader) GetSignerPk ¶
func (m *UnsignedHeader) GetSignerPk() []byte
func (*UnsignedHeader) GetStateRoot ¶
func (m *UnsignedHeader) GetStateRoot() []byte
func (*UnsignedHeader) GetTimestamp ¶
func (m *UnsignedHeader) GetTimestamp() int64
func (*UnsignedHeader) GetTransactionsRoot ¶
func (m *UnsignedHeader) GetTransactionsRoot() []byte
func (*UnsignedHeader) GetVersion ¶
func (m *UnsignedHeader) GetVersion() uint32
func (*UnsignedHeader) GetWinnerHash ¶
func (m *UnsignedHeader) GetWinnerHash() []byte
func (*UnsignedHeader) GetWinnerType ¶
func (m *UnsignedHeader) GetWinnerType() WinnerType
func (*UnsignedHeader) GoString ¶
func (this *UnsignedHeader) GoString() string
func (*UnsignedHeader) Marshal ¶
func (m *UnsignedHeader) Marshal() (dAtA []byte, err error)
func (*UnsignedHeader) ProtoMessage ¶
func (*UnsignedHeader) ProtoMessage()
func (*UnsignedHeader) Reset ¶
func (m *UnsignedHeader) Reset()
func (*UnsignedHeader) Size ¶
func (m *UnsignedHeader) Size() (n int)
func (*UnsignedHeader) String ¶
func (this *UnsignedHeader) String() string
func (*UnsignedHeader) Unmarshal ¶
func (m *UnsignedHeader) Unmarshal(dAtA []byte) error
func (*UnsignedHeader) XXX_DiscardUnknown ¶
func (m *UnsignedHeader) XXX_DiscardUnknown()
func (*UnsignedHeader) XXX_Marshal ¶
func (m *UnsignedHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnsignedHeader) XXX_Merge ¶
func (dst *UnsignedHeader) XXX_Merge(src proto.Message)
func (*UnsignedHeader) XXX_Size ¶
func (m *UnsignedHeader) XXX_Size() int
func (*UnsignedHeader) XXX_Unmarshal ¶
func (m *UnsignedHeader) XXX_Unmarshal(b []byte) error
type UnsignedMessage ¶
type UnsignedMessage struct { MessageType MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func NewPopulatedUnsignedMessage ¶
func NewPopulatedUnsignedMessage(r randyNodemessage, easy bool) *UnsignedMessage
func (*UnsignedMessage) Descriptor ¶
func (*UnsignedMessage) Descriptor() ([]byte, []int)
func (*UnsignedMessage) Equal ¶
func (this *UnsignedMessage) Equal(that interface{}) bool
func (*UnsignedMessage) GetMessage ¶
func (m *UnsignedMessage) GetMessage() []byte
func (*UnsignedMessage) GetMessageType ¶
func (m *UnsignedMessage) GetMessageType() MessageType
func (*UnsignedMessage) GoString ¶
func (this *UnsignedMessage) GoString() string
func (*UnsignedMessage) Marshal ¶
func (m *UnsignedMessage) Marshal() (dAtA []byte, err error)
func (*UnsignedMessage) ProtoMessage ¶
func (*UnsignedMessage) ProtoMessage()
func (*UnsignedMessage) Reset ¶
func (m *UnsignedMessage) Reset()
func (*UnsignedMessage) Size ¶
func (m *UnsignedMessage) Size() (n int)
func (*UnsignedMessage) String ¶
func (this *UnsignedMessage) String() string
func (*UnsignedMessage) Unmarshal ¶
func (m *UnsignedMessage) Unmarshal(dAtA []byte) error
func (*UnsignedMessage) XXX_DiscardUnknown ¶
func (m *UnsignedMessage) XXX_DiscardUnknown()
func (*UnsignedMessage) XXX_Marshal ¶
func (m *UnsignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnsignedMessage) XXX_Merge ¶
func (dst *UnsignedMessage) XXX_Merge(src proto.Message)
func (*UnsignedMessage) XXX_Size ¶
func (m *UnsignedMessage) XXX_Size() int
func (*UnsignedMessage) XXX_Unmarshal ¶
func (m *UnsignedMessage) XXX_Unmarshal(b []byte) error
type UnsignedTx ¶
type UnsignedTx struct { Payload *Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` Attributes []byte `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` }
func NewPopulatedUnsignedTx ¶
func NewPopulatedUnsignedTx(r randyTransaction, easy bool) *UnsignedTx
func (*UnsignedTx) Descriptor ¶
func (*UnsignedTx) Descriptor() ([]byte, []int)
func (*UnsignedTx) Equal ¶
func (this *UnsignedTx) Equal(that interface{}) bool
func (*UnsignedTx) GetAttributes ¶
func (m *UnsignedTx) GetAttributes() []byte
func (*UnsignedTx) GetFee ¶
func (m *UnsignedTx) GetFee() int64
func (*UnsignedTx) GetNonce ¶
func (m *UnsignedTx) GetNonce() uint64
func (*UnsignedTx) GetPayload ¶
func (m *UnsignedTx) GetPayload() *Payload
func (*UnsignedTx) GoString ¶
func (this *UnsignedTx) GoString() string
func (*UnsignedTx) Marshal ¶
func (m *UnsignedTx) Marshal() (dAtA []byte, err error)
func (*UnsignedTx) ProtoMessage ¶
func (*UnsignedTx) ProtoMessage()
func (*UnsignedTx) Reset ¶
func (m *UnsignedTx) Reset()
func (*UnsignedTx) Size ¶
func (m *UnsignedTx) Size() (n int)
func (*UnsignedTx) String ¶
func (this *UnsignedTx) String() string
func (*UnsignedTx) Unmarshal ¶
func (m *UnsignedTx) Unmarshal(dAtA []byte) error
func (*UnsignedTx) XXX_DiscardUnknown ¶
func (m *UnsignedTx) XXX_DiscardUnknown()
func (*UnsignedTx) XXX_Marshal ¶
func (m *UnsignedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnsignedTx) XXX_Merge ¶
func (dst *UnsignedTx) XXX_Merge(src proto.Message)
func (*UnsignedTx) XXX_Size ¶
func (m *UnsignedTx) XXX_Size() int
func (*UnsignedTx) XXX_Unmarshal ¶
func (m *UnsignedTx) XXX_Unmarshal(b []byte) error
type Unsubscribe ¶
type Unsubscribe struct { Subscriber []byte `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` }
func NewPopulatedUnsubscribe ¶
func NewPopulatedUnsubscribe(r randyTransaction, easy bool) *Unsubscribe
func (*Unsubscribe) Descriptor ¶
func (*Unsubscribe) Descriptor() ([]byte, []int)
func (*Unsubscribe) Equal ¶
func (this *Unsubscribe) Equal(that interface{}) bool
func (*Unsubscribe) GetIdentifier ¶
func (m *Unsubscribe) GetIdentifier() string
func (*Unsubscribe) GetSubscriber ¶
func (m *Unsubscribe) GetSubscriber() []byte
func (*Unsubscribe) GetTopic ¶
func (m *Unsubscribe) GetTopic() string
func (*Unsubscribe) GoString ¶
func (this *Unsubscribe) GoString() string
func (*Unsubscribe) Marshal ¶
func (m *Unsubscribe) Marshal() (dAtA []byte, err error)
func (*Unsubscribe) ProtoMessage ¶
func (*Unsubscribe) ProtoMessage()
func (*Unsubscribe) Reset ¶
func (m *Unsubscribe) Reset()
func (*Unsubscribe) Size ¶
func (m *Unsubscribe) Size() (n int)
func (*Unsubscribe) String ¶
func (this *Unsubscribe) String() string
func (*Unsubscribe) ToMap ¶
func (m *Unsubscribe) ToMap() map[string]interface{}
func (*Unsubscribe) Unmarshal ¶
func (m *Unsubscribe) Unmarshal(dAtA []byte) error
func (*Unsubscribe) XXX_DiscardUnknown ¶
func (m *Unsubscribe) XXX_DiscardUnknown()
func (*Unsubscribe) XXX_Marshal ¶
func (m *Unsubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Unsubscribe) XXX_Merge ¶
func (dst *Unsubscribe) XXX_Merge(src proto.Message)
func (*Unsubscribe) XXX_Size ¶
func (m *Unsubscribe) XXX_Size() int
func (*Unsubscribe) XXX_Unmarshal ¶
func (m *Unsubscribe) XXX_Unmarshal(b []byte) error
type Vote ¶
type Vote struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` }
func NewPopulatedVote ¶
func (*Vote) Descriptor ¶
func (*Vote) GetBlockHash ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type WinnerType ¶
type WinnerType int32
const ( GENESIS_SIGNER WinnerType = 0 TXN_SIGNER WinnerType = 1 BLOCK_SIGNER WinnerType = 2 )
func (WinnerType) EnumDescriptor ¶
func (WinnerType) EnumDescriptor() ([]byte, []int)
func (WinnerType) String ¶
func (x WinnerType) String() string