Documentation ¶
Index ¶
- Variables
- func RegisterAtomicBroadcastServer(s *grpc.Server, srv AtomicBroadcastServer)
- func RegisterBlockAttestationsServer(s *grpc.Server, srv BlockAttestationsServer)
- func RegisterClusterNodeServiceServer(s *grpc.Server, srv ClusterNodeServiceServer)
- func RegisterClusterServer(s *grpc.Server, srv ClusterServer)
- type AtomicBroadcastClient
- type AtomicBroadcastServer
- type AtomicBroadcast_BroadcastClient
- type AtomicBroadcast_BroadcastServer
- type AtomicBroadcast_DeliverClient
- type AtomicBroadcast_DeliverServer
- type BatchSize
- func (*BatchSize) Descriptor() ([]byte, []int)
- func (m *BatchSize) GetAbsoluteMaxBytes() uint32
- func (m *BatchSize) GetMaxMessageCount() uint32
- func (m *BatchSize) GetPreferredMaxBytes() uint32
- func (*BatchSize) ProtoMessage()
- func (m *BatchSize) Reset()
- func (m *BatchSize) String() string
- func (m *BatchSize) XXX_DiscardUnknown()
- func (m *BatchSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSize) XXX_Merge(src proto.Message)
- func (m *BatchSize) XXX_Size() int
- func (m *BatchSize) XXX_Unmarshal(b []byte) error
- type BatchTimeout
- func (*BatchTimeout) Descriptor() ([]byte, []int)
- func (m *BatchTimeout) GetTimeout() string
- func (*BatchTimeout) ProtoMessage()
- func (m *BatchTimeout) Reset()
- func (m *BatchTimeout) String() string
- func (m *BatchTimeout) XXX_DiscardUnknown()
- func (m *BatchTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchTimeout) XXX_Merge(src proto.Message)
- func (m *BatchTimeout) XXX_Size() int
- func (m *BatchTimeout) XXX_Unmarshal(b []byte) error
- type BlockAttestation
- func (*BlockAttestation) Descriptor() ([]byte, []int)
- func (m *BlockAttestation) GetHeader() *common.BlockHeader
- func (m *BlockAttestation) GetMetadata() *common.BlockMetadata
- func (*BlockAttestation) ProtoMessage()
- func (m *BlockAttestation) Reset()
- func (m *BlockAttestation) String() string
- func (m *BlockAttestation) XXX_DiscardUnknown()
- func (m *BlockAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockAttestation) XXX_Merge(src proto.Message)
- func (m *BlockAttestation) XXX_Size() int
- func (m *BlockAttestation) XXX_Unmarshal(b []byte) error
- type BlockAttestationResponse
- func (*BlockAttestationResponse) Descriptor() ([]byte, []int)
- func (m *BlockAttestationResponse) GetBlockAttestation() *BlockAttestation
- func (m *BlockAttestationResponse) GetStatus() common.Status
- func (m *BlockAttestationResponse) GetType() isBlockAttestationResponse_Type
- func (*BlockAttestationResponse) ProtoMessage()
- func (m *BlockAttestationResponse) Reset()
- func (m *BlockAttestationResponse) String() string
- func (m *BlockAttestationResponse) XXX_DiscardUnknown()
- func (m *BlockAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockAttestationResponse) XXX_Merge(src proto.Message)
- func (*BlockAttestationResponse) XXX_OneofWrappers() []interface{}
- func (m *BlockAttestationResponse) XXX_Size() int
- func (m *BlockAttestationResponse) XXX_Unmarshal(b []byte) error
- type BlockAttestationResponse_BlockAttestation
- type BlockAttestationResponse_Status
- type BlockAttestationsClient
- type BlockAttestationsServer
- type BlockAttestations_BlockAttestationsClient
- type BlockAttestations_BlockAttestationsServer
- type BroadcastResponse
- func (*BroadcastResponse) Descriptor() ([]byte, []int)
- func (m *BroadcastResponse) GetInfo() string
- func (m *BroadcastResponse) GetStatus() common.Status
- func (*BroadcastResponse) ProtoMessage()
- func (m *BroadcastResponse) Reset()
- func (m *BroadcastResponse) String() string
- func (m *BroadcastResponse) XXX_DiscardUnknown()
- func (m *BroadcastResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastResponse) XXX_Merge(src proto.Message)
- func (m *BroadcastResponse) XXX_Size() int
- func (m *BroadcastResponse) XXX_Unmarshal(b []byte) error
- type ChannelRestrictions
- func (*ChannelRestrictions) Descriptor() ([]byte, []int)
- func (m *ChannelRestrictions) GetMaxCount() uint64
- func (*ChannelRestrictions) ProtoMessage()
- func (m *ChannelRestrictions) Reset()
- func (m *ChannelRestrictions) String() string
- func (m *ChannelRestrictions) XXX_DiscardUnknown()
- func (m *ChannelRestrictions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelRestrictions) XXX_Merge(src proto.Message)
- func (m *ChannelRestrictions) XXX_Size() int
- func (m *ChannelRestrictions) XXX_Unmarshal(b []byte) error
- type ClusterClient
- type ClusterNodeServiceClient
- type ClusterNodeServiceServer
- type ClusterNodeServiceStepRequest
- func (*ClusterNodeServiceStepRequest) Descriptor() ([]byte, []int)
- func (m *ClusterNodeServiceStepRequest) GetNodeAuthrequest() *NodeAuthRequest
- func (m *ClusterNodeServiceStepRequest) GetNodeConrequest() *NodeConsensusRequest
- func (m *ClusterNodeServiceStepRequest) GetNodeTranrequest() *NodeTransactionOrderRequest
- func (m *ClusterNodeServiceStepRequest) GetPayload() isClusterNodeServiceStepRequest_Payload
- func (*ClusterNodeServiceStepRequest) ProtoMessage()
- func (m *ClusterNodeServiceStepRequest) Reset()
- func (m *ClusterNodeServiceStepRequest) String() string
- func (m *ClusterNodeServiceStepRequest) XXX_DiscardUnknown()
- func (m *ClusterNodeServiceStepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterNodeServiceStepRequest) XXX_Merge(src proto.Message)
- func (*ClusterNodeServiceStepRequest) XXX_OneofWrappers() []interface{}
- func (m *ClusterNodeServiceStepRequest) XXX_Size() int
- func (m *ClusterNodeServiceStepRequest) XXX_Unmarshal(b []byte) error
- type ClusterNodeServiceStepRequest_NodeAuthrequest
- type ClusterNodeServiceStepRequest_NodeConrequest
- type ClusterNodeServiceStepRequest_NodeTranrequest
- type ClusterNodeServiceStepResponse
- func (*ClusterNodeServiceStepResponse) Descriptor() ([]byte, []int)
- func (m *ClusterNodeServiceStepResponse) GetPayload() isClusterNodeServiceStepResponse_Payload
- func (m *ClusterNodeServiceStepResponse) GetTranorderRes() *TransactionOrderResponse
- func (*ClusterNodeServiceStepResponse) ProtoMessage()
- func (m *ClusterNodeServiceStepResponse) Reset()
- func (m *ClusterNodeServiceStepResponse) String() string
- func (m *ClusterNodeServiceStepResponse) XXX_DiscardUnknown()
- func (m *ClusterNodeServiceStepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterNodeServiceStepResponse) XXX_Merge(src proto.Message)
- func (*ClusterNodeServiceStepResponse) XXX_OneofWrappers() []interface{}
- func (m *ClusterNodeServiceStepResponse) XXX_Size() int
- func (m *ClusterNodeServiceStepResponse) XXX_Unmarshal(b []byte) error
- type ClusterNodeServiceStepResponse_TranorderRes
- type ClusterNodeService_StepClient
- type ClusterNodeService_StepServer
- type ClusterServer
- type Cluster_StepClient
- type Cluster_StepServer
- type ConsensusRequest
- func (*ConsensusRequest) Descriptor() ([]byte, []int)
- func (m *ConsensusRequest) GetChannel() string
- func (m *ConsensusRequest) GetMetadata() []byte
- func (m *ConsensusRequest) GetPayload() []byte
- func (*ConsensusRequest) ProtoMessage()
- func (m *ConsensusRequest) Reset()
- func (m *ConsensusRequest) String() string
- func (m *ConsensusRequest) XXX_DiscardUnknown()
- func (m *ConsensusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusRequest) XXX_Merge(src proto.Message)
- func (m *ConsensusRequest) XXX_Size() int
- func (m *ConsensusRequest) XXX_Unmarshal(b []byte) error
- type ConsensusType
- func (*ConsensusType) Descriptor() ([]byte, []int)
- func (m *ConsensusType) GetMetadata() []byte
- func (m *ConsensusType) GetState() ConsensusType_State
- func (m *ConsensusType) GetType() string
- func (*ConsensusType) ProtoMessage()
- func (m *ConsensusType) Reset()
- func (m *ConsensusType) String() string
- func (m *ConsensusType) XXX_DiscardUnknown()
- func (m *ConsensusType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusType) XXX_Merge(src proto.Message)
- func (m *ConsensusType) XXX_Size() int
- func (m *ConsensusType) XXX_Unmarshal(b []byte) error
- type ConsensusType_State
- type DeliverResponse
- func (*DeliverResponse) Descriptor() ([]byte, []int)
- func (m *DeliverResponse) GetBlock() *common.Block
- func (m *DeliverResponse) GetStatus() common.Status
- func (m *DeliverResponse) GetType() isDeliverResponse_Type
- func (*DeliverResponse) ProtoMessage()
- func (m *DeliverResponse) Reset()
- func (m *DeliverResponse) String() string
- func (m *DeliverResponse) XXX_DiscardUnknown()
- func (m *DeliverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeliverResponse) XXX_Merge(src proto.Message)
- func (*DeliverResponse) XXX_OneofWrappers() []interface{}
- func (m *DeliverResponse) XXX_Size() int
- func (m *DeliverResponse) XXX_Unmarshal(b []byte) error
- type DeliverResponse_Block
- type DeliverResponse_Status
- type KafkaBrokersdeprecated
- func (*KafkaBrokers) Descriptor() ([]byte, []int)
- func (m *KafkaBrokers) GetBrokers() []string
- func (*KafkaBrokers) ProtoMessage()
- func (m *KafkaBrokers) Reset()
- func (m *KafkaBrokers) String() string
- func (m *KafkaBrokers) XXX_DiscardUnknown()
- func (m *KafkaBrokers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KafkaBrokers) XXX_Merge(src proto.Message)
- func (m *KafkaBrokers) XXX_Size() int
- func (m *KafkaBrokers) XXX_Unmarshal(b []byte) error
- type NodeAuthRequest
- func (*NodeAuthRequest) Descriptor() ([]byte, []int)
- func (m *NodeAuthRequest) GetChannel() string
- func (m *NodeAuthRequest) GetFromId() uint64
- func (m *NodeAuthRequest) GetSessionBinding() []byte
- func (m *NodeAuthRequest) GetSignature() []byte
- func (m *NodeAuthRequest) GetTimestamp() *timestamppb.Timestamp
- func (m *NodeAuthRequest) GetToId() uint64
- func (m *NodeAuthRequest) GetVersion() uint32
- func (*NodeAuthRequest) ProtoMessage()
- func (m *NodeAuthRequest) Reset()
- func (m *NodeAuthRequest) String() string
- func (m *NodeAuthRequest) XXX_DiscardUnknown()
- func (m *NodeAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeAuthRequest) XXX_Merge(src proto.Message)
- func (m *NodeAuthRequest) XXX_Size() int
- func (m *NodeAuthRequest) XXX_Unmarshal(b []byte) error
- type NodeConsensusRequest
- func (*NodeConsensusRequest) Descriptor() ([]byte, []int)
- func (m *NodeConsensusRequest) GetMetadata() []byte
- func (m *NodeConsensusRequest) GetPayload() []byte
- func (*NodeConsensusRequest) ProtoMessage()
- func (m *NodeConsensusRequest) Reset()
- func (m *NodeConsensusRequest) String() string
- func (m *NodeConsensusRequest) XXX_DiscardUnknown()
- func (m *NodeConsensusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeConsensusRequest) XXX_Merge(src proto.Message)
- func (m *NodeConsensusRequest) XXX_Size() int
- func (m *NodeConsensusRequest) XXX_Unmarshal(b []byte) error
- type NodeTransactionOrderRequest
- func (*NodeTransactionOrderRequest) Descriptor() ([]byte, []int)
- func (m *NodeTransactionOrderRequest) GetLastValidationSeq() uint64
- func (m *NodeTransactionOrderRequest) GetPayload() *common.Envelope
- func (*NodeTransactionOrderRequest) ProtoMessage()
- func (m *NodeTransactionOrderRequest) Reset()
- func (m *NodeTransactionOrderRequest) String() string
- func (m *NodeTransactionOrderRequest) XXX_DiscardUnknown()
- func (m *NodeTransactionOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeTransactionOrderRequest) XXX_Merge(src proto.Message)
- func (m *NodeTransactionOrderRequest) XXX_Size() int
- func (m *NodeTransactionOrderRequest) XXX_Unmarshal(b []byte) error
- type SeekInfo
- func (*SeekInfo) Descriptor() ([]byte, []int)
- func (m *SeekInfo) GetBehavior() SeekInfo_SeekBehavior
- func (m *SeekInfo) GetContentType() SeekInfo_SeekContentType
- func (m *SeekInfo) GetErrorResponse() SeekInfo_SeekErrorResponse
- func (m *SeekInfo) GetStart() *SeekPosition
- func (m *SeekInfo) GetStop() *SeekPosition
- func (*SeekInfo) ProtoMessage()
- func (m *SeekInfo) Reset()
- func (m *SeekInfo) String() string
- func (m *SeekInfo) XXX_DiscardUnknown()
- func (m *SeekInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SeekInfo) XXX_Merge(src proto.Message)
- func (m *SeekInfo) XXX_Size() int
- func (m *SeekInfo) XXX_Unmarshal(b []byte) error
- type SeekInfo_SeekBehavior
- type SeekInfo_SeekContentType
- type SeekInfo_SeekErrorResponse
- type SeekNewest
- func (*SeekNewest) Descriptor() ([]byte, []int)
- func (*SeekNewest) ProtoMessage()
- func (m *SeekNewest) Reset()
- func (m *SeekNewest) String() string
- func (m *SeekNewest) XXX_DiscardUnknown()
- func (m *SeekNewest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SeekNewest) XXX_Merge(src proto.Message)
- func (m *SeekNewest) XXX_Size() int
- func (m *SeekNewest) XXX_Unmarshal(b []byte) error
- type SeekNextCommit
- func (*SeekNextCommit) Descriptor() ([]byte, []int)
- func (*SeekNextCommit) ProtoMessage()
- func (m *SeekNextCommit) Reset()
- func (m *SeekNextCommit) String() string
- func (m *SeekNextCommit) XXX_DiscardUnknown()
- func (m *SeekNextCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SeekNextCommit) XXX_Merge(src proto.Message)
- func (m *SeekNextCommit) XXX_Size() int
- func (m *SeekNextCommit) XXX_Unmarshal(b []byte) error
- type SeekOldest
- func (*SeekOldest) Descriptor() ([]byte, []int)
- func (*SeekOldest) ProtoMessage()
- func (m *SeekOldest) Reset()
- func (m *SeekOldest) String() string
- func (m *SeekOldest) XXX_DiscardUnknown()
- func (m *SeekOldest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SeekOldest) XXX_Merge(src proto.Message)
- func (m *SeekOldest) XXX_Size() int
- func (m *SeekOldest) XXX_Unmarshal(b []byte) error
- type SeekPosition
- func (*SeekPosition) Descriptor() ([]byte, []int)
- func (m *SeekPosition) GetNewest() *SeekNewest
- func (m *SeekPosition) GetNextCommit() *SeekNextCommit
- func (m *SeekPosition) GetOldest() *SeekOldest
- func (m *SeekPosition) GetSpecified() *SeekSpecified
- func (m *SeekPosition) GetType() isSeekPosition_Type
- func (*SeekPosition) ProtoMessage()
- func (m *SeekPosition) Reset()
- func (m *SeekPosition) String() string
- func (m *SeekPosition) XXX_DiscardUnknown()
- func (m *SeekPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SeekPosition) XXX_Merge(src proto.Message)
- func (*SeekPosition) XXX_OneofWrappers() []interface{}
- func (m *SeekPosition) XXX_Size() int
- func (m *SeekPosition) XXX_Unmarshal(b []byte) error
- type SeekPosition_Newest
- type SeekPosition_NextCommit
- type SeekPosition_Oldest
- type SeekPosition_Specified
- type SeekSpecified
- func (*SeekSpecified) Descriptor() ([]byte, []int)
- func (m *SeekSpecified) GetNumber() uint64
- func (*SeekSpecified) ProtoMessage()
- func (m *SeekSpecified) Reset()
- func (m *SeekSpecified) String() string
- func (m *SeekSpecified) XXX_DiscardUnknown()
- func (m *SeekSpecified) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SeekSpecified) XXX_Merge(src proto.Message)
- func (m *SeekSpecified) XXX_Size() int
- func (m *SeekSpecified) XXX_Unmarshal(b []byte) error
- type StepRequest
- func (*StepRequest) Descriptor() ([]byte, []int)
- func (m *StepRequest) GetConsensusRequest() *ConsensusRequest
- func (m *StepRequest) GetPayload() isStepRequest_Payload
- func (m *StepRequest) GetSubmitRequest() *SubmitRequest
- func (*StepRequest) ProtoMessage()
- func (m *StepRequest) Reset()
- func (m *StepRequest) String() string
- func (m *StepRequest) XXX_DiscardUnknown()
- func (m *StepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StepRequest) XXX_Merge(src proto.Message)
- func (*StepRequest) XXX_OneofWrappers() []interface{}
- func (m *StepRequest) XXX_Size() int
- func (m *StepRequest) XXX_Unmarshal(b []byte) error
- type StepRequest_ConsensusRequest
- type StepRequest_SubmitRequest
- type StepResponse
- func (*StepResponse) Descriptor() ([]byte, []int)
- func (m *StepResponse) GetPayload() isStepResponse_Payload
- func (m *StepResponse) GetSubmitRes() *SubmitResponse
- func (*StepResponse) ProtoMessage()
- func (m *StepResponse) Reset()
- func (m *StepResponse) String() string
- func (m *StepResponse) XXX_DiscardUnknown()
- func (m *StepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StepResponse) XXX_Merge(src proto.Message)
- func (*StepResponse) XXX_OneofWrappers() []interface{}
- func (m *StepResponse) XXX_Size() int
- func (m *StepResponse) XXX_Unmarshal(b []byte) error
- type StepResponse_SubmitRes
- type SubmitRequest
- func (*SubmitRequest) Descriptor() ([]byte, []int)
- func (m *SubmitRequest) GetChannel() string
- func (m *SubmitRequest) GetLastValidationSeq() uint64
- func (m *SubmitRequest) GetPayload() *common.Envelope
- func (*SubmitRequest) ProtoMessage()
- func (m *SubmitRequest) Reset()
- func (m *SubmitRequest) String() string
- func (m *SubmitRequest) XXX_DiscardUnknown()
- func (m *SubmitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitRequest) XXX_Merge(src proto.Message)
- func (m *SubmitRequest) XXX_Size() int
- func (m *SubmitRequest) XXX_Unmarshal(b []byte) error
- type SubmitResponse
- func (*SubmitResponse) Descriptor() ([]byte, []int)
- func (m *SubmitResponse) GetChannel() string
- func (m *SubmitResponse) GetInfo() string
- func (m *SubmitResponse) GetStatus() common.Status
- func (*SubmitResponse) ProtoMessage()
- func (m *SubmitResponse) Reset()
- func (m *SubmitResponse) String() string
- func (m *SubmitResponse) XXX_DiscardUnknown()
- func (m *SubmitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitResponse) XXX_Merge(src proto.Message)
- func (m *SubmitResponse) XXX_Size() int
- func (m *SubmitResponse) XXX_Unmarshal(b []byte) error
- type TransactionOrderResponse
- func (*TransactionOrderResponse) Descriptor() ([]byte, []int)
- func (m *TransactionOrderResponse) GetChannel() string
- func (m *TransactionOrderResponse) GetInfo() string
- func (m *TransactionOrderResponse) GetStatus() common.Status
- func (m *TransactionOrderResponse) GetTxId() string
- func (*TransactionOrderResponse) ProtoMessage()
- func (m *TransactionOrderResponse) Reset()
- func (m *TransactionOrderResponse) String() string
- func (m *TransactionOrderResponse) XXX_DiscardUnknown()
- func (m *TransactionOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionOrderResponse) XXX_Merge(src proto.Message)
- func (m *TransactionOrderResponse) XXX_Size() int
- func (m *TransactionOrderResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedAtomicBroadcastServer
- type UnimplementedBlockAttestationsServer
- type UnimplementedClusterNodeServiceServer
- type UnimplementedClusterServer
Constants ¶
This section is empty.
Variables ¶
var ConsensusType_State_name = map[int32]string{
0: "STATE_NORMAL",
1: "STATE_MAINTENANCE",
}
var ConsensusType_State_value = map[string]int32{
"STATE_NORMAL": 0,
"STATE_MAINTENANCE": 1,
}
var SeekInfo_SeekBehavior_name = map[int32]string{
0: "BLOCK_UNTIL_READY",
1: "FAIL_IF_NOT_READY",
}
var SeekInfo_SeekBehavior_value = map[string]int32{
"BLOCK_UNTIL_READY": 0,
"FAIL_IF_NOT_READY": 1,
}
var SeekInfo_SeekContentType_name = map[int32]string{
0: "BLOCK",
1: "HEADER_WITH_SIG",
}
var SeekInfo_SeekContentType_value = map[string]int32{
"BLOCK": 0,
"HEADER_WITH_SIG": 1,
}
var SeekInfo_SeekErrorResponse_name = map[int32]string{
0: "STRICT",
1: "BEST_EFFORT",
}
var SeekInfo_SeekErrorResponse_value = map[string]int32{
"STRICT": 0,
"BEST_EFFORT": 1,
}
Functions ¶
func RegisterAtomicBroadcastServer ¶
func RegisterAtomicBroadcastServer(s *grpc.Server, srv AtomicBroadcastServer)
func RegisterBlockAttestationsServer ¶ added in v0.3.0
func RegisterBlockAttestationsServer(s *grpc.Server, srv BlockAttestationsServer)
func RegisterClusterNodeServiceServer ¶ added in v0.3.0
func RegisterClusterNodeServiceServer(s *grpc.Server, srv ClusterNodeServiceServer)
func RegisterClusterServer ¶
func RegisterClusterServer(s *grpc.Server, srv ClusterServer)
Types ¶
type AtomicBroadcastClient ¶
type AtomicBroadcastClient interface { // broadcast receives a reply of Acknowledgement for each common.Envelope in order, indicating success or type of failure Broadcast(ctx context.Context, opts ...grpc.CallOption) (AtomicBroadcast_BroadcastClient, error) // deliver first requires an Envelope of type DELIVER_SEEK_INFO with Payload data as a mashaled SeekInfo message, then a stream of block replies is received. Deliver(ctx context.Context, opts ...grpc.CallOption) (AtomicBroadcast_DeliverClient, error) }
AtomicBroadcastClient is the client API for AtomicBroadcast service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAtomicBroadcastClient ¶
func NewAtomicBroadcastClient(cc *grpc.ClientConn) AtomicBroadcastClient
type AtomicBroadcastServer ¶
type AtomicBroadcastServer interface { // broadcast receives a reply of Acknowledgement for each common.Envelope in order, indicating success or type of failure Broadcast(AtomicBroadcast_BroadcastServer) error // deliver first requires an Envelope of type DELIVER_SEEK_INFO with Payload data as a mashaled SeekInfo message, then a stream of block replies is received. Deliver(AtomicBroadcast_DeliverServer) error }
AtomicBroadcastServer is the server API for AtomicBroadcast service.
type AtomicBroadcast_BroadcastClient ¶
type AtomicBroadcast_BroadcastClient interface { Send(*common.Envelope) error Recv() (*BroadcastResponse, error) grpc.ClientStream }
type AtomicBroadcast_BroadcastServer ¶
type AtomicBroadcast_BroadcastServer interface { Send(*BroadcastResponse) error Recv() (*common.Envelope, error) grpc.ServerStream }
type AtomicBroadcast_DeliverClient ¶
type AtomicBroadcast_DeliverClient interface { Send(*common.Envelope) error Recv() (*DeliverResponse, error) grpc.ClientStream }
type AtomicBroadcast_DeliverServer ¶
type AtomicBroadcast_DeliverServer interface { Send(*DeliverResponse) error Recv() (*common.Envelope, error) grpc.ServerStream }
type BatchSize ¶
type BatchSize struct { // Simply specified as number of messages for now, in the future // we may want to allow this to be specified by size in bytes MaxMessageCount uint32 `protobuf:"varint,1,opt,name=max_message_count,json=maxMessageCount,proto3" json:"max_message_count,omitempty"` // The byte count of the serialized messages in a batch cannot // exceed this value. AbsoluteMaxBytes uint32 `protobuf:"varint,2,opt,name=absolute_max_bytes,json=absoluteMaxBytes,proto3" json:"absolute_max_bytes,omitempty"` // The byte count of the serialized messages in a batch should not // exceed this value. PreferredMaxBytes uint32 `protobuf:"varint,3,opt,name=preferred_max_bytes,json=preferredMaxBytes,proto3" json:"preferred_max_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchSize) Descriptor ¶
func (*BatchSize) GetAbsoluteMaxBytes ¶
func (*BatchSize) GetMaxMessageCount ¶
func (*BatchSize) GetPreferredMaxBytes ¶
func (*BatchSize) ProtoMessage ¶
func (*BatchSize) ProtoMessage()
func (*BatchSize) XXX_DiscardUnknown ¶
func (m *BatchSize) XXX_DiscardUnknown()
func (*BatchSize) XXX_Marshal ¶
func (*BatchSize) XXX_Unmarshal ¶
type BatchTimeout ¶
type BatchTimeout struct { // Any duration string parseable by ParseDuration(): // https://golang.org/pkg/time/#ParseDuration Timeout string `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchTimeout) Descriptor ¶
func (*BatchTimeout) Descriptor() ([]byte, []int)
func (*BatchTimeout) GetTimeout ¶
func (m *BatchTimeout) GetTimeout() string
func (*BatchTimeout) ProtoMessage ¶
func (*BatchTimeout) ProtoMessage()
func (*BatchTimeout) Reset ¶
func (m *BatchTimeout) Reset()
func (*BatchTimeout) String ¶
func (m *BatchTimeout) String() string
func (*BatchTimeout) XXX_DiscardUnknown ¶
func (m *BatchTimeout) XXX_DiscardUnknown()
func (*BatchTimeout) XXX_Marshal ¶
func (m *BatchTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchTimeout) XXX_Merge ¶
func (m *BatchTimeout) XXX_Merge(src proto.Message)
func (*BatchTimeout) XXX_Size ¶
func (m *BatchTimeout) XXX_Size() int
func (*BatchTimeout) XXX_Unmarshal ¶
func (m *BatchTimeout) XXX_Unmarshal(b []byte) error
type BlockAttestation ¶ added in v0.3.0
type BlockAttestation struct { Header *common.BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Metadata *common.BlockMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockAttestation) Descriptor ¶ added in v0.3.0
func (*BlockAttestation) Descriptor() ([]byte, []int)
func (*BlockAttestation) GetHeader ¶ added in v0.3.0
func (m *BlockAttestation) GetHeader() *common.BlockHeader
func (*BlockAttestation) GetMetadata ¶ added in v0.3.0
func (m *BlockAttestation) GetMetadata() *common.BlockMetadata
func (*BlockAttestation) ProtoMessage ¶ added in v0.3.0
func (*BlockAttestation) ProtoMessage()
func (*BlockAttestation) Reset ¶ added in v0.3.0
func (m *BlockAttestation) Reset()
func (*BlockAttestation) String ¶ added in v0.3.0
func (m *BlockAttestation) String() string
func (*BlockAttestation) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *BlockAttestation) XXX_DiscardUnknown()
func (*BlockAttestation) XXX_Marshal ¶ added in v0.3.0
func (m *BlockAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockAttestation) XXX_Merge ¶ added in v0.3.0
func (m *BlockAttestation) XXX_Merge(src proto.Message)
func (*BlockAttestation) XXX_Size ¶ added in v0.3.0
func (m *BlockAttestation) XXX_Size() int
func (*BlockAttestation) XXX_Unmarshal ¶ added in v0.3.0
func (m *BlockAttestation) XXX_Unmarshal(b []byte) error
type BlockAttestationResponse ¶ added in v0.3.0
type BlockAttestationResponse struct { // Types that are valid to be assigned to Type: // // *BlockAttestationResponse_Status // *BlockAttestationResponse_BlockAttestation Type isBlockAttestationResponse_Type `protobuf_oneof:"Type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockAttestationResponse) Descriptor ¶ added in v0.3.0
func (*BlockAttestationResponse) Descriptor() ([]byte, []int)
func (*BlockAttestationResponse) GetBlockAttestation ¶ added in v0.3.0
func (m *BlockAttestationResponse) GetBlockAttestation() *BlockAttestation
func (*BlockAttestationResponse) GetStatus ¶ added in v0.3.0
func (m *BlockAttestationResponse) GetStatus() common.Status
func (*BlockAttestationResponse) GetType ¶ added in v0.3.0
func (m *BlockAttestationResponse) GetType() isBlockAttestationResponse_Type
func (*BlockAttestationResponse) ProtoMessage ¶ added in v0.3.0
func (*BlockAttestationResponse) ProtoMessage()
func (*BlockAttestationResponse) Reset ¶ added in v0.3.0
func (m *BlockAttestationResponse) Reset()
func (*BlockAttestationResponse) String ¶ added in v0.3.0
func (m *BlockAttestationResponse) String() string
func (*BlockAttestationResponse) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *BlockAttestationResponse) XXX_DiscardUnknown()
func (*BlockAttestationResponse) XXX_Marshal ¶ added in v0.3.0
func (m *BlockAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockAttestationResponse) XXX_Merge ¶ added in v0.3.0
func (m *BlockAttestationResponse) XXX_Merge(src proto.Message)
func (*BlockAttestationResponse) XXX_OneofWrappers ¶ added in v0.3.0
func (*BlockAttestationResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BlockAttestationResponse) XXX_Size ¶ added in v0.3.0
func (m *BlockAttestationResponse) XXX_Size() int
func (*BlockAttestationResponse) XXX_Unmarshal ¶ added in v0.3.0
func (m *BlockAttestationResponse) XXX_Unmarshal(b []byte) error
type BlockAttestationResponse_BlockAttestation ¶ added in v0.3.0
type BlockAttestationResponse_BlockAttestation struct {
BlockAttestation *BlockAttestation `protobuf:"bytes,2,opt,name=block_attestation,json=blockAttestation,proto3,oneof"`
}
type BlockAttestationResponse_Status ¶ added in v0.3.0
type BlockAttestationsClient ¶ added in v0.3.0
type BlockAttestationsClient interface { // BlockAttestations receives an Envelope of type DELIVER_SEEK_INFO , then sends back a stream of BlockAttestations. BlockAttestations(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (BlockAttestations_BlockAttestationsClient, error) }
BlockAttestationsClient is the client API for BlockAttestations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBlockAttestationsClient ¶ added in v0.3.0
func NewBlockAttestationsClient(cc *grpc.ClientConn) BlockAttestationsClient
type BlockAttestationsServer ¶ added in v0.3.0
type BlockAttestationsServer interface { // BlockAttestations receives an Envelope of type DELIVER_SEEK_INFO , then sends back a stream of BlockAttestations. BlockAttestations(*common.Envelope, BlockAttestations_BlockAttestationsServer) error }
BlockAttestationsServer is the server API for BlockAttestations service.
type BlockAttestations_BlockAttestationsClient ¶ added in v0.3.0
type BlockAttestations_BlockAttestationsClient interface { Recv() (*BlockAttestationResponse, error) grpc.ClientStream }
type BlockAttestations_BlockAttestationsServer ¶ added in v0.3.0
type BlockAttestations_BlockAttestationsServer interface { Send(*BlockAttestationResponse) error grpc.ServerStream }
type BroadcastResponse ¶
type BroadcastResponse struct { // Status code, which may be used to programatically respond to success/failure Status common.Status `protobuf:"varint,1,opt,name=status,proto3,enum=common.Status" json:"status,omitempty"` // Info string which may contain additional information about the status returned Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BroadcastResponse) Descriptor ¶
func (*BroadcastResponse) Descriptor() ([]byte, []int)
func (*BroadcastResponse) GetInfo ¶
func (m *BroadcastResponse) GetInfo() string
func (*BroadcastResponse) GetStatus ¶
func (m *BroadcastResponse) GetStatus() common.Status
func (*BroadcastResponse) ProtoMessage ¶
func (*BroadcastResponse) ProtoMessage()
func (*BroadcastResponse) Reset ¶
func (m *BroadcastResponse) Reset()
func (*BroadcastResponse) String ¶
func (m *BroadcastResponse) String() string
func (*BroadcastResponse) XXX_DiscardUnknown ¶
func (m *BroadcastResponse) XXX_DiscardUnknown()
func (*BroadcastResponse) XXX_Marshal ¶
func (m *BroadcastResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastResponse) XXX_Merge ¶
func (m *BroadcastResponse) XXX_Merge(src proto.Message)
func (*BroadcastResponse) XXX_Size ¶
func (m *BroadcastResponse) XXX_Size() int
func (*BroadcastResponse) XXX_Unmarshal ¶
func (m *BroadcastResponse) XXX_Unmarshal(b []byte) error
type ChannelRestrictions ¶
type ChannelRestrictions struct { MaxCount uint64 `protobuf:"varint,1,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChannelRestrictions is the mssage which conveys restrictions on channel creation for an orderer
func (*ChannelRestrictions) Descriptor ¶
func (*ChannelRestrictions) Descriptor() ([]byte, []int)
func (*ChannelRestrictions) GetMaxCount ¶
func (m *ChannelRestrictions) GetMaxCount() uint64
func (*ChannelRestrictions) ProtoMessage ¶
func (*ChannelRestrictions) ProtoMessage()
func (*ChannelRestrictions) Reset ¶
func (m *ChannelRestrictions) Reset()
func (*ChannelRestrictions) String ¶
func (m *ChannelRestrictions) String() string
func (*ChannelRestrictions) XXX_DiscardUnknown ¶
func (m *ChannelRestrictions) XXX_DiscardUnknown()
func (*ChannelRestrictions) XXX_Marshal ¶
func (m *ChannelRestrictions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelRestrictions) XXX_Merge ¶
func (m *ChannelRestrictions) XXX_Merge(src proto.Message)
func (*ChannelRestrictions) XXX_Size ¶
func (m *ChannelRestrictions) XXX_Size() int
func (*ChannelRestrictions) XXX_Unmarshal ¶
func (m *ChannelRestrictions) XXX_Unmarshal(b []byte) error
type ClusterClient ¶
type ClusterClient interface { // Step passes an implementation-specific message to another cluster member. Step(ctx context.Context, opts ...grpc.CallOption) (Cluster_StepClient, error) }
ClusterClient is the client API for Cluster service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterClient ¶
func NewClusterClient(cc *grpc.ClientConn) ClusterClient
type ClusterNodeServiceClient ¶ added in v0.3.0
type ClusterNodeServiceClient interface { // Step passes an implementation-specific message to another cluster member. Step(ctx context.Context, opts ...grpc.CallOption) (ClusterNodeService_StepClient, error) }
ClusterNodeServiceClient is the client API for ClusterNodeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterNodeServiceClient ¶ added in v0.3.0
func NewClusterNodeServiceClient(cc *grpc.ClientConn) ClusterNodeServiceClient
type ClusterNodeServiceServer ¶ added in v0.3.0
type ClusterNodeServiceServer interface { // Step passes an implementation-specific message to another cluster member. Step(ClusterNodeService_StepServer) error }
ClusterNodeServiceServer is the server API for ClusterNodeService service.
type ClusterNodeServiceStepRequest ¶ added in v0.3.0
type ClusterNodeServiceStepRequest struct { // Types that are valid to be assigned to Payload: // // *ClusterNodeServiceStepRequest_NodeConrequest // *ClusterNodeServiceStepRequest_NodeTranrequest // *ClusterNodeServiceStepRequest_NodeAuthrequest Payload isClusterNodeServiceStepRequest_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ClusterNodeServiceStepRequest wraps a message that is sent to a cluster member.
func (*ClusterNodeServiceStepRequest) Descriptor ¶ added in v0.3.0
func (*ClusterNodeServiceStepRequest) Descriptor() ([]byte, []int)
func (*ClusterNodeServiceStepRequest) GetNodeAuthrequest ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) GetNodeAuthrequest() *NodeAuthRequest
func (*ClusterNodeServiceStepRequest) GetNodeConrequest ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) GetNodeConrequest() *NodeConsensusRequest
func (*ClusterNodeServiceStepRequest) GetNodeTranrequest ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) GetNodeTranrequest() *NodeTransactionOrderRequest
func (*ClusterNodeServiceStepRequest) GetPayload ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) GetPayload() isClusterNodeServiceStepRequest_Payload
func (*ClusterNodeServiceStepRequest) ProtoMessage ¶ added in v0.3.0
func (*ClusterNodeServiceStepRequest) ProtoMessage()
func (*ClusterNodeServiceStepRequest) Reset ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) Reset()
func (*ClusterNodeServiceStepRequest) String ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) String() string
func (*ClusterNodeServiceStepRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) XXX_DiscardUnknown()
func (*ClusterNodeServiceStepRequest) XXX_Marshal ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterNodeServiceStepRequest) XXX_Merge ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) XXX_Merge(src proto.Message)
func (*ClusterNodeServiceStepRequest) XXX_OneofWrappers ¶ added in v0.3.0
func (*ClusterNodeServiceStepRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ClusterNodeServiceStepRequest) XXX_Size ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) XXX_Size() int
func (*ClusterNodeServiceStepRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *ClusterNodeServiceStepRequest) XXX_Unmarshal(b []byte) error
type ClusterNodeServiceStepRequest_NodeAuthrequest ¶ added in v0.3.0
type ClusterNodeServiceStepRequest_NodeAuthrequest struct {
NodeAuthrequest *NodeAuthRequest `protobuf:"bytes,3,opt,name=node_authrequest,json=nodeAuthrequest,proto3,oneof"`
}
type ClusterNodeServiceStepRequest_NodeConrequest ¶ added in v0.3.0
type ClusterNodeServiceStepRequest_NodeConrequest struct {
NodeConrequest *NodeConsensusRequest `protobuf:"bytes,1,opt,name=node_conrequest,json=nodeConrequest,proto3,oneof"`
}
type ClusterNodeServiceStepRequest_NodeTranrequest ¶ added in v0.3.0
type ClusterNodeServiceStepRequest_NodeTranrequest struct {
NodeTranrequest *NodeTransactionOrderRequest `protobuf:"bytes,2,opt,name=node_tranrequest,json=nodeTranrequest,proto3,oneof"`
}
type ClusterNodeServiceStepResponse ¶ added in v0.3.0
type ClusterNodeServiceStepResponse struct { // Types that are valid to be assigned to Payload: // // *ClusterNodeServiceStepResponse_TranorderRes Payload isClusterNodeServiceStepResponse_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ClusterNodeServiceStepResponse is a message received from a cluster member.
func (*ClusterNodeServiceStepResponse) Descriptor ¶ added in v0.3.0
func (*ClusterNodeServiceStepResponse) Descriptor() ([]byte, []int)
func (*ClusterNodeServiceStepResponse) GetPayload ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) GetPayload() isClusterNodeServiceStepResponse_Payload
func (*ClusterNodeServiceStepResponse) GetTranorderRes ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) GetTranorderRes() *TransactionOrderResponse
func (*ClusterNodeServiceStepResponse) ProtoMessage ¶ added in v0.3.0
func (*ClusterNodeServiceStepResponse) ProtoMessage()
func (*ClusterNodeServiceStepResponse) Reset ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) Reset()
func (*ClusterNodeServiceStepResponse) String ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) String() string
func (*ClusterNodeServiceStepResponse) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) XXX_DiscardUnknown()
func (*ClusterNodeServiceStepResponse) XXX_Marshal ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterNodeServiceStepResponse) XXX_Merge ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) XXX_Merge(src proto.Message)
func (*ClusterNodeServiceStepResponse) XXX_OneofWrappers ¶ added in v0.3.0
func (*ClusterNodeServiceStepResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ClusterNodeServiceStepResponse) XXX_Size ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) XXX_Size() int
func (*ClusterNodeServiceStepResponse) XXX_Unmarshal ¶ added in v0.3.0
func (m *ClusterNodeServiceStepResponse) XXX_Unmarshal(b []byte) error
type ClusterNodeServiceStepResponse_TranorderRes ¶ added in v0.3.0
type ClusterNodeServiceStepResponse_TranorderRes struct {
TranorderRes *TransactionOrderResponse `protobuf:"bytes,1,opt,name=tranorder_res,json=tranorderRes,proto3,oneof"`
}
type ClusterNodeService_StepClient ¶ added in v0.3.0
type ClusterNodeService_StepClient interface { Send(*ClusterNodeServiceStepRequest) error Recv() (*ClusterNodeServiceStepResponse, error) grpc.ClientStream }
type ClusterNodeService_StepServer ¶ added in v0.3.0
type ClusterNodeService_StepServer interface { Send(*ClusterNodeServiceStepResponse) error Recv() (*ClusterNodeServiceStepRequest, error) grpc.ServerStream }
type ClusterServer ¶
type ClusterServer interface { // Step passes an implementation-specific message to another cluster member. Step(Cluster_StepServer) error }
ClusterServer is the server API for Cluster service.
type Cluster_StepClient ¶
type Cluster_StepClient interface { Send(*StepRequest) error Recv() (*StepResponse, error) grpc.ClientStream }
type Cluster_StepServer ¶
type Cluster_StepServer interface { Send(*StepResponse) error Recv() (*StepRequest, error) grpc.ServerStream }
type ConsensusRequest ¶
type ConsensusRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ConsensusRequest is a consensus specific message sent to a cluster member.
func (*ConsensusRequest) Descriptor ¶
func (*ConsensusRequest) Descriptor() ([]byte, []int)
func (*ConsensusRequest) GetChannel ¶
func (m *ConsensusRequest) GetChannel() string
func (*ConsensusRequest) GetMetadata ¶
func (m *ConsensusRequest) GetMetadata() []byte
func (*ConsensusRequest) GetPayload ¶
func (m *ConsensusRequest) GetPayload() []byte
func (*ConsensusRequest) ProtoMessage ¶
func (*ConsensusRequest) ProtoMessage()
func (*ConsensusRequest) Reset ¶
func (m *ConsensusRequest) Reset()
func (*ConsensusRequest) String ¶
func (m *ConsensusRequest) String() string
func (*ConsensusRequest) XXX_DiscardUnknown ¶
func (m *ConsensusRequest) XXX_DiscardUnknown()
func (*ConsensusRequest) XXX_Marshal ¶
func (m *ConsensusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusRequest) XXX_Merge ¶
func (m *ConsensusRequest) XXX_Merge(src proto.Message)
func (*ConsensusRequest) XXX_Size ¶
func (m *ConsensusRequest) XXX_Size() int
func (*ConsensusRequest) XXX_Unmarshal ¶
func (m *ConsensusRequest) XXX_Unmarshal(b []byte) error
type ConsensusType ¶
type ConsensusType struct { // The consensus type: "solo" or "etcdraft". Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Opaque metadata, dependent on the consensus type. Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // The state signals the ordering service to go into maintenance mode, typically for consensus-type migration. State ConsensusType_State `protobuf:"varint,3,opt,name=state,proto3,enum=orderer.ConsensusType_State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsensusType) Descriptor ¶
func (*ConsensusType) Descriptor() ([]byte, []int)
func (*ConsensusType) GetMetadata ¶
func (m *ConsensusType) GetMetadata() []byte
func (*ConsensusType) GetState ¶
func (m *ConsensusType) GetState() ConsensusType_State
func (*ConsensusType) GetType ¶
func (m *ConsensusType) GetType() string
func (*ConsensusType) ProtoMessage ¶
func (*ConsensusType) ProtoMessage()
func (*ConsensusType) Reset ¶
func (m *ConsensusType) Reset()
func (*ConsensusType) String ¶
func (m *ConsensusType) String() string
func (*ConsensusType) XXX_DiscardUnknown ¶
func (m *ConsensusType) XXX_DiscardUnknown()
func (*ConsensusType) XXX_Marshal ¶
func (m *ConsensusType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusType) XXX_Merge ¶
func (m *ConsensusType) XXX_Merge(src proto.Message)
func (*ConsensusType) XXX_Size ¶
func (m *ConsensusType) XXX_Size() int
func (*ConsensusType) XXX_Unmarshal ¶
func (m *ConsensusType) XXX_Unmarshal(b []byte) error
type ConsensusType_State ¶
type ConsensusType_State int32
State defines the orderer mode of operation, typically for consensus-type migration. NORMAL is during normal operation, when consensus-type migration is not, and can not, take place. MAINTENANCE is when the consensus-type can be changed.
const ( ConsensusType_STATE_NORMAL ConsensusType_State = 0 ConsensusType_STATE_MAINTENANCE ConsensusType_State = 1 )
func (ConsensusType_State) EnumDescriptor ¶
func (ConsensusType_State) EnumDescriptor() ([]byte, []int)
func (ConsensusType_State) String ¶
func (x ConsensusType_State) String() string
type DeliverResponse ¶
type DeliverResponse struct { // Types that are valid to be assigned to Type: // // *DeliverResponse_Status // *DeliverResponse_Block Type isDeliverResponse_Type `protobuf_oneof:"Type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeliverResponse) Descriptor ¶
func (*DeliverResponse) Descriptor() ([]byte, []int)
func (*DeliverResponse) GetBlock ¶
func (m *DeliverResponse) GetBlock() *common.Block
func (*DeliverResponse) GetStatus ¶
func (m *DeliverResponse) GetStatus() common.Status
func (*DeliverResponse) GetType ¶
func (m *DeliverResponse) GetType() isDeliverResponse_Type
func (*DeliverResponse) ProtoMessage ¶
func (*DeliverResponse) ProtoMessage()
func (*DeliverResponse) Reset ¶
func (m *DeliverResponse) Reset()
func (*DeliverResponse) String ¶
func (m *DeliverResponse) String() string
func (*DeliverResponse) XXX_DiscardUnknown ¶
func (m *DeliverResponse) XXX_DiscardUnknown()
func (*DeliverResponse) XXX_Marshal ¶
func (m *DeliverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeliverResponse) XXX_Merge ¶
func (m *DeliverResponse) XXX_Merge(src proto.Message)
func (*DeliverResponse) XXX_OneofWrappers ¶
func (*DeliverResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DeliverResponse) XXX_Size ¶
func (m *DeliverResponse) XXX_Size() int
func (*DeliverResponse) XXX_Unmarshal ¶
func (m *DeliverResponse) XXX_Unmarshal(b []byte) error
type DeliverResponse_Block ¶
type DeliverResponse_Status ¶
type KafkaBrokers
deprecated
type KafkaBrokers struct { // Each broker here should be identified using the (IP|host):port notation, // e.g. 127.0.0.1:7050, or localhost:7050 are valid entries Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Carries a list of bootstrap brokers, i.e. this is not the exclusive set of brokers an ordering service
Deprecated: Do not use.
func (*KafkaBrokers) Descriptor ¶
func (*KafkaBrokers) Descriptor() ([]byte, []int)
func (*KafkaBrokers) GetBrokers ¶
func (m *KafkaBrokers) GetBrokers() []string
func (*KafkaBrokers) ProtoMessage ¶
func (*KafkaBrokers) ProtoMessage()
func (*KafkaBrokers) Reset ¶
func (m *KafkaBrokers) Reset()
func (*KafkaBrokers) String ¶
func (m *KafkaBrokers) String() string
func (*KafkaBrokers) XXX_DiscardUnknown ¶
func (m *KafkaBrokers) XXX_DiscardUnknown()
func (*KafkaBrokers) XXX_Marshal ¶
func (m *KafkaBrokers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KafkaBrokers) XXX_Merge ¶
func (m *KafkaBrokers) XXX_Merge(src proto.Message)
func (*KafkaBrokers) XXX_Size ¶
func (m *KafkaBrokers) XXX_Size() int
func (*KafkaBrokers) XXX_Unmarshal ¶
func (m *KafkaBrokers) XXX_Unmarshal(b []byte) error
type NodeAuthRequest ¶ added in v0.3.0
type NodeAuthRequest struct { // version represents the fields on which the signature is computed Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // signature is verifiable using the initiator's public key Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // timestamp indicates the freshness of the request; expected to be within the margin // of the responsder's local time Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // from_id is the numerical identifier of the initiator of the connection FromId uint64 `protobuf:"varint,4,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` // to_id is the numerical identifier of the node that is being connected to ToId uint64 `protobuf:"varint,5,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` // session_binding is verifiable using application level protocol SessionBinding []byte `protobuf:"bytes,6,opt,name=session_binding,json=sessionBinding,proto3" json:"session_binding,omitempty"` Channel string `protobuf:"bytes,7,opt,name=channel,proto3" json:"channel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NodeAuthRequest for authenticate the stream between the cluster members
func (*NodeAuthRequest) Descriptor ¶ added in v0.3.0
func (*NodeAuthRequest) Descriptor() ([]byte, []int)
func (*NodeAuthRequest) GetChannel ¶ added in v0.3.0
func (m *NodeAuthRequest) GetChannel() string
func (*NodeAuthRequest) GetFromId ¶ added in v0.3.0
func (m *NodeAuthRequest) GetFromId() uint64
func (*NodeAuthRequest) GetSessionBinding ¶ added in v0.3.0
func (m *NodeAuthRequest) GetSessionBinding() []byte
func (*NodeAuthRequest) GetSignature ¶ added in v0.3.0
func (m *NodeAuthRequest) GetSignature() []byte
func (*NodeAuthRequest) GetTimestamp ¶ added in v0.3.0
func (m *NodeAuthRequest) GetTimestamp() *timestamppb.Timestamp
func (*NodeAuthRequest) GetToId ¶ added in v0.3.0
func (m *NodeAuthRequest) GetToId() uint64
func (*NodeAuthRequest) GetVersion ¶ added in v0.3.0
func (m *NodeAuthRequest) GetVersion() uint32
func (*NodeAuthRequest) ProtoMessage ¶ added in v0.3.0
func (*NodeAuthRequest) ProtoMessage()
func (*NodeAuthRequest) Reset ¶ added in v0.3.0
func (m *NodeAuthRequest) Reset()
func (*NodeAuthRequest) String ¶ added in v0.3.0
func (m *NodeAuthRequest) String() string
func (*NodeAuthRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *NodeAuthRequest) XXX_DiscardUnknown()
func (*NodeAuthRequest) XXX_Marshal ¶ added in v0.3.0
func (m *NodeAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeAuthRequest) XXX_Merge ¶ added in v0.3.0
func (m *NodeAuthRequest) XXX_Merge(src proto.Message)
func (*NodeAuthRequest) XXX_Size ¶ added in v0.3.0
func (m *NodeAuthRequest) XXX_Size() int
func (*NodeAuthRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *NodeAuthRequest) XXX_Unmarshal(b []byte) error
type NodeConsensusRequest ¶ added in v0.3.0
type NodeConsensusRequest struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NodeConsensusRequest is a consensus specific message sent to a cluster member.
func (*NodeConsensusRequest) Descriptor ¶ added in v0.3.0
func (*NodeConsensusRequest) Descriptor() ([]byte, []int)
func (*NodeConsensusRequest) GetMetadata ¶ added in v0.3.0
func (m *NodeConsensusRequest) GetMetadata() []byte
func (*NodeConsensusRequest) GetPayload ¶ added in v0.3.0
func (m *NodeConsensusRequest) GetPayload() []byte
func (*NodeConsensusRequest) ProtoMessage ¶ added in v0.3.0
func (*NodeConsensusRequest) ProtoMessage()
func (*NodeConsensusRequest) Reset ¶ added in v0.3.0
func (m *NodeConsensusRequest) Reset()
func (*NodeConsensusRequest) String ¶ added in v0.3.0
func (m *NodeConsensusRequest) String() string
func (*NodeConsensusRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *NodeConsensusRequest) XXX_DiscardUnknown()
func (*NodeConsensusRequest) XXX_Marshal ¶ added in v0.3.0
func (m *NodeConsensusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeConsensusRequest) XXX_Merge ¶ added in v0.3.0
func (m *NodeConsensusRequest) XXX_Merge(src proto.Message)
func (*NodeConsensusRequest) XXX_Size ¶ added in v0.3.0
func (m *NodeConsensusRequest) XXX_Size() int
func (*NodeConsensusRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *NodeConsensusRequest) XXX_Unmarshal(b []byte) error
type NodeTransactionOrderRequest ¶ added in v0.3.0
type NodeTransactionOrderRequest struct { // last_validation_seq denotes the last configuration sequence at which the // sender validated this message. LastValidationSeq uint64 `protobuf:"varint,1,opt,name=last_validation_seq,json=lastValidationSeq,proto3" json:"last_validation_seq,omitempty"` // content is the fabric transaction // that is forwarded to the cluster member. Payload *common.Envelope `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NodeTransactionOrderRequest wraps a transaction to be sent for ordering.
func (*NodeTransactionOrderRequest) Descriptor ¶ added in v0.3.0
func (*NodeTransactionOrderRequest) Descriptor() ([]byte, []int)
func (*NodeTransactionOrderRequest) GetLastValidationSeq ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) GetLastValidationSeq() uint64
func (*NodeTransactionOrderRequest) GetPayload ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) GetPayload() *common.Envelope
func (*NodeTransactionOrderRequest) ProtoMessage ¶ added in v0.3.0
func (*NodeTransactionOrderRequest) ProtoMessage()
func (*NodeTransactionOrderRequest) Reset ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) Reset()
func (*NodeTransactionOrderRequest) String ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) String() string
func (*NodeTransactionOrderRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) XXX_DiscardUnknown()
func (*NodeTransactionOrderRequest) XXX_Marshal ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeTransactionOrderRequest) XXX_Merge ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) XXX_Merge(src proto.Message)
func (*NodeTransactionOrderRequest) XXX_Size ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) XXX_Size() int
func (*NodeTransactionOrderRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *NodeTransactionOrderRequest) XXX_Unmarshal(b []byte) error
type SeekInfo ¶
type SeekInfo struct { Start *SeekPosition `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` Stop *SeekPosition `protobuf:"bytes,2,opt,name=stop,proto3" json:"stop,omitempty"` Behavior SeekInfo_SeekBehavior `protobuf:"varint,3,opt,name=behavior,proto3,enum=orderer.SeekInfo_SeekBehavior" json:"behavior,omitempty"` ErrorResponse SeekInfo_SeekErrorResponse `` /* 141-byte string literal not displayed */ ContentType SeekInfo_SeekContentType `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SeekInfo specifies the range of requested blocks to return If the start position is not found, an error is immediately returned Otherwise, blocks are returned until a missing block is encountered, then behavior is dictated by the SeekBehavior specified.
func (*SeekInfo) Descriptor ¶
func (*SeekInfo) GetBehavior ¶
func (m *SeekInfo) GetBehavior() SeekInfo_SeekBehavior
func (*SeekInfo) GetContentType ¶ added in v0.3.0
func (m *SeekInfo) GetContentType() SeekInfo_SeekContentType
func (*SeekInfo) GetErrorResponse ¶
func (m *SeekInfo) GetErrorResponse() SeekInfo_SeekErrorResponse
func (*SeekInfo) GetStart ¶
func (m *SeekInfo) GetStart() *SeekPosition
func (*SeekInfo) GetStop ¶
func (m *SeekInfo) GetStop() *SeekPosition
func (*SeekInfo) ProtoMessage ¶
func (*SeekInfo) ProtoMessage()
func (*SeekInfo) XXX_DiscardUnknown ¶
func (m *SeekInfo) XXX_DiscardUnknown()
func (*SeekInfo) XXX_Marshal ¶
func (*SeekInfo) XXX_Unmarshal ¶
type SeekInfo_SeekBehavior ¶
type SeekInfo_SeekBehavior int32
If BLOCK_UNTIL_READY is specified, the reply will block until the requested blocks are available, if FAIL_IF_NOT_READY is specified, the reply will return an error indicating that the block is not found. To request that all blocks be returned indefinitely as they are created, behavior should be set to BLOCK_UNTIL_READY and the stop should be set to specified with a number of MAX_UINT64
const ( SeekInfo_BLOCK_UNTIL_READY SeekInfo_SeekBehavior = 0 SeekInfo_FAIL_IF_NOT_READY SeekInfo_SeekBehavior = 1 )
func (SeekInfo_SeekBehavior) EnumDescriptor ¶
func (SeekInfo_SeekBehavior) EnumDescriptor() ([]byte, []int)
func (SeekInfo_SeekBehavior) String ¶
func (x SeekInfo_SeekBehavior) String() string
type SeekInfo_SeekContentType ¶ added in v0.3.0
type SeekInfo_SeekContentType int32
SeekContentType indicates what type of content to deliver in response to a request. If BLOCK is specified, the orderer will stream blocks back to the peer. This is the default behavior. If HEADER_WITH_SIG is specified, the orderer will stream only a the header and the signature, and the payload field will be set to nil. This allows the requester to ascertain that the respective signed block exists in the orderer (or cluster of orderers).
const ( SeekInfo_BLOCK SeekInfo_SeekContentType = 0 SeekInfo_HEADER_WITH_SIG SeekInfo_SeekContentType = 1 )
func (SeekInfo_SeekContentType) EnumDescriptor ¶ added in v0.3.0
func (SeekInfo_SeekContentType) EnumDescriptor() ([]byte, []int)
func (SeekInfo_SeekContentType) String ¶ added in v0.3.0
func (x SeekInfo_SeekContentType) String() string
type SeekInfo_SeekErrorResponse ¶
type SeekInfo_SeekErrorResponse int32
SeekErrorTolerance indicates to the server how block provider errors should be tolerated. By default, if the deliver service detects a problem in the underlying block source (typically, in the orderer, a consenter error), it will begin to reject deliver requests. This is to prevent a client from waiting for blocks from an orderer which is stuck in an errored state. This is almost always the desired behavior and clients should stick with the default STRICT checking behavior. However, in some scenarios, particularly when attempting to recover from a crash or other corruption, it's desirable to force an orderer to respond with blocks on a best effort basis, even if the backing consensus implementation is in an errored state. In this case, set the SeekErrorResponse to BEST_EFFORT to ignore the consenter errors.
const ( SeekInfo_STRICT SeekInfo_SeekErrorResponse = 0 SeekInfo_BEST_EFFORT SeekInfo_SeekErrorResponse = 1 )
func (SeekInfo_SeekErrorResponse) EnumDescriptor ¶
func (SeekInfo_SeekErrorResponse) EnumDescriptor() ([]byte, []int)
func (SeekInfo_SeekErrorResponse) String ¶
func (x SeekInfo_SeekErrorResponse) String() string
type SeekNewest ¶
type SeekNewest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SeekNewest) Descriptor ¶
func (*SeekNewest) Descriptor() ([]byte, []int)
func (*SeekNewest) ProtoMessage ¶
func (*SeekNewest) ProtoMessage()
func (*SeekNewest) Reset ¶
func (m *SeekNewest) Reset()
func (*SeekNewest) String ¶
func (m *SeekNewest) String() string
func (*SeekNewest) XXX_DiscardUnknown ¶
func (m *SeekNewest) XXX_DiscardUnknown()
func (*SeekNewest) XXX_Marshal ¶
func (m *SeekNewest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeekNewest) XXX_Merge ¶
func (m *SeekNewest) XXX_Merge(src proto.Message)
func (*SeekNewest) XXX_Size ¶
func (m *SeekNewest) XXX_Size() int
func (*SeekNewest) XXX_Unmarshal ¶
func (m *SeekNewest) XXX_Unmarshal(b []byte) error
type SeekNextCommit ¶
type SeekNextCommit struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SeekNextCommit refers to the next block that will be committed
func (*SeekNextCommit) Descriptor ¶
func (*SeekNextCommit) Descriptor() ([]byte, []int)
func (*SeekNextCommit) ProtoMessage ¶
func (*SeekNextCommit) ProtoMessage()
func (*SeekNextCommit) Reset ¶
func (m *SeekNextCommit) Reset()
func (*SeekNextCommit) String ¶
func (m *SeekNextCommit) String() string
func (*SeekNextCommit) XXX_DiscardUnknown ¶
func (m *SeekNextCommit) XXX_DiscardUnknown()
func (*SeekNextCommit) XXX_Marshal ¶
func (m *SeekNextCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeekNextCommit) XXX_Merge ¶
func (m *SeekNextCommit) XXX_Merge(src proto.Message)
func (*SeekNextCommit) XXX_Size ¶
func (m *SeekNextCommit) XXX_Size() int
func (*SeekNextCommit) XXX_Unmarshal ¶
func (m *SeekNextCommit) XXX_Unmarshal(b []byte) error
type SeekOldest ¶
type SeekOldest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SeekOldest) Descriptor ¶
func (*SeekOldest) Descriptor() ([]byte, []int)
func (*SeekOldest) ProtoMessage ¶
func (*SeekOldest) ProtoMessage()
func (*SeekOldest) Reset ¶
func (m *SeekOldest) Reset()
func (*SeekOldest) String ¶
func (m *SeekOldest) String() string
func (*SeekOldest) XXX_DiscardUnknown ¶
func (m *SeekOldest) XXX_DiscardUnknown()
func (*SeekOldest) XXX_Marshal ¶
func (m *SeekOldest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeekOldest) XXX_Merge ¶
func (m *SeekOldest) XXX_Merge(src proto.Message)
func (*SeekOldest) XXX_Size ¶
func (m *SeekOldest) XXX_Size() int
func (*SeekOldest) XXX_Unmarshal ¶
func (m *SeekOldest) XXX_Unmarshal(b []byte) error
type SeekPosition ¶
type SeekPosition struct { // Types that are valid to be assigned to Type: // // *SeekPosition_Newest // *SeekPosition_Oldest // *SeekPosition_Specified // *SeekPosition_NextCommit Type isSeekPosition_Type `protobuf_oneof:"Type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SeekPosition) Descriptor ¶
func (*SeekPosition) Descriptor() ([]byte, []int)
func (*SeekPosition) GetNewest ¶
func (m *SeekPosition) GetNewest() *SeekNewest
func (*SeekPosition) GetNextCommit ¶
func (m *SeekPosition) GetNextCommit() *SeekNextCommit
func (*SeekPosition) GetOldest ¶
func (m *SeekPosition) GetOldest() *SeekOldest
func (*SeekPosition) GetSpecified ¶
func (m *SeekPosition) GetSpecified() *SeekSpecified
func (*SeekPosition) GetType ¶
func (m *SeekPosition) GetType() isSeekPosition_Type
func (*SeekPosition) ProtoMessage ¶
func (*SeekPosition) ProtoMessage()
func (*SeekPosition) Reset ¶
func (m *SeekPosition) Reset()
func (*SeekPosition) String ¶
func (m *SeekPosition) String() string
func (*SeekPosition) XXX_DiscardUnknown ¶
func (m *SeekPosition) XXX_DiscardUnknown()
func (*SeekPosition) XXX_Marshal ¶
func (m *SeekPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeekPosition) XXX_Merge ¶
func (m *SeekPosition) XXX_Merge(src proto.Message)
func (*SeekPosition) XXX_OneofWrappers ¶
func (*SeekPosition) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SeekPosition) XXX_Size ¶
func (m *SeekPosition) XXX_Size() int
func (*SeekPosition) XXX_Unmarshal ¶
func (m *SeekPosition) XXX_Unmarshal(b []byte) error
type SeekPosition_Newest ¶
type SeekPosition_Newest struct {
Newest *SeekNewest `protobuf:"bytes,1,opt,name=newest,proto3,oneof"`
}
type SeekPosition_NextCommit ¶
type SeekPosition_NextCommit struct {
NextCommit *SeekNextCommit `protobuf:"bytes,4,opt,name=next_commit,json=nextCommit,proto3,oneof"`
}
type SeekPosition_Oldest ¶
type SeekPosition_Oldest struct {
Oldest *SeekOldest `protobuf:"bytes,2,opt,name=oldest,proto3,oneof"`
}
type SeekPosition_Specified ¶
type SeekPosition_Specified struct {
Specified *SeekSpecified `protobuf:"bytes,3,opt,name=specified,proto3,oneof"`
}
type SeekSpecified ¶
type SeekSpecified struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SeekSpecified) Descriptor ¶
func (*SeekSpecified) Descriptor() ([]byte, []int)
func (*SeekSpecified) GetNumber ¶
func (m *SeekSpecified) GetNumber() uint64
func (*SeekSpecified) ProtoMessage ¶
func (*SeekSpecified) ProtoMessage()
func (*SeekSpecified) Reset ¶
func (m *SeekSpecified) Reset()
func (*SeekSpecified) String ¶
func (m *SeekSpecified) String() string
func (*SeekSpecified) XXX_DiscardUnknown ¶
func (m *SeekSpecified) XXX_DiscardUnknown()
func (*SeekSpecified) XXX_Marshal ¶
func (m *SeekSpecified) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SeekSpecified) XXX_Merge ¶
func (m *SeekSpecified) XXX_Merge(src proto.Message)
func (*SeekSpecified) XXX_Size ¶
func (m *SeekSpecified) XXX_Size() int
func (*SeekSpecified) XXX_Unmarshal ¶
func (m *SeekSpecified) XXX_Unmarshal(b []byte) error
type StepRequest ¶
type StepRequest struct { // Types that are valid to be assigned to Payload: // // *StepRequest_ConsensusRequest // *StepRequest_SubmitRequest Payload isStepRequest_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StepRequest wraps a message that is sent to a cluster member.
func (*StepRequest) Descriptor ¶
func (*StepRequest) Descriptor() ([]byte, []int)
func (*StepRequest) GetConsensusRequest ¶
func (m *StepRequest) GetConsensusRequest() *ConsensusRequest
func (*StepRequest) GetPayload ¶
func (m *StepRequest) GetPayload() isStepRequest_Payload
func (*StepRequest) GetSubmitRequest ¶
func (m *StepRequest) GetSubmitRequest() *SubmitRequest
func (*StepRequest) ProtoMessage ¶
func (*StepRequest) ProtoMessage()
func (*StepRequest) Reset ¶
func (m *StepRequest) Reset()
func (*StepRequest) String ¶
func (m *StepRequest) String() string
func (*StepRequest) XXX_DiscardUnknown ¶
func (m *StepRequest) XXX_DiscardUnknown()
func (*StepRequest) XXX_Marshal ¶
func (m *StepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StepRequest) XXX_Merge ¶
func (m *StepRequest) XXX_Merge(src proto.Message)
func (*StepRequest) XXX_OneofWrappers ¶
func (*StepRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StepRequest) XXX_Size ¶
func (m *StepRequest) XXX_Size() int
func (*StepRequest) XXX_Unmarshal ¶
func (m *StepRequest) XXX_Unmarshal(b []byte) error
type StepRequest_ConsensusRequest ¶
type StepRequest_ConsensusRequest struct {
ConsensusRequest *ConsensusRequest `protobuf:"bytes,1,opt,name=consensus_request,json=consensusRequest,proto3,oneof"`
}
type StepRequest_SubmitRequest ¶
type StepRequest_SubmitRequest struct {
SubmitRequest *SubmitRequest `protobuf:"bytes,2,opt,name=submit_request,json=submitRequest,proto3,oneof"`
}
type StepResponse ¶
type StepResponse struct { // Types that are valid to be assigned to Payload: // // *StepResponse_SubmitRes Payload isStepResponse_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StepResponse is a message received from a cluster member.
func (*StepResponse) Descriptor ¶
func (*StepResponse) Descriptor() ([]byte, []int)
func (*StepResponse) GetPayload ¶
func (m *StepResponse) GetPayload() isStepResponse_Payload
func (*StepResponse) GetSubmitRes ¶
func (m *StepResponse) GetSubmitRes() *SubmitResponse
func (*StepResponse) ProtoMessage ¶
func (*StepResponse) ProtoMessage()
func (*StepResponse) Reset ¶
func (m *StepResponse) Reset()
func (*StepResponse) String ¶
func (m *StepResponse) String() string
func (*StepResponse) XXX_DiscardUnknown ¶
func (m *StepResponse) XXX_DiscardUnknown()
func (*StepResponse) XXX_Marshal ¶
func (m *StepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StepResponse) XXX_Merge ¶
func (m *StepResponse) XXX_Merge(src proto.Message)
func (*StepResponse) XXX_OneofWrappers ¶
func (*StepResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StepResponse) XXX_Size ¶
func (m *StepResponse) XXX_Size() int
func (*StepResponse) XXX_Unmarshal ¶
func (m *StepResponse) XXX_Unmarshal(b []byte) error
type StepResponse_SubmitRes ¶
type StepResponse_SubmitRes struct {
SubmitRes *SubmitResponse `protobuf:"bytes,1,opt,name=submit_res,json=submitRes,proto3,oneof"`
}
type SubmitRequest ¶
type SubmitRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // last_validation_seq denotes the last // configuration sequence at which the // sender validated this message. LastValidationSeq uint64 `protobuf:"varint,2,opt,name=last_validation_seq,json=lastValidationSeq,proto3" json:"last_validation_seq,omitempty"` // content is the fabric transaction // that is forwarded to the cluster member. Payload *common.Envelope `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SubmitRequest wraps a transaction to be sent for ordering.
func (*SubmitRequest) Descriptor ¶
func (*SubmitRequest) Descriptor() ([]byte, []int)
func (*SubmitRequest) GetChannel ¶
func (m *SubmitRequest) GetChannel() string
func (*SubmitRequest) GetLastValidationSeq ¶
func (m *SubmitRequest) GetLastValidationSeq() uint64
func (*SubmitRequest) GetPayload ¶
func (m *SubmitRequest) GetPayload() *common.Envelope
func (*SubmitRequest) ProtoMessage ¶
func (*SubmitRequest) ProtoMessage()
func (*SubmitRequest) Reset ¶
func (m *SubmitRequest) Reset()
func (*SubmitRequest) String ¶
func (m *SubmitRequest) String() string
func (*SubmitRequest) XXX_DiscardUnknown ¶
func (m *SubmitRequest) XXX_DiscardUnknown()
func (*SubmitRequest) XXX_Marshal ¶
func (m *SubmitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitRequest) XXX_Merge ¶
func (m *SubmitRequest) XXX_Merge(src proto.Message)
func (*SubmitRequest) XXX_Size ¶
func (m *SubmitRequest) XXX_Size() int
func (*SubmitRequest) XXX_Unmarshal ¶
func (m *SubmitRequest) XXX_Unmarshal(b []byte) error
type SubmitResponse ¶
type SubmitResponse struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // Status code, which may be used to programatically respond to success/failure. Status common.Status `protobuf:"varint,2,opt,name=status,proto3,enum=common.Status" json:"status,omitempty"` // Info string which may contain additional information about the returned status. Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SubmitResponse returns a success or failure status to the sender.
func (*SubmitResponse) Descriptor ¶
func (*SubmitResponse) Descriptor() ([]byte, []int)
func (*SubmitResponse) GetChannel ¶
func (m *SubmitResponse) GetChannel() string
func (*SubmitResponse) GetInfo ¶
func (m *SubmitResponse) GetInfo() string
func (*SubmitResponse) GetStatus ¶
func (m *SubmitResponse) GetStatus() common.Status
func (*SubmitResponse) ProtoMessage ¶
func (*SubmitResponse) ProtoMessage()
func (*SubmitResponse) Reset ¶
func (m *SubmitResponse) Reset()
func (*SubmitResponse) String ¶
func (m *SubmitResponse) String() string
func (*SubmitResponse) XXX_DiscardUnknown ¶
func (m *SubmitResponse) XXX_DiscardUnknown()
func (*SubmitResponse) XXX_Marshal ¶
func (m *SubmitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitResponse) XXX_Merge ¶
func (m *SubmitResponse) XXX_Merge(src proto.Message)
func (*SubmitResponse) XXX_Size ¶
func (m *SubmitResponse) XXX_Size() int
func (*SubmitResponse) XXX_Unmarshal ¶
func (m *SubmitResponse) XXX_Unmarshal(b []byte) error
type TransactionOrderResponse ¶ added in v0.3.0
type TransactionOrderResponse struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` TxId string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // Status code, which may be used to programatically respond to success/failure. Status common.Status `protobuf:"varint,3,opt,name=status,proto3,enum=common.Status" json:"status,omitempty"` // Info string which may contain additional information about the returned status. Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TransactionOrderResponse returns a success or failure status to the sender.
func (*TransactionOrderResponse) Descriptor ¶ added in v0.3.0
func (*TransactionOrderResponse) Descriptor() ([]byte, []int)
func (*TransactionOrderResponse) GetChannel ¶ added in v0.3.0
func (m *TransactionOrderResponse) GetChannel() string
func (*TransactionOrderResponse) GetInfo ¶ added in v0.3.0
func (m *TransactionOrderResponse) GetInfo() string
func (*TransactionOrderResponse) GetStatus ¶ added in v0.3.0
func (m *TransactionOrderResponse) GetStatus() common.Status
func (*TransactionOrderResponse) GetTxId ¶ added in v0.3.0
func (m *TransactionOrderResponse) GetTxId() string
func (*TransactionOrderResponse) ProtoMessage ¶ added in v0.3.0
func (*TransactionOrderResponse) ProtoMessage()
func (*TransactionOrderResponse) Reset ¶ added in v0.3.0
func (m *TransactionOrderResponse) Reset()
func (*TransactionOrderResponse) String ¶ added in v0.3.0
func (m *TransactionOrderResponse) String() string
func (*TransactionOrderResponse) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TransactionOrderResponse) XXX_DiscardUnknown()
func (*TransactionOrderResponse) XXX_Marshal ¶ added in v0.3.0
func (m *TransactionOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionOrderResponse) XXX_Merge ¶ added in v0.3.0
func (m *TransactionOrderResponse) XXX_Merge(src proto.Message)
func (*TransactionOrderResponse) XXX_Size ¶ added in v0.3.0
func (m *TransactionOrderResponse) XXX_Size() int
func (*TransactionOrderResponse) XXX_Unmarshal ¶ added in v0.3.0
func (m *TransactionOrderResponse) XXX_Unmarshal(b []byte) error
type UnimplementedAtomicBroadcastServer ¶
type UnimplementedAtomicBroadcastServer struct { }
UnimplementedAtomicBroadcastServer can be embedded to have forward compatible implementations.
func (*UnimplementedAtomicBroadcastServer) Broadcast ¶
func (*UnimplementedAtomicBroadcastServer) Broadcast(srv AtomicBroadcast_BroadcastServer) error
func (*UnimplementedAtomicBroadcastServer) Deliver ¶
func (*UnimplementedAtomicBroadcastServer) Deliver(srv AtomicBroadcast_DeliverServer) error
type UnimplementedBlockAttestationsServer ¶ added in v0.3.0
type UnimplementedBlockAttestationsServer struct { }
UnimplementedBlockAttestationsServer can be embedded to have forward compatible implementations.
func (*UnimplementedBlockAttestationsServer) BlockAttestations ¶ added in v0.3.0
func (*UnimplementedBlockAttestationsServer) BlockAttestations(req *common.Envelope, srv BlockAttestations_BlockAttestationsServer) error
type UnimplementedClusterNodeServiceServer ¶ added in v0.3.0
type UnimplementedClusterNodeServiceServer struct { }
UnimplementedClusterNodeServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterNodeServiceServer) Step ¶ added in v0.3.0
func (*UnimplementedClusterNodeServiceServer) Step(srv ClusterNodeService_StepServer) error
type UnimplementedClusterServer ¶
type UnimplementedClusterServer struct { }
UnimplementedClusterServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterServer) Step ¶
func (*UnimplementedClusterServer) Step(srv Cluster_StepServer) error