Documentation ¶
Index ¶
- Variables
- func RegisterCoreServer(s *grpc.Server, srv CoreServer)
- func RegisterPlatformServer(s *grpc.Server, srv PlatformServer)
- func RegisterTransactionsFilterStreamServer(s *grpc.Server, srv TransactionsFilterStreamServer)
- type ApplyStateTransitionRequest
- func (*ApplyStateTransitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyStateTransitionRequest) GetStateTransition() []byte
- func (*ApplyStateTransitionRequest) ProtoMessage()
- func (x *ApplyStateTransitionRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyStateTransitionRequest) Reset()
- func (x *ApplyStateTransitionRequest) String() string
- type ApplyStateTransitionResponse
- func (*ApplyStateTransitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*ApplyStateTransitionResponse) ProtoMessage()
- func (x *ApplyStateTransitionResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyStateTransitionResponse) Reset()
- func (x *ApplyStateTransitionResponse) String() string
- type BlockHeaders
- type BlockHeadersWithChainLocksRequest
- func (*BlockHeadersWithChainLocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeadersWithChainLocksRequest) GetCount() uint32
- func (m *BlockHeadersWithChainLocksRequest) GetFromBlock() isBlockHeadersWithChainLocksRequest_FromBlock
- func (x *BlockHeadersWithChainLocksRequest) GetFromBlockHash() []byte
- func (x *BlockHeadersWithChainLocksRequest) GetFromBlockHeight() uint32
- func (*BlockHeadersWithChainLocksRequest) ProtoMessage()
- func (x *BlockHeadersWithChainLocksRequest) ProtoReflect() protoreflect.Message
- func (x *BlockHeadersWithChainLocksRequest) Reset()
- func (x *BlockHeadersWithChainLocksRequest) String() string
- type BlockHeadersWithChainLocksRequest_FromBlockHash
- type BlockHeadersWithChainLocksRequest_FromBlockHeight
- type BlockHeadersWithChainLocksResponse
- func (*BlockHeadersWithChainLocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeadersWithChainLocksResponse) GetBlockHeaders() *BlockHeaders
- func (x *BlockHeadersWithChainLocksResponse) GetChainLockSignatureMessages() *ChainLockSignatureMessages
- func (m *BlockHeadersWithChainLocksResponse) GetResponses() isBlockHeadersWithChainLocksResponse_Responses
- func (*BlockHeadersWithChainLocksResponse) ProtoMessage()
- func (x *BlockHeadersWithChainLocksResponse) ProtoReflect() protoreflect.Message
- func (x *BlockHeadersWithChainLocksResponse) Reset()
- func (x *BlockHeadersWithChainLocksResponse) String() string
- type BlockHeadersWithChainLocksResponse_BlockHeaders
- type BlockHeadersWithChainLocksResponse_ChainLockSignatureMessages
- type BloomFilter
- func (*BloomFilter) Descriptor() ([]byte, []int)deprecated
- func (x *BloomFilter) GetNFlags() uint32
- func (x *BloomFilter) GetNHashFuncs() uint32
- func (x *BloomFilter) GetNTweak() uint32
- func (x *BloomFilter) GetVData() []byte
- func (*BloomFilter) ProtoMessage()
- func (x *BloomFilter) ProtoReflect() protoreflect.Message
- func (x *BloomFilter) Reset()
- func (x *BloomFilter) String() string
- type ChainLockSignatureMessages
- func (*ChainLockSignatureMessages) Descriptor() ([]byte, []int)deprecated
- func (x *ChainLockSignatureMessages) GetMessages() [][]byte
- func (*ChainLockSignatureMessages) ProtoMessage()
- func (x *ChainLockSignatureMessages) ProtoReflect() protoreflect.Message
- func (x *ChainLockSignatureMessages) Reset()
- func (x *ChainLockSignatureMessages) String() string
- type CoreClient
- type CoreServer
- type Core_SubscribeToBlockHeadersWithChainLocksClient
- type Core_SubscribeToBlockHeadersWithChainLocksServer
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetBlockRequest) GetBlock() isGetBlockRequest_Block
- func (x *GetBlockRequest) GetHash() string
- func (x *GetBlockRequest) GetHeight() uint32
- func (*GetBlockRequest) ProtoMessage()
- func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockRequest) Reset()
- func (x *GetBlockRequest) String() string
- type GetBlockRequest_Hash
- type GetBlockRequest_Height
- type GetBlockResponse
- type GetDataContractRequest
- func (*GetDataContractRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDataContractRequest) GetId() string
- func (*GetDataContractRequest) ProtoMessage()
- func (x *GetDataContractRequest) ProtoReflect() protoreflect.Message
- func (x *GetDataContractRequest) Reset()
- func (x *GetDataContractRequest) String() string
- type GetDataContractResponse
- func (*GetDataContractResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDataContractResponse) GetDataContract() []byte
- func (*GetDataContractResponse) ProtoMessage()
- func (x *GetDataContractResponse) ProtoReflect() protoreflect.Message
- func (x *GetDataContractResponse) Reset()
- func (x *GetDataContractResponse) String() string
- type GetDocumentsRequest
- func (*GetDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentsRequest) GetDataContractId() string
- func (x *GetDocumentsRequest) GetDocumentType() string
- func (x *GetDocumentsRequest) GetLimit() uint32
- func (x *GetDocumentsRequest) GetOrderBy() []byte
- func (m *GetDocumentsRequest) GetStart() isGetDocumentsRequest_Start
- func (x *GetDocumentsRequest) GetStartAfter() uint32
- func (x *GetDocumentsRequest) GetStartAt() uint32
- func (x *GetDocumentsRequest) GetWhere() []byte
- func (*GetDocumentsRequest) ProtoMessage()
- func (x *GetDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentsRequest) Reset()
- func (x *GetDocumentsRequest) String() string
- type GetDocumentsRequest_StartAfter
- type GetDocumentsRequest_StartAt
- type GetDocumentsResponse
- func (*GetDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDocumentsResponse) GetDocuments() [][]byte
- func (*GetDocumentsResponse) ProtoMessage()
- func (x *GetDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDocumentsResponse) Reset()
- func (x *GetDocumentsResponse) String() string
- type GetEstimatedTransactionFeeRequest
- func (*GetEstimatedTransactionFeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstimatedTransactionFeeRequest) GetBlocks() uint32
- func (*GetEstimatedTransactionFeeRequest) ProtoMessage()
- func (x *GetEstimatedTransactionFeeRequest) ProtoReflect() protoreflect.Message
- func (x *GetEstimatedTransactionFeeRequest) Reset()
- func (x *GetEstimatedTransactionFeeRequest) String() string
- type GetEstimatedTransactionFeeResponse
- func (*GetEstimatedTransactionFeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstimatedTransactionFeeResponse) GetFee() float64
- func (*GetEstimatedTransactionFeeResponse) ProtoMessage()
- func (x *GetEstimatedTransactionFeeResponse) ProtoReflect() protoreflect.Message
- func (x *GetEstimatedTransactionFeeResponse) Reset()
- func (x *GetEstimatedTransactionFeeResponse) String() string
- type GetIdentityByFirstPublicKeyRequest
- func (*GetIdentityByFirstPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityByFirstPublicKeyRequest) GetPublicKeyHash() []byte
- func (*GetIdentityByFirstPublicKeyRequest) ProtoMessage()
- func (x *GetIdentityByFirstPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityByFirstPublicKeyRequest) Reset()
- func (x *GetIdentityByFirstPublicKeyRequest) String() string
- type GetIdentityByFirstPublicKeyResponse
- func (*GetIdentityByFirstPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityByFirstPublicKeyResponse) GetIdentity() []byte
- func (*GetIdentityByFirstPublicKeyResponse) ProtoMessage()
- func (x *GetIdentityByFirstPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityByFirstPublicKeyResponse) Reset()
- func (x *GetIdentityByFirstPublicKeyResponse) String() string
- type GetIdentityIdByFirstPublicKeyRequest
- func (*GetIdentityIdByFirstPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityIdByFirstPublicKeyRequest) GetPublicKeyHash() []byte
- func (*GetIdentityIdByFirstPublicKeyRequest) ProtoMessage()
- func (x *GetIdentityIdByFirstPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityIdByFirstPublicKeyRequest) Reset()
- func (x *GetIdentityIdByFirstPublicKeyRequest) String() string
- type GetIdentityIdByFirstPublicKeyResponse
- func (*GetIdentityIdByFirstPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityIdByFirstPublicKeyResponse) GetId() string
- func (*GetIdentityIdByFirstPublicKeyResponse) ProtoMessage()
- func (x *GetIdentityIdByFirstPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityIdByFirstPublicKeyResponse) Reset()
- func (x *GetIdentityIdByFirstPublicKeyResponse) String() string
- type GetIdentityRequest
- type GetIdentityResponse
- func (*GetIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityResponse) GetIdentity() []byte
- func (*GetIdentityResponse) ProtoMessage()
- func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityResponse) Reset()
- func (x *GetIdentityResponse) String() string
- type GetStatusRequest
- type GetStatusResponse
- func (*GetStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatusResponse) GetBlocks() uint32
- func (x *GetStatusResponse) GetConnections() uint32
- func (x *GetStatusResponse) GetCoreVersion() uint32
- func (x *GetStatusResponse) GetDifficulty() float64
- func (x *GetStatusResponse) GetErrors() string
- func (x *GetStatusResponse) GetNetwork() string
- func (x *GetStatusResponse) GetProtocolVersion() uint32
- func (x *GetStatusResponse) GetProxy() string
- func (x *GetStatusResponse) GetRelayFee() float64
- func (x *GetStatusResponse) GetTestnet() bool
- func (x *GetStatusResponse) GetTimeOffset() uint32
- func (*GetStatusResponse) ProtoMessage()
- func (x *GetStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetStatusResponse) Reset()
- func (x *GetStatusResponse) String() string
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionRequest) GetId() string
- func (*GetTransactionRequest) ProtoMessage()
- func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionRequest) Reset()
- func (x *GetTransactionRequest) String() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetTransaction() []byte
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (x *GetTransactionResponse) String() string
- type InstantSendLockMessages
- func (*InstantSendLockMessages) Descriptor() ([]byte, []int)deprecated
- func (x *InstantSendLockMessages) GetMessages() [][]byte
- func (*InstantSendLockMessages) ProtoMessage()
- func (x *InstantSendLockMessages) ProtoReflect() protoreflect.Message
- func (x *InstantSendLockMessages) Reset()
- func (x *InstantSendLockMessages) String() string
- type PlatformClient
- type PlatformServer
- type RawTransactions
- type SendTransactionRequest
- func (*SendTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendTransactionRequest) GetAllowHighFees() bool
- func (x *SendTransactionRequest) GetBypassLimits() bool
- func (x *SendTransactionRequest) GetTransaction() []byte
- func (*SendTransactionRequest) ProtoMessage()
- func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SendTransactionRequest) Reset()
- func (x *SendTransactionRequest) String() string
- type SendTransactionResponse
- func (*SendTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendTransactionResponse) GetTransactionId() string
- func (*SendTransactionResponse) ProtoMessage()
- func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SendTransactionResponse) Reset()
- func (x *SendTransactionResponse) String() string
- type TransactionsFilterStreamClient
- type TransactionsFilterStreamServer
- type TransactionsFilterStream_SubscribeToTransactionsWithProofsClient
- type TransactionsFilterStream_SubscribeToTransactionsWithProofsServer
- type TransactionsWithProofsRequest
- func (*TransactionsWithProofsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsWithProofsRequest) GetBloomFilter() *BloomFilter
- func (x *TransactionsWithProofsRequest) GetCount() uint32
- func (m *TransactionsWithProofsRequest) GetFromBlock() isTransactionsWithProofsRequest_FromBlock
- func (x *TransactionsWithProofsRequest) GetFromBlockHash() []byte
- func (x *TransactionsWithProofsRequest) GetFromBlockHeight() uint32
- func (x *TransactionsWithProofsRequest) GetSendTransactionHashes() bool
- func (*TransactionsWithProofsRequest) ProtoMessage()
- func (x *TransactionsWithProofsRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionsWithProofsRequest) Reset()
- func (x *TransactionsWithProofsRequest) String() string
- type TransactionsWithProofsRequest_FromBlockHash
- type TransactionsWithProofsRequest_FromBlockHeight
- type TransactionsWithProofsResponse
- func (*TransactionsWithProofsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsWithProofsResponse) GetInstantSendLockMessages() *InstantSendLockMessages
- func (x *TransactionsWithProofsResponse) GetRawMerkleBlock() []byte
- func (x *TransactionsWithProofsResponse) GetRawTransactions() *RawTransactions
- func (m *TransactionsWithProofsResponse) GetResponses() isTransactionsWithProofsResponse_Responses
- func (*TransactionsWithProofsResponse) ProtoMessage()
- func (x *TransactionsWithProofsResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionsWithProofsResponse) Reset()
- func (x *TransactionsWithProofsResponse) String() string
- type TransactionsWithProofsResponse_InstantSendLockMessages
- type TransactionsWithProofsResponse_RawMerkleBlock
- type TransactionsWithProofsResponse_RawTransactions
- type UnimplementedCoreServer
- func (*UnimplementedCoreServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
- func (*UnimplementedCoreServer) GetEstimatedTransactionFee(context.Context, *GetEstimatedTransactionFeeRequest) (*GetEstimatedTransactionFeeResponse, error)
- func (*UnimplementedCoreServer) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
- func (*UnimplementedCoreServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
- func (*UnimplementedCoreServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
- func (*UnimplementedCoreServer) SubscribeToBlockHeadersWithChainLocks(*BlockHeadersWithChainLocksRequest, ...) error
- type UnimplementedPlatformServer
- func (*UnimplementedPlatformServer) ApplyStateTransition(context.Context, *ApplyStateTransitionRequest) (*ApplyStateTransitionResponse, error)
- func (*UnimplementedPlatformServer) GetDataContract(context.Context, *GetDataContractRequest) (*GetDataContractResponse, error)
- func (*UnimplementedPlatformServer) GetDocuments(context.Context, *GetDocumentsRequest) (*GetDocumentsResponse, error)
- func (*UnimplementedPlatformServer) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
- func (*UnimplementedPlatformServer) GetIdentityByFirstPublicKey(context.Context, *GetIdentityByFirstPublicKeyRequest) (*GetIdentityByFirstPublicKeyResponse, error)
- func (*UnimplementedPlatformServer) GetIdentityIdByFirstPublicKey(context.Context, *GetIdentityIdByFirstPublicKeyRequest) (*GetIdentityIdByFirstPublicKeyResponse, error)
- type UnimplementedTransactionsFilterStreamServer
Constants ¶
This section is empty.
Variables ¶
var File_grpc_protos_core_proto protoreflect.FileDescriptor
var File_grpc_protos_platform_proto protoreflect.FileDescriptor
var File_grpc_protos_transactions_filter_stream_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoreServer ¶
func RegisterCoreServer(s *grpc.Server, srv CoreServer)
func RegisterPlatformServer ¶
func RegisterPlatformServer(s *grpc.Server, srv PlatformServer)
func RegisterTransactionsFilterStreamServer ¶
func RegisterTransactionsFilterStreamServer(s *grpc.Server, srv TransactionsFilterStreamServer)
Types ¶
type ApplyStateTransitionRequest ¶
type ApplyStateTransitionRequest struct { StateTransition []byte `protobuf:"bytes,1,opt,name=state_transition,json=stateTransition,proto3" json:"state_transition,omitempty"` // contains filtered or unexported fields }
func (*ApplyStateTransitionRequest) Descriptor
deprecated
func (*ApplyStateTransitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyStateTransitionRequest.ProtoReflect.Descriptor instead.
func (*ApplyStateTransitionRequest) GetStateTransition ¶
func (x *ApplyStateTransitionRequest) GetStateTransition() []byte
func (*ApplyStateTransitionRequest) ProtoMessage ¶
func (*ApplyStateTransitionRequest) ProtoMessage()
func (*ApplyStateTransitionRequest) ProtoReflect ¶
func (x *ApplyStateTransitionRequest) ProtoReflect() protoreflect.Message
func (*ApplyStateTransitionRequest) Reset ¶
func (x *ApplyStateTransitionRequest) Reset()
func (*ApplyStateTransitionRequest) String ¶
func (x *ApplyStateTransitionRequest) String() string
type ApplyStateTransitionResponse ¶
type ApplyStateTransitionResponse struct {
// contains filtered or unexported fields
}
func (*ApplyStateTransitionResponse) Descriptor
deprecated
func (*ApplyStateTransitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyStateTransitionResponse.ProtoReflect.Descriptor instead.
func (*ApplyStateTransitionResponse) ProtoMessage ¶
func (*ApplyStateTransitionResponse) ProtoMessage()
func (*ApplyStateTransitionResponse) ProtoReflect ¶
func (x *ApplyStateTransitionResponse) ProtoReflect() protoreflect.Message
func (*ApplyStateTransitionResponse) Reset ¶
func (x *ApplyStateTransitionResponse) Reset()
func (*ApplyStateTransitionResponse) String ¶
func (x *ApplyStateTransitionResponse) String() string
type BlockHeaders ¶
type BlockHeaders struct { Headers [][]byte `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*BlockHeaders) Descriptor
deprecated
func (*BlockHeaders) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeaders.ProtoReflect.Descriptor instead.
func (*BlockHeaders) GetHeaders ¶
func (x *BlockHeaders) GetHeaders() [][]byte
func (*BlockHeaders) ProtoMessage ¶
func (*BlockHeaders) ProtoMessage()
func (*BlockHeaders) ProtoReflect ¶
func (x *BlockHeaders) ProtoReflect() protoreflect.Message
func (*BlockHeaders) Reset ¶
func (x *BlockHeaders) Reset()
func (*BlockHeaders) String ¶
func (x *BlockHeaders) String() string
type BlockHeadersWithChainLocksRequest ¶
type BlockHeadersWithChainLocksRequest struct { // Types that are assignable to FromBlock: // *BlockHeadersWithChainLocksRequest_FromBlockHash // *BlockHeadersWithChainLocksRequest_FromBlockHeight FromBlock isBlockHeadersWithChainLocksRequest_FromBlock `protobuf_oneof:"from_block"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*BlockHeadersWithChainLocksRequest) Descriptor
deprecated
func (*BlockHeadersWithChainLocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeadersWithChainLocksRequest.ProtoReflect.Descriptor instead.
func (*BlockHeadersWithChainLocksRequest) GetCount ¶
func (x *BlockHeadersWithChainLocksRequest) GetCount() uint32
func (*BlockHeadersWithChainLocksRequest) GetFromBlock ¶
func (m *BlockHeadersWithChainLocksRequest) GetFromBlock() isBlockHeadersWithChainLocksRequest_FromBlock
func (*BlockHeadersWithChainLocksRequest) GetFromBlockHash ¶
func (x *BlockHeadersWithChainLocksRequest) GetFromBlockHash() []byte
func (*BlockHeadersWithChainLocksRequest) GetFromBlockHeight ¶
func (x *BlockHeadersWithChainLocksRequest) GetFromBlockHeight() uint32
func (*BlockHeadersWithChainLocksRequest) ProtoMessage ¶
func (*BlockHeadersWithChainLocksRequest) ProtoMessage()
func (*BlockHeadersWithChainLocksRequest) ProtoReflect ¶
func (x *BlockHeadersWithChainLocksRequest) ProtoReflect() protoreflect.Message
func (*BlockHeadersWithChainLocksRequest) Reset ¶
func (x *BlockHeadersWithChainLocksRequest) Reset()
func (*BlockHeadersWithChainLocksRequest) String ¶
func (x *BlockHeadersWithChainLocksRequest) String() string
type BlockHeadersWithChainLocksRequest_FromBlockHash ¶
type BlockHeadersWithChainLocksRequest_FromBlockHash struct {
FromBlockHash []byte `protobuf:"bytes,1,opt,name=from_block_hash,json=fromBlockHash,proto3,oneof"`
}
type BlockHeadersWithChainLocksRequest_FromBlockHeight ¶
type BlockHeadersWithChainLocksRequest_FromBlockHeight struct {
FromBlockHeight uint32 `protobuf:"varint,2,opt,name=from_block_height,json=fromBlockHeight,proto3,oneof"`
}
type BlockHeadersWithChainLocksResponse ¶
type BlockHeadersWithChainLocksResponse struct { // Types that are assignable to Responses: // *BlockHeadersWithChainLocksResponse_BlockHeaders // *BlockHeadersWithChainLocksResponse_ChainLockSignatureMessages Responses isBlockHeadersWithChainLocksResponse_Responses `protobuf_oneof:"responses"` // contains filtered or unexported fields }
func (*BlockHeadersWithChainLocksResponse) Descriptor
deprecated
func (*BlockHeadersWithChainLocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeadersWithChainLocksResponse.ProtoReflect.Descriptor instead.
func (*BlockHeadersWithChainLocksResponse) GetBlockHeaders ¶
func (x *BlockHeadersWithChainLocksResponse) GetBlockHeaders() *BlockHeaders
func (*BlockHeadersWithChainLocksResponse) GetChainLockSignatureMessages ¶
func (x *BlockHeadersWithChainLocksResponse) GetChainLockSignatureMessages() *ChainLockSignatureMessages
func (*BlockHeadersWithChainLocksResponse) GetResponses ¶
func (m *BlockHeadersWithChainLocksResponse) GetResponses() isBlockHeadersWithChainLocksResponse_Responses
func (*BlockHeadersWithChainLocksResponse) ProtoMessage ¶
func (*BlockHeadersWithChainLocksResponse) ProtoMessage()
func (*BlockHeadersWithChainLocksResponse) ProtoReflect ¶
func (x *BlockHeadersWithChainLocksResponse) ProtoReflect() protoreflect.Message
func (*BlockHeadersWithChainLocksResponse) Reset ¶
func (x *BlockHeadersWithChainLocksResponse) Reset()
func (*BlockHeadersWithChainLocksResponse) String ¶
func (x *BlockHeadersWithChainLocksResponse) String() string
type BlockHeadersWithChainLocksResponse_BlockHeaders ¶
type BlockHeadersWithChainLocksResponse_BlockHeaders struct {
BlockHeaders *BlockHeaders `protobuf:"bytes,1,opt,name=block_headers,json=blockHeaders,proto3,oneof"`
}
type BlockHeadersWithChainLocksResponse_ChainLockSignatureMessages ¶
type BlockHeadersWithChainLocksResponse_ChainLockSignatureMessages struct {
ChainLockSignatureMessages *ChainLockSignatureMessages `protobuf:"bytes,2,opt,name=chain_lock_signature_messages,json=chainLockSignatureMessages,proto3,oneof"`
}
type BloomFilter ¶
type BloomFilter struct { VData []byte `protobuf:"bytes,1,opt,name=v_data,json=vData,proto3" json:"v_data,omitempty"` NHashFuncs uint32 `protobuf:"varint,2,opt,name=n_hash_funcs,json=nHashFuncs,proto3" json:"n_hash_funcs,omitempty"` NTweak uint32 `protobuf:"varint,3,opt,name=n_tweak,json=nTweak,proto3" json:"n_tweak,omitempty"` NFlags uint32 `protobuf:"varint,4,opt,name=n_flags,json=nFlags,proto3" json:"n_flags,omitempty"` // contains filtered or unexported fields }
func (*BloomFilter) Descriptor
deprecated
func (*BloomFilter) Descriptor() ([]byte, []int)
Deprecated: Use BloomFilter.ProtoReflect.Descriptor instead.
func (*BloomFilter) GetNFlags ¶
func (x *BloomFilter) GetNFlags() uint32
func (*BloomFilter) GetNHashFuncs ¶
func (x *BloomFilter) GetNHashFuncs() uint32
func (*BloomFilter) GetNTweak ¶
func (x *BloomFilter) GetNTweak() uint32
func (*BloomFilter) GetVData ¶
func (x *BloomFilter) GetVData() []byte
func (*BloomFilter) ProtoMessage ¶
func (*BloomFilter) ProtoMessage()
func (*BloomFilter) ProtoReflect ¶
func (x *BloomFilter) ProtoReflect() protoreflect.Message
func (*BloomFilter) Reset ¶
func (x *BloomFilter) Reset()
func (*BloomFilter) String ¶
func (x *BloomFilter) String() string
type ChainLockSignatureMessages ¶
type ChainLockSignatureMessages struct { Messages [][]byte `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ChainLockSignatureMessages) Descriptor
deprecated
func (*ChainLockSignatureMessages) Descriptor() ([]byte, []int)
Deprecated: Use ChainLockSignatureMessages.ProtoReflect.Descriptor instead.
func (*ChainLockSignatureMessages) GetMessages ¶
func (x *ChainLockSignatureMessages) GetMessages() [][]byte
func (*ChainLockSignatureMessages) ProtoMessage ¶
func (*ChainLockSignatureMessages) ProtoMessage()
func (*ChainLockSignatureMessages) ProtoReflect ¶
func (x *ChainLockSignatureMessages) ProtoReflect() protoreflect.Message
func (*ChainLockSignatureMessages) Reset ¶
func (x *ChainLockSignatureMessages) Reset()
func (*ChainLockSignatureMessages) String ¶
func (x *ChainLockSignatureMessages) String() string
type CoreClient ¶
type CoreClient interface { GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error) GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error) GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) GetEstimatedTransactionFee(ctx context.Context, in *GetEstimatedTransactionFeeRequest, opts ...grpc.CallOption) (*GetEstimatedTransactionFeeResponse, error) SubscribeToBlockHeadersWithChainLocks(ctx context.Context, in *BlockHeadersWithChainLocksRequest, opts ...grpc.CallOption) (Core_SubscribeToBlockHeadersWithChainLocksClient, error) }
CoreClient is the client API for Core service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCoreClient ¶
func NewCoreClient(cc grpc.ClientConnInterface) CoreClient
type CoreServer ¶
type CoreServer interface { GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) GetEstimatedTransactionFee(context.Context, *GetEstimatedTransactionFeeRequest) (*GetEstimatedTransactionFeeResponse, error) SubscribeToBlockHeadersWithChainLocks(*BlockHeadersWithChainLocksRequest, Core_SubscribeToBlockHeadersWithChainLocksServer) error }
CoreServer is the server API for Core service.
type Core_SubscribeToBlockHeadersWithChainLocksClient ¶
type Core_SubscribeToBlockHeadersWithChainLocksClient interface { Recv() (*BlockHeadersWithChainLocksResponse, error) grpc.ClientStream }
type Core_SubscribeToBlockHeadersWithChainLocksServer ¶
type Core_SubscribeToBlockHeadersWithChainLocksServer interface { Send(*BlockHeadersWithChainLocksResponse) error grpc.ServerStream }
type GetBlockRequest ¶
type GetBlockRequest struct { // Types that are assignable to Block: // *GetBlockRequest_Height // *GetBlockRequest_Hash Block isGetBlockRequest_Block `protobuf_oneof:"block"` // contains filtered or unexported fields }
func (*GetBlockRequest) Descriptor
deprecated
func (*GetBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
func (*GetBlockRequest) GetBlock ¶
func (m *GetBlockRequest) GetBlock() isGetBlockRequest_Block
func (*GetBlockRequest) GetHash ¶
func (x *GetBlockRequest) GetHash() string
func (*GetBlockRequest) GetHeight ¶
func (x *GetBlockRequest) GetHeight() uint32
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) ProtoReflect ¶
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
type GetBlockRequest_Hash ¶
type GetBlockRequest_Hash struct {
Hash string `protobuf:"bytes,2,opt,name=hash,proto3,oneof"`
}
type GetBlockRequest_Height ¶
type GetBlockRequest_Height struct {
Height uint32 `protobuf:"varint,1,opt,name=height,proto3,oneof"`
}
type GetBlockResponse ¶
type GetBlockResponse struct { Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*GetBlockResponse) Descriptor
deprecated
func (*GetBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.
func (*GetBlockResponse) GetBlock ¶
func (x *GetBlockResponse) GetBlock() []byte
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) ProtoReflect ¶
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
type GetDataContractRequest ¶
type GetDataContractRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDataContractRequest) Descriptor
deprecated
func (*GetDataContractRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDataContractRequest.ProtoReflect.Descriptor instead.
func (*GetDataContractRequest) GetId ¶
func (x *GetDataContractRequest) GetId() string
func (*GetDataContractRequest) ProtoMessage ¶
func (*GetDataContractRequest) ProtoMessage()
func (*GetDataContractRequest) ProtoReflect ¶
func (x *GetDataContractRequest) ProtoReflect() protoreflect.Message
func (*GetDataContractRequest) Reset ¶
func (x *GetDataContractRequest) Reset()
func (*GetDataContractRequest) String ¶
func (x *GetDataContractRequest) String() string
type GetDataContractResponse ¶
type GetDataContractResponse struct { DataContract []byte `protobuf:"bytes,1,opt,name=data_contract,json=dataContract,proto3" json:"data_contract,omitempty"` // contains filtered or unexported fields }
func (*GetDataContractResponse) Descriptor
deprecated
func (*GetDataContractResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDataContractResponse.ProtoReflect.Descriptor instead.
func (*GetDataContractResponse) GetDataContract ¶
func (x *GetDataContractResponse) GetDataContract() []byte
func (*GetDataContractResponse) ProtoMessage ¶
func (*GetDataContractResponse) ProtoMessage()
func (*GetDataContractResponse) ProtoReflect ¶
func (x *GetDataContractResponse) ProtoReflect() protoreflect.Message
func (*GetDataContractResponse) Reset ¶
func (x *GetDataContractResponse) Reset()
func (*GetDataContractResponse) String ¶
func (x *GetDataContractResponse) String() string
type GetDocumentsRequest ¶
type GetDocumentsRequest struct { DataContractId string `protobuf:"bytes,1,opt,name=data_contract_id,json=dataContractId,proto3" json:"data_contract_id,omitempty"` DocumentType string `protobuf:"bytes,2,opt,name=document_type,json=documentType,proto3" json:"document_type,omitempty"` Where []byte `protobuf:"bytes,3,opt,name=where,proto3" json:"where,omitempty"` OrderBy []byte `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // Types that are assignable to Start: // *GetDocumentsRequest_StartAfter // *GetDocumentsRequest_StartAt Start isGetDocumentsRequest_Start `protobuf_oneof:"start"` // contains filtered or unexported fields }
func (*GetDocumentsRequest) Descriptor
deprecated
func (*GetDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentsRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentsRequest) GetDataContractId ¶
func (x *GetDocumentsRequest) GetDataContractId() string
func (*GetDocumentsRequest) GetDocumentType ¶
func (x *GetDocumentsRequest) GetDocumentType() string
func (*GetDocumentsRequest) GetLimit ¶
func (x *GetDocumentsRequest) GetLimit() uint32
func (*GetDocumentsRequest) GetOrderBy ¶
func (x *GetDocumentsRequest) GetOrderBy() []byte
func (*GetDocumentsRequest) GetStart ¶
func (m *GetDocumentsRequest) GetStart() isGetDocumentsRequest_Start
func (*GetDocumentsRequest) GetStartAfter ¶
func (x *GetDocumentsRequest) GetStartAfter() uint32
func (*GetDocumentsRequest) GetStartAt ¶
func (x *GetDocumentsRequest) GetStartAt() uint32
func (*GetDocumentsRequest) GetWhere ¶
func (x *GetDocumentsRequest) GetWhere() []byte
func (*GetDocumentsRequest) ProtoMessage ¶
func (*GetDocumentsRequest) ProtoMessage()
func (*GetDocumentsRequest) ProtoReflect ¶
func (x *GetDocumentsRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentsRequest) Reset ¶
func (x *GetDocumentsRequest) Reset()
func (*GetDocumentsRequest) String ¶
func (x *GetDocumentsRequest) String() string
type GetDocumentsRequest_StartAfter ¶
type GetDocumentsRequest_StartAfter struct {
StartAfter uint32 `protobuf:"varint,6,opt,name=start_after,json=startAfter,proto3,oneof"`
}
type GetDocumentsRequest_StartAt ¶
type GetDocumentsRequest_StartAt struct {
StartAt uint32 `protobuf:"varint,7,opt,name=start_at,json=startAt,proto3,oneof"`
}
type GetDocumentsResponse ¶
type GetDocumentsResponse struct { Documents [][]byte `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` // contains filtered or unexported fields }
func (*GetDocumentsResponse) Descriptor
deprecated
func (*GetDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentsResponse.ProtoReflect.Descriptor instead.
func (*GetDocumentsResponse) GetDocuments ¶
func (x *GetDocumentsResponse) GetDocuments() [][]byte
func (*GetDocumentsResponse) ProtoMessage ¶
func (*GetDocumentsResponse) ProtoMessage()
func (*GetDocumentsResponse) ProtoReflect ¶
func (x *GetDocumentsResponse) ProtoReflect() protoreflect.Message
func (*GetDocumentsResponse) Reset ¶
func (x *GetDocumentsResponse) Reset()
func (*GetDocumentsResponse) String ¶
func (x *GetDocumentsResponse) String() string
type GetEstimatedTransactionFeeRequest ¶
type GetEstimatedTransactionFeeRequest struct { Blocks uint32 `protobuf:"varint,1,opt,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*GetEstimatedTransactionFeeRequest) Descriptor
deprecated
func (*GetEstimatedTransactionFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEstimatedTransactionFeeRequest.ProtoReflect.Descriptor instead.
func (*GetEstimatedTransactionFeeRequest) GetBlocks ¶
func (x *GetEstimatedTransactionFeeRequest) GetBlocks() uint32
func (*GetEstimatedTransactionFeeRequest) ProtoMessage ¶
func (*GetEstimatedTransactionFeeRequest) ProtoMessage()
func (*GetEstimatedTransactionFeeRequest) ProtoReflect ¶
func (x *GetEstimatedTransactionFeeRequest) ProtoReflect() protoreflect.Message
func (*GetEstimatedTransactionFeeRequest) Reset ¶
func (x *GetEstimatedTransactionFeeRequest) Reset()
func (*GetEstimatedTransactionFeeRequest) String ¶
func (x *GetEstimatedTransactionFeeRequest) String() string
type GetEstimatedTransactionFeeResponse ¶
type GetEstimatedTransactionFeeResponse struct { Fee float64 `protobuf:"fixed64,1,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
func (*GetEstimatedTransactionFeeResponse) Descriptor
deprecated
func (*GetEstimatedTransactionFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEstimatedTransactionFeeResponse.ProtoReflect.Descriptor instead.
func (*GetEstimatedTransactionFeeResponse) GetFee ¶
func (x *GetEstimatedTransactionFeeResponse) GetFee() float64
func (*GetEstimatedTransactionFeeResponse) ProtoMessage ¶
func (*GetEstimatedTransactionFeeResponse) ProtoMessage()
func (*GetEstimatedTransactionFeeResponse) ProtoReflect ¶
func (x *GetEstimatedTransactionFeeResponse) ProtoReflect() protoreflect.Message
func (*GetEstimatedTransactionFeeResponse) Reset ¶
func (x *GetEstimatedTransactionFeeResponse) Reset()
func (*GetEstimatedTransactionFeeResponse) String ¶
func (x *GetEstimatedTransactionFeeResponse) String() string
type GetIdentityByFirstPublicKeyRequest ¶ added in v0.2.0
type GetIdentityByFirstPublicKeyRequest struct { PublicKeyHash []byte `protobuf:"bytes,1,opt,name=public_key_hash,json=publicKeyHash,proto3" json:"public_key_hash,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityByFirstPublicKeyRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetIdentityByFirstPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityByFirstPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityByFirstPublicKeyRequest) GetPublicKeyHash ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyRequest) GetPublicKeyHash() []byte
func (*GetIdentityByFirstPublicKeyRequest) ProtoMessage ¶ added in v0.2.0
func (*GetIdentityByFirstPublicKeyRequest) ProtoMessage()
func (*GetIdentityByFirstPublicKeyRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityByFirstPublicKeyRequest) Reset ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyRequest) Reset()
func (*GetIdentityByFirstPublicKeyRequest) String ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyRequest) String() string
type GetIdentityByFirstPublicKeyResponse ¶ added in v0.2.0
type GetIdentityByFirstPublicKeyResponse struct { Identity []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityByFirstPublicKeyResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetIdentityByFirstPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityByFirstPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityByFirstPublicKeyResponse) GetIdentity ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyResponse) GetIdentity() []byte
func (*GetIdentityByFirstPublicKeyResponse) ProtoMessage ¶ added in v0.2.0
func (*GetIdentityByFirstPublicKeyResponse) ProtoMessage()
func (*GetIdentityByFirstPublicKeyResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityByFirstPublicKeyResponse) Reset ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyResponse) Reset()
func (*GetIdentityByFirstPublicKeyResponse) String ¶ added in v0.2.0
func (x *GetIdentityByFirstPublicKeyResponse) String() string
type GetIdentityIdByFirstPublicKeyRequest ¶ added in v0.2.0
type GetIdentityIdByFirstPublicKeyRequest struct { PublicKeyHash []byte `protobuf:"bytes,1,opt,name=public_key_hash,json=publicKeyHash,proto3" json:"public_key_hash,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityIdByFirstPublicKeyRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetIdentityIdByFirstPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityIdByFirstPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityIdByFirstPublicKeyRequest) GetPublicKeyHash ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyRequest) GetPublicKeyHash() []byte
func (*GetIdentityIdByFirstPublicKeyRequest) ProtoMessage ¶ added in v0.2.0
func (*GetIdentityIdByFirstPublicKeyRequest) ProtoMessage()
func (*GetIdentityIdByFirstPublicKeyRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityIdByFirstPublicKeyRequest) Reset ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyRequest) Reset()
func (*GetIdentityIdByFirstPublicKeyRequest) String ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyRequest) String() string
type GetIdentityIdByFirstPublicKeyResponse ¶ added in v0.2.0
type GetIdentityIdByFirstPublicKeyResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityIdByFirstPublicKeyResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetIdentityIdByFirstPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityIdByFirstPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityIdByFirstPublicKeyResponse) GetId ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyResponse) GetId() string
func (*GetIdentityIdByFirstPublicKeyResponse) ProtoMessage ¶ added in v0.2.0
func (*GetIdentityIdByFirstPublicKeyResponse) ProtoMessage()
func (*GetIdentityIdByFirstPublicKeyResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityIdByFirstPublicKeyResponse) Reset ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyResponse) Reset()
func (*GetIdentityIdByFirstPublicKeyResponse) String ¶ added in v0.2.0
func (x *GetIdentityIdByFirstPublicKeyResponse) String() string
type GetIdentityRequest ¶
type GetIdentityRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityRequest) Descriptor
deprecated
func (*GetIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityRequest) GetId ¶
func (x *GetIdentityRequest) GetId() string
func (*GetIdentityRequest) ProtoMessage ¶
func (*GetIdentityRequest) ProtoMessage()
func (*GetIdentityRequest) ProtoReflect ¶
func (x *GetIdentityRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityRequest) Reset ¶
func (x *GetIdentityRequest) Reset()
func (*GetIdentityRequest) String ¶
func (x *GetIdentityRequest) String() string
type GetIdentityResponse ¶
type GetIdentityResponse struct { Identity []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityResponse) Descriptor
deprecated
func (*GetIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityResponse) GetIdentity ¶
func (x *GetIdentityResponse) GetIdentity() []byte
func (*GetIdentityResponse) ProtoMessage ¶
func (*GetIdentityResponse) ProtoMessage()
func (*GetIdentityResponse) ProtoReflect ¶
func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityResponse) Reset ¶
func (x *GetIdentityResponse) Reset()
func (*GetIdentityResponse) String ¶
func (x *GetIdentityResponse) String() string
type GetStatusRequest ¶
type GetStatusRequest struct {
// contains filtered or unexported fields
}
func (*GetStatusRequest) Descriptor
deprecated
func (*GetStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.
func (*GetStatusRequest) ProtoMessage ¶
func (*GetStatusRequest) ProtoMessage()
func (*GetStatusRequest) ProtoReflect ¶
func (x *GetStatusRequest) ProtoReflect() protoreflect.Message
func (*GetStatusRequest) Reset ¶
func (x *GetStatusRequest) Reset()
func (*GetStatusRequest) String ¶
func (x *GetStatusRequest) String() string
type GetStatusResponse ¶
type GetStatusResponse struct { CoreVersion uint32 `protobuf:"varint,1,opt,name=core_version,json=coreVersion,proto3" json:"core_version,omitempty"` ProtocolVersion uint32 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` Blocks uint32 `protobuf:"varint,3,opt,name=blocks,proto3" json:"blocks,omitempty"` TimeOffset uint32 `protobuf:"varint,4,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` Connections uint32 `protobuf:"varint,5,opt,name=connections,proto3" json:"connections,omitempty"` Proxy string `protobuf:"bytes,6,opt,name=proxy,proto3" json:"proxy,omitempty"` Difficulty float64 `protobuf:"fixed64,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"` Testnet bool `protobuf:"varint,8,opt,name=testnet,proto3" json:"testnet,omitempty"` RelayFee float64 `protobuf:"fixed64,9,opt,name=relay_fee,json=relayFee,proto3" json:"relay_fee,omitempty"` Errors string `protobuf:"bytes,10,opt,name=errors,proto3" json:"errors,omitempty"` Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*GetStatusResponse) Descriptor
deprecated
func (*GetStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.
func (*GetStatusResponse) GetBlocks ¶
func (x *GetStatusResponse) GetBlocks() uint32
func (*GetStatusResponse) GetConnections ¶
func (x *GetStatusResponse) GetConnections() uint32
func (*GetStatusResponse) GetCoreVersion ¶
func (x *GetStatusResponse) GetCoreVersion() uint32
func (*GetStatusResponse) GetDifficulty ¶
func (x *GetStatusResponse) GetDifficulty() float64
func (*GetStatusResponse) GetErrors ¶
func (x *GetStatusResponse) GetErrors() string
func (*GetStatusResponse) GetNetwork ¶
func (x *GetStatusResponse) GetNetwork() string
func (*GetStatusResponse) GetProtocolVersion ¶
func (x *GetStatusResponse) GetProtocolVersion() uint32
func (*GetStatusResponse) GetProxy ¶
func (x *GetStatusResponse) GetProxy() string
func (*GetStatusResponse) GetRelayFee ¶
func (x *GetStatusResponse) GetRelayFee() float64
func (*GetStatusResponse) GetTestnet ¶
func (x *GetStatusResponse) GetTestnet() bool
func (*GetStatusResponse) GetTimeOffset ¶
func (x *GetStatusResponse) GetTimeOffset() uint32
func (*GetStatusResponse) ProtoMessage ¶
func (*GetStatusResponse) ProtoMessage()
func (*GetStatusResponse) ProtoReflect ¶
func (x *GetStatusResponse) ProtoReflect() protoreflect.Message
func (*GetStatusResponse) Reset ¶
func (x *GetStatusResponse) Reset()
func (*GetStatusResponse) String ¶
func (x *GetStatusResponse) String() string
type GetTransactionRequest ¶
type GetTransactionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionRequest) Descriptor
deprecated
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionRequest) GetId ¶
func (x *GetTransactionRequest) GetId() string
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) ProtoReflect ¶
func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionRequest) Reset ¶
func (x *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (x *GetTransactionRequest) String() string
type GetTransactionResponse ¶
type GetTransactionResponse struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetTransaction ¶
func (x *GetTransactionResponse) GetTransaction() []byte
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) ProtoReflect ¶
func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionResponse) Reset ¶
func (x *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (x *GetTransactionResponse) String() string
type InstantSendLockMessages ¶
type InstantSendLockMessages struct { Messages [][]byte `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*InstantSendLockMessages) Descriptor
deprecated
func (*InstantSendLockMessages) Descriptor() ([]byte, []int)
Deprecated: Use InstantSendLockMessages.ProtoReflect.Descriptor instead.
func (*InstantSendLockMessages) GetMessages ¶
func (x *InstantSendLockMessages) GetMessages() [][]byte
func (*InstantSendLockMessages) ProtoMessage ¶
func (*InstantSendLockMessages) ProtoMessage()
func (*InstantSendLockMessages) ProtoReflect ¶
func (x *InstantSendLockMessages) ProtoReflect() protoreflect.Message
func (*InstantSendLockMessages) Reset ¶
func (x *InstantSendLockMessages) Reset()
func (*InstantSendLockMessages) String ¶
func (x *InstantSendLockMessages) String() string
type PlatformClient ¶
type PlatformClient interface { ApplyStateTransition(ctx context.Context, in *ApplyStateTransitionRequest, opts ...grpc.CallOption) (*ApplyStateTransitionResponse, error) GetIdentity(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error) GetDataContract(ctx context.Context, in *GetDataContractRequest, opts ...grpc.CallOption) (*GetDataContractResponse, error) GetDocuments(ctx context.Context, in *GetDocumentsRequest, opts ...grpc.CallOption) (*GetDocumentsResponse, error) GetIdentityByFirstPublicKey(ctx context.Context, in *GetIdentityByFirstPublicKeyRequest, opts ...grpc.CallOption) (*GetIdentityByFirstPublicKeyResponse, error) GetIdentityIdByFirstPublicKey(ctx context.Context, in *GetIdentityIdByFirstPublicKeyRequest, opts ...grpc.CallOption) (*GetIdentityIdByFirstPublicKeyResponse, error) }
PlatformClient is the client API for Platform service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPlatformClient ¶
func NewPlatformClient(cc grpc.ClientConnInterface) PlatformClient
type PlatformServer ¶
type PlatformServer interface { ApplyStateTransition(context.Context, *ApplyStateTransitionRequest) (*ApplyStateTransitionResponse, error) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error) GetDataContract(context.Context, *GetDataContractRequest) (*GetDataContractResponse, error) GetDocuments(context.Context, *GetDocumentsRequest) (*GetDocumentsResponse, error) GetIdentityByFirstPublicKey(context.Context, *GetIdentityByFirstPublicKeyRequest) (*GetIdentityByFirstPublicKeyResponse, error) GetIdentityIdByFirstPublicKey(context.Context, *GetIdentityIdByFirstPublicKeyRequest) (*GetIdentityIdByFirstPublicKeyResponse, error) }
PlatformServer is the server API for Platform service.
type RawTransactions ¶
type RawTransactions struct { Transactions [][]byte `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*RawTransactions) Descriptor
deprecated
func (*RawTransactions) Descriptor() ([]byte, []int)
Deprecated: Use RawTransactions.ProtoReflect.Descriptor instead.
func (*RawTransactions) GetTransactions ¶
func (x *RawTransactions) GetTransactions() [][]byte
func (*RawTransactions) ProtoMessage ¶
func (*RawTransactions) ProtoMessage()
func (*RawTransactions) ProtoReflect ¶
func (x *RawTransactions) ProtoReflect() protoreflect.Message
func (*RawTransactions) Reset ¶
func (x *RawTransactions) Reset()
func (*RawTransactions) String ¶
func (x *RawTransactions) String() string
type SendTransactionRequest ¶
type SendTransactionRequest struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` AllowHighFees bool `protobuf:"varint,2,opt,name=allow_high_fees,json=allowHighFees,proto3" json:"allow_high_fees,omitempty"` BypassLimits bool `protobuf:"varint,3,opt,name=bypass_limits,json=bypassLimits,proto3" json:"bypass_limits,omitempty"` // contains filtered or unexported fields }
func (*SendTransactionRequest) Descriptor
deprecated
func (*SendTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead.
func (*SendTransactionRequest) GetAllowHighFees ¶
func (x *SendTransactionRequest) GetAllowHighFees() bool
func (*SendTransactionRequest) GetBypassLimits ¶
func (x *SendTransactionRequest) GetBypassLimits() bool
func (*SendTransactionRequest) GetTransaction ¶
func (x *SendTransactionRequest) GetTransaction() []byte
func (*SendTransactionRequest) ProtoMessage ¶
func (*SendTransactionRequest) ProtoMessage()
func (*SendTransactionRequest) ProtoReflect ¶
func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message
func (*SendTransactionRequest) Reset ¶
func (x *SendTransactionRequest) Reset()
func (*SendTransactionRequest) String ¶
func (x *SendTransactionRequest) String() string
type SendTransactionResponse ¶
type SendTransactionResponse struct { TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
func (*SendTransactionResponse) Descriptor
deprecated
func (*SendTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead.
func (*SendTransactionResponse) GetTransactionId ¶
func (x *SendTransactionResponse) GetTransactionId() string
func (*SendTransactionResponse) ProtoMessage ¶
func (*SendTransactionResponse) ProtoMessage()
func (*SendTransactionResponse) ProtoReflect ¶
func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message
func (*SendTransactionResponse) Reset ¶
func (x *SendTransactionResponse) Reset()
func (*SendTransactionResponse) String ¶
func (x *SendTransactionResponse) String() string
type TransactionsFilterStreamClient ¶
type TransactionsFilterStreamClient interface {
SubscribeToTransactionsWithProofs(ctx context.Context, in *TransactionsWithProofsRequest, opts ...grpc.CallOption) (TransactionsFilterStream_SubscribeToTransactionsWithProofsClient, error)
}
TransactionsFilterStreamClient is the client API for TransactionsFilterStream service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactionsFilterStreamClient ¶
func NewTransactionsFilterStreamClient(cc grpc.ClientConnInterface) TransactionsFilterStreamClient
type TransactionsFilterStreamServer ¶
type TransactionsFilterStreamServer interface {
SubscribeToTransactionsWithProofs(*TransactionsWithProofsRequest, TransactionsFilterStream_SubscribeToTransactionsWithProofsServer) error
}
TransactionsFilterStreamServer is the server API for TransactionsFilterStream service.
type TransactionsFilterStream_SubscribeToTransactionsWithProofsClient ¶
type TransactionsFilterStream_SubscribeToTransactionsWithProofsClient interface { Recv() (*TransactionsWithProofsResponse, error) grpc.ClientStream }
type TransactionsFilterStream_SubscribeToTransactionsWithProofsServer ¶
type TransactionsFilterStream_SubscribeToTransactionsWithProofsServer interface { Send(*TransactionsWithProofsResponse) error grpc.ServerStream }
type TransactionsWithProofsRequest ¶
type TransactionsWithProofsRequest struct { BloomFilter *BloomFilter `protobuf:"bytes,1,opt,name=bloom_filter,json=bloomFilter,proto3" json:"bloom_filter,omitempty"` // Types that are assignable to FromBlock: // *TransactionsWithProofsRequest_FromBlockHash // *TransactionsWithProofsRequest_FromBlockHeight FromBlock isTransactionsWithProofsRequest_FromBlock `protobuf_oneof:"from_block"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` SendTransactionHashes bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TransactionsWithProofsRequest) Descriptor
deprecated
func (*TransactionsWithProofsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsWithProofsRequest.ProtoReflect.Descriptor instead.
func (*TransactionsWithProofsRequest) GetBloomFilter ¶
func (x *TransactionsWithProofsRequest) GetBloomFilter() *BloomFilter
func (*TransactionsWithProofsRequest) GetCount ¶
func (x *TransactionsWithProofsRequest) GetCount() uint32
func (*TransactionsWithProofsRequest) GetFromBlock ¶
func (m *TransactionsWithProofsRequest) GetFromBlock() isTransactionsWithProofsRequest_FromBlock
func (*TransactionsWithProofsRequest) GetFromBlockHash ¶
func (x *TransactionsWithProofsRequest) GetFromBlockHash() []byte
func (*TransactionsWithProofsRequest) GetFromBlockHeight ¶
func (x *TransactionsWithProofsRequest) GetFromBlockHeight() uint32
func (*TransactionsWithProofsRequest) GetSendTransactionHashes ¶
func (x *TransactionsWithProofsRequest) GetSendTransactionHashes() bool
func (*TransactionsWithProofsRequest) ProtoMessage ¶
func (*TransactionsWithProofsRequest) ProtoMessage()
func (*TransactionsWithProofsRequest) ProtoReflect ¶
func (x *TransactionsWithProofsRequest) ProtoReflect() protoreflect.Message
func (*TransactionsWithProofsRequest) Reset ¶
func (x *TransactionsWithProofsRequest) Reset()
func (*TransactionsWithProofsRequest) String ¶
func (x *TransactionsWithProofsRequest) String() string
type TransactionsWithProofsRequest_FromBlockHash ¶
type TransactionsWithProofsRequest_FromBlockHash struct {
FromBlockHash []byte `protobuf:"bytes,2,opt,name=from_block_hash,json=fromBlockHash,proto3,oneof"`
}
type TransactionsWithProofsRequest_FromBlockHeight ¶
type TransactionsWithProofsRequest_FromBlockHeight struct {
FromBlockHeight uint32 `protobuf:"varint,3,opt,name=from_block_height,json=fromBlockHeight,proto3,oneof"`
}
type TransactionsWithProofsResponse ¶
type TransactionsWithProofsResponse struct { // Types that are assignable to Responses: // *TransactionsWithProofsResponse_RawTransactions // *TransactionsWithProofsResponse_InstantSendLockMessages // *TransactionsWithProofsResponse_RawMerkleBlock Responses isTransactionsWithProofsResponse_Responses `protobuf_oneof:"responses"` // contains filtered or unexported fields }
func (*TransactionsWithProofsResponse) Descriptor
deprecated
func (*TransactionsWithProofsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsWithProofsResponse.ProtoReflect.Descriptor instead.
func (*TransactionsWithProofsResponse) GetInstantSendLockMessages ¶
func (x *TransactionsWithProofsResponse) GetInstantSendLockMessages() *InstantSendLockMessages
func (*TransactionsWithProofsResponse) GetRawMerkleBlock ¶
func (x *TransactionsWithProofsResponse) GetRawMerkleBlock() []byte
func (*TransactionsWithProofsResponse) GetRawTransactions ¶
func (x *TransactionsWithProofsResponse) GetRawTransactions() *RawTransactions
func (*TransactionsWithProofsResponse) GetResponses ¶
func (m *TransactionsWithProofsResponse) GetResponses() isTransactionsWithProofsResponse_Responses
func (*TransactionsWithProofsResponse) ProtoMessage ¶
func (*TransactionsWithProofsResponse) ProtoMessage()
func (*TransactionsWithProofsResponse) ProtoReflect ¶
func (x *TransactionsWithProofsResponse) ProtoReflect() protoreflect.Message
func (*TransactionsWithProofsResponse) Reset ¶
func (x *TransactionsWithProofsResponse) Reset()
func (*TransactionsWithProofsResponse) String ¶
func (x *TransactionsWithProofsResponse) String() string
type TransactionsWithProofsResponse_InstantSendLockMessages ¶
type TransactionsWithProofsResponse_InstantSendLockMessages struct {
InstantSendLockMessages *InstantSendLockMessages `protobuf:"bytes,2,opt,name=instant_send_lock_messages,json=instantSendLockMessages,proto3,oneof"`
}
type TransactionsWithProofsResponse_RawMerkleBlock ¶
type TransactionsWithProofsResponse_RawMerkleBlock struct {
RawMerkleBlock []byte `protobuf:"bytes,3,opt,name=raw_merkle_block,json=rawMerkleBlock,proto3,oneof"`
}
type TransactionsWithProofsResponse_RawTransactions ¶
type TransactionsWithProofsResponse_RawTransactions struct {
RawTransactions *RawTransactions `protobuf:"bytes,1,opt,name=raw_transactions,json=rawTransactions,proto3,oneof"`
}
type UnimplementedCoreServer ¶
type UnimplementedCoreServer struct { }
UnimplementedCoreServer can be embedded to have forward compatible implementations.
func (*UnimplementedCoreServer) GetBlock ¶
func (*UnimplementedCoreServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
func (*UnimplementedCoreServer) GetEstimatedTransactionFee ¶
func (*UnimplementedCoreServer) GetEstimatedTransactionFee(context.Context, *GetEstimatedTransactionFeeRequest) (*GetEstimatedTransactionFeeResponse, error)
func (*UnimplementedCoreServer) GetStatus ¶
func (*UnimplementedCoreServer) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
func (*UnimplementedCoreServer) GetTransaction ¶
func (*UnimplementedCoreServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
func (*UnimplementedCoreServer) SendTransaction ¶
func (*UnimplementedCoreServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
func (*UnimplementedCoreServer) SubscribeToBlockHeadersWithChainLocks ¶
func (*UnimplementedCoreServer) SubscribeToBlockHeadersWithChainLocks(*BlockHeadersWithChainLocksRequest, Core_SubscribeToBlockHeadersWithChainLocksServer) error
type UnimplementedPlatformServer ¶
type UnimplementedPlatformServer struct { }
UnimplementedPlatformServer can be embedded to have forward compatible implementations.
func (*UnimplementedPlatformServer) ApplyStateTransition ¶
func (*UnimplementedPlatformServer) ApplyStateTransition(context.Context, *ApplyStateTransitionRequest) (*ApplyStateTransitionResponse, error)
func (*UnimplementedPlatformServer) GetDataContract ¶
func (*UnimplementedPlatformServer) GetDataContract(context.Context, *GetDataContractRequest) (*GetDataContractResponse, error)
func (*UnimplementedPlatformServer) GetDocuments ¶
func (*UnimplementedPlatformServer) GetDocuments(context.Context, *GetDocumentsRequest) (*GetDocumentsResponse, error)
func (*UnimplementedPlatformServer) GetIdentity ¶
func (*UnimplementedPlatformServer) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
func (*UnimplementedPlatformServer) GetIdentityByFirstPublicKey ¶ added in v0.2.0
func (*UnimplementedPlatformServer) GetIdentityByFirstPublicKey(context.Context, *GetIdentityByFirstPublicKeyRequest) (*GetIdentityByFirstPublicKeyResponse, error)
func (*UnimplementedPlatformServer) GetIdentityIdByFirstPublicKey ¶ added in v0.2.0
func (*UnimplementedPlatformServer) GetIdentityIdByFirstPublicKey(context.Context, *GetIdentityIdByFirstPublicKeyRequest) (*GetIdentityIdByFirstPublicKeyResponse, error)
type UnimplementedTransactionsFilterStreamServer ¶
type UnimplementedTransactionsFilterStreamServer struct { }
UnimplementedTransactionsFilterStreamServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransactionsFilterStreamServer) SubscribeToTransactionsWithProofs ¶
func (*UnimplementedTransactionsFilterStreamServer) SubscribeToTransactionsWithProofs(*TransactionsWithProofsRequest, TransactionsFilterStream_SubscribeToTransactionsWithProofsServer) error