Documentation ¶
Overview ¶
Package data is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisterTypes(registry types.InterfaceRegistry)
- type AccountKeeper
- type AnchorInfo
- func (*AnchorInfo) Descriptor() ([]byte, []int)
- func (m *AnchorInfo) GetContentHash() *ContentHash
- func (m *AnchorInfo) GetIri() string
- func (m *AnchorInfo) GetTimestamp() *types.Timestamp
- func (m *AnchorInfo) Marshal() (dAtA []byte, err error)
- func (m *AnchorInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *AnchorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnchorInfo) ProtoMessage()
- func (m *AnchorInfo) Reset()
- func (m *AnchorInfo) Size() (n int)
- func (m *AnchorInfo) String() string
- func (m *AnchorInfo) Unmarshal(dAtA []byte) error
- func (m *AnchorInfo) XXX_DiscardUnknown()
- func (m *AnchorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnchorInfo) XXX_Merge(src proto.Message)
- func (m *AnchorInfo) XXX_Size() int
- func (m *AnchorInfo) XXX_Unmarshal(b []byte) error
- type AttestationInfo
- func (*AttestationInfo) Descriptor() ([]byte, []int)
- func (m *AttestationInfo) GetAttestor() string
- func (m *AttestationInfo) GetIri() string
- func (m *AttestationInfo) GetTimestamp() *types.Timestamp
- func (m *AttestationInfo) Marshal() (dAtA []byte, err error)
- func (m *AttestationInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *AttestationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttestationInfo) ProtoMessage()
- func (m *AttestationInfo) Reset()
- func (m *AttestationInfo) Size() (n int)
- func (m *AttestationInfo) String() string
- func (m *AttestationInfo) Unmarshal(dAtA []byte) error
- func (m *AttestationInfo) XXX_DiscardUnknown()
- func (m *AttestationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationInfo) XXX_Merge(src proto.Message)
- func (m *AttestationInfo) XXX_Size() int
- func (m *AttestationInfo) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type ContentHash
- func (*ContentHash) Descriptor() ([]byte, []int)
- func (m *ContentHash) GetGraph() *ContentHash_Graph
- func (m *ContentHash) GetRaw() *ContentHash_Raw
- func (m *ContentHash) Marshal() (dAtA []byte, err error)
- func (m *ContentHash) MarshalTo(dAtA []byte) (int, error)
- func (m *ContentHash) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContentHash) ProtoMessage()
- func (m *ContentHash) Reset()
- func (m *ContentHash) Size() (n int)
- func (m *ContentHash) String() string
- func (ch ContentHash) ToIRI() (string, error)
- func (m *ContentHash) Unmarshal(dAtA []byte) error
- func (ch ContentHash) Validate() error
- func (m *ContentHash) XXX_DiscardUnknown()
- func (m *ContentHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContentHash) XXX_Merge(src proto.Message)
- func (m *ContentHash) XXX_Size() int
- func (m *ContentHash) XXX_Unmarshal(b []byte) error
- type ContentHash_Graph
- func (*ContentHash_Graph) Descriptor() ([]byte, []int)
- func (m *ContentHash_Graph) GetCanonicalizationAlgorithm() uint32
- func (m *ContentHash_Graph) GetDigestAlgorithm() uint32
- func (m *ContentHash_Graph) GetHash() []byte
- func (m *ContentHash_Graph) GetMerkleTree() uint32
- func (m *ContentHash_Graph) Marshal() (dAtA []byte, err error)
- func (m *ContentHash_Graph) MarshalTo(dAtA []byte) (int, error)
- func (m *ContentHash_Graph) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContentHash_Graph) ProtoMessage()
- func (m *ContentHash_Graph) Reset()
- func (m *ContentHash_Graph) Size() (n int)
- func (m *ContentHash_Graph) String() string
- func (chg ContentHash_Graph) ToIRI() (string, error)
- func (m *ContentHash_Graph) Unmarshal(dAtA []byte) error
- func (chg *ContentHash_Graph) Validate() error
- func (m *ContentHash_Graph) XXX_DiscardUnknown()
- func (m *ContentHash_Graph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContentHash_Graph) XXX_Merge(src proto.Message)
- func (m *ContentHash_Graph) XXX_Size() int
- func (m *ContentHash_Graph) XXX_Unmarshal(b []byte) error
- type ContentHash_Raw
- func (*ContentHash_Raw) Descriptor() ([]byte, []int)
- func (m *ContentHash_Raw) GetDigestAlgorithm() uint32
- func (m *ContentHash_Raw) GetFileExtension() string
- func (m *ContentHash_Raw) GetHash() []byte
- func (m *ContentHash_Raw) Marshal() (dAtA []byte, err error)
- func (m *ContentHash_Raw) MarshalTo(dAtA []byte) (int, error)
- func (m *ContentHash_Raw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContentHash_Raw) ProtoMessage()
- func (m *ContentHash_Raw) Reset()
- func (m *ContentHash_Raw) Size() (n int)
- func (m *ContentHash_Raw) String() string
- func (chr ContentHash_Raw) ToIRI() (string, error)
- func (m *ContentHash_Raw) Unmarshal(dAtA []byte) error
- func (chr *ContentHash_Raw) Validate() error
- func (m *ContentHash_Raw) XXX_DiscardUnknown()
- func (m *ContentHash_Raw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContentHash_Raw) XXX_Merge(src proto.Message)
- func (m *ContentHash_Raw) XXX_Size() int
- func (m *ContentHash_Raw) XXX_Unmarshal(b []byte) error
- type ContentHashes
- func (*ContentHashes) Descriptor() ([]byte, []int)
- func (m *ContentHashes) GetContentHashes() []*ContentHash
- func (m *ContentHashes) Marshal() (dAtA []byte, err error)
- func (m *ContentHashes) MarshalTo(dAtA []byte) (int, error)
- func (m *ContentHashes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContentHashes) ProtoMessage()
- func (m *ContentHashes) Reset()
- func (m *ContentHashes) Size() (n int)
- func (m *ContentHashes) String() string
- func (m *ContentHashes) Unmarshal(dAtA []byte) error
- func (m *ContentHashes) XXX_DiscardUnknown()
- func (m *ContentHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContentHashes) XXX_Merge(src proto.Message)
- func (m *ContentHashes) XXX_Size() int
- func (m *ContentHashes) XXX_Unmarshal(b []byte) error
- type ConvertHashToIRIRequest
- func (*ConvertHashToIRIRequest) Descriptor() ([]byte, []int)
- func (m *ConvertHashToIRIRequest) GetContentHash() *ContentHash
- func (m *ConvertHashToIRIRequest) Marshal() (dAtA []byte, err error)
- func (m *ConvertHashToIRIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ConvertHashToIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConvertHashToIRIRequest) ProtoMessage()
- func (m *ConvertHashToIRIRequest) Reset()
- func (m *ConvertHashToIRIRequest) Size() (n int)
- func (m *ConvertHashToIRIRequest) String() string
- func (m *ConvertHashToIRIRequest) Unmarshal(dAtA []byte) error
- func (m *ConvertHashToIRIRequest) XXX_DiscardUnknown()
- func (m *ConvertHashToIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConvertHashToIRIRequest) XXX_Merge(src proto.Message)
- func (m *ConvertHashToIRIRequest) XXX_Size() int
- func (m *ConvertHashToIRIRequest) XXX_Unmarshal(b []byte) error
- type ConvertHashToIRIResponse
- func (*ConvertHashToIRIResponse) Descriptor() ([]byte, []int)
- func (m *ConvertHashToIRIResponse) GetIri() string
- func (m *ConvertHashToIRIResponse) Marshal() (dAtA []byte, err error)
- func (m *ConvertHashToIRIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ConvertHashToIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConvertHashToIRIResponse) ProtoMessage()
- func (m *ConvertHashToIRIResponse) Reset()
- func (m *ConvertHashToIRIResponse) Size() (n int)
- func (m *ConvertHashToIRIResponse) String() string
- func (m *ConvertHashToIRIResponse) Unmarshal(dAtA []byte) error
- func (m *ConvertHashToIRIResponse) XXX_DiscardUnknown()
- func (m *ConvertHashToIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConvertHashToIRIResponse) XXX_Merge(src proto.Message)
- func (m *ConvertHashToIRIResponse) XXX_Size() int
- func (m *ConvertHashToIRIResponse) XXX_Unmarshal(b []byte) error
- type ConvertIRIToHashRequest
- func (*ConvertIRIToHashRequest) Descriptor() ([]byte, []int)
- func (m *ConvertIRIToHashRequest) GetIri() string
- func (m *ConvertIRIToHashRequest) Marshal() (dAtA []byte, err error)
- func (m *ConvertIRIToHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ConvertIRIToHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConvertIRIToHashRequest) ProtoMessage()
- func (m *ConvertIRIToHashRequest) Reset()
- func (m *ConvertIRIToHashRequest) Size() (n int)
- func (m *ConvertIRIToHashRequest) String() string
- func (m *ConvertIRIToHashRequest) Unmarshal(dAtA []byte) error
- func (m *ConvertIRIToHashRequest) XXX_DiscardUnknown()
- func (m *ConvertIRIToHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConvertIRIToHashRequest) XXX_Merge(src proto.Message)
- func (m *ConvertIRIToHashRequest) XXX_Size() int
- func (m *ConvertIRIToHashRequest) XXX_Unmarshal(b []byte) error
- type ConvertIRIToHashResponse
- func (*ConvertIRIToHashResponse) Descriptor() ([]byte, []int)
- func (m *ConvertIRIToHashResponse) GetContentHash() *ContentHash
- func (m *ConvertIRIToHashResponse) Marshal() (dAtA []byte, err error)
- func (m *ConvertIRIToHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ConvertIRIToHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConvertIRIToHashResponse) ProtoMessage()
- func (m *ConvertIRIToHashResponse) Reset()
- func (m *ConvertIRIToHashResponse) Size() (n int)
- func (m *ConvertIRIToHashResponse) String() string
- func (m *ConvertIRIToHashResponse) Unmarshal(dAtA []byte) error
- func (m *ConvertIRIToHashResponse) XXX_DiscardUnknown()
- func (m *ConvertIRIToHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConvertIRIToHashResponse) XXX_Merge(src proto.Message)
- func (m *ConvertIRIToHashResponse) XXX_Size() int
- func (m *ConvertIRIToHashResponse) XXX_Unmarshal(b []byte) error
- type DataAnchor
- func (*DataAnchor) Descriptor() ([]byte, []int)
- func (m *DataAnchor) GetId() []byte
- func (m *DataAnchor) GetTimestamp() *types.Timestamp
- func (m *DataAnchor) Marshal() (dAtA []byte, err error)
- func (m *DataAnchor) MarshalTo(dAtA []byte) (int, error)
- func (m *DataAnchor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataAnchor) ProtoMessage()
- func (m *DataAnchor) Reset()
- func (m *DataAnchor) Size() (n int)
- func (m *DataAnchor) String() string
- func (m *DataAnchor) Unmarshal(dAtA []byte) error
- func (m *DataAnchor) Validate() error
- func (m *DataAnchor) XXX_DiscardUnknown()
- func (m *DataAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataAnchor) XXX_Merge(src proto.Message)
- func (m *DataAnchor) XXX_Size() int
- func (m *DataAnchor) XXX_Unmarshal(b []byte) error
- type DataAttestor
- func (*DataAttestor) Descriptor() ([]byte, []int)
- func (m *DataAttestor) GetAttestor() []byte
- func (m *DataAttestor) GetId() []byte
- func (m *DataAttestor) GetTimestamp() *types.Timestamp
- func (m *DataAttestor) Marshal() (dAtA []byte, err error)
- func (m *DataAttestor) MarshalTo(dAtA []byte) (int, error)
- func (m *DataAttestor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataAttestor) ProtoMessage()
- func (m *DataAttestor) Reset()
- func (m *DataAttestor) Size() (n int)
- func (m *DataAttestor) String() string
- func (m *DataAttestor) Unmarshal(dAtA []byte) error
- func (m *DataAttestor) Validate() error
- func (m *DataAttestor) XXX_DiscardUnknown()
- func (m *DataAttestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataAttestor) XXX_Merge(src proto.Message)
- func (m *DataAttestor) XXX_Size() int
- func (m *DataAttestor) XXX_Unmarshal(b []byte) error
- type DataID
- func (*DataID) Descriptor() ([]byte, []int)
- func (m *DataID) GetId() []byte
- func (m *DataID) GetIri() string
- func (m *DataID) Marshal() (dAtA []byte, err error)
- func (m *DataID) MarshalTo(dAtA []byte) (int, error)
- func (m *DataID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataID) ProtoMessage()
- func (m *DataID) Reset()
- func (m *DataID) Size() (n int)
- func (m *DataID) String() string
- func (m *DataID) Unmarshal(dAtA []byte) error
- func (m *DataID) Validate() error
- func (m *DataID) XXX_DiscardUnknown()
- func (m *DataID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataID) XXX_Merge(src proto.Message)
- func (m *DataID) XXX_Size() int
- func (m *DataID) XXX_Unmarshal(b []byte) error
- type DataResolver
- func (*DataResolver) Descriptor() ([]byte, []int)
- func (m *DataResolver) GetId() []byte
- func (m *DataResolver) GetResolverId() uint64
- func (m *DataResolver) Marshal() (dAtA []byte, err error)
- func (m *DataResolver) MarshalTo(dAtA []byte) (int, error)
- func (m *DataResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataResolver) ProtoMessage()
- func (m *DataResolver) Reset()
- func (m *DataResolver) Size() (n int)
- func (m *DataResolver) String() string
- func (m *DataResolver) Unmarshal(dAtA []byte) error
- func (m *DataResolver) Validate() error
- func (m *DataResolver) XXX_DiscardUnknown()
- func (m *DataResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataResolver) XXX_Merge(src proto.Message)
- func (m *DataResolver) XXX_Size() int
- func (m *DataResolver) XXX_Unmarshal(b []byte) error
- type DigestAlgorithm
- type EventAnchor
- func (*EventAnchor) Descriptor() ([]byte, []int)
- func (m *EventAnchor) GetIri() string
- func (m *EventAnchor) Marshal() (dAtA []byte, err error)
- func (m *EventAnchor) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAnchor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAnchor) ProtoMessage()
- func (m *EventAnchor) Reset()
- func (m *EventAnchor) Size() (n int)
- func (m *EventAnchor) String() string
- func (m *EventAnchor) Unmarshal(dAtA []byte) error
- func (m *EventAnchor) XXX_DiscardUnknown()
- func (m *EventAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAnchor) XXX_Merge(src proto.Message)
- func (m *EventAnchor) XXX_Size() int
- func (m *EventAnchor) XXX_Unmarshal(b []byte) error
- type EventAttest
- func (*EventAttest) Descriptor() ([]byte, []int)
- func (m *EventAttest) GetAttestor() string
- func (m *EventAttest) GetIri() string
- func (m *EventAttest) Marshal() (dAtA []byte, err error)
- func (m *EventAttest) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAttest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAttest) ProtoMessage()
- func (m *EventAttest) Reset()
- func (m *EventAttest) Size() (n int)
- func (m *EventAttest) String() string
- func (m *EventAttest) Unmarshal(dAtA []byte) error
- func (m *EventAttest) XXX_DiscardUnknown()
- func (m *EventAttest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAttest) XXX_Merge(src proto.Message)
- func (m *EventAttest) XXX_Size() int
- func (m *EventAttest) XXX_Unmarshal(b []byte) error
- type EventDefineResolver
- func (*EventDefineResolver) Descriptor() ([]byte, []int)
- func (m *EventDefineResolver) GetId() uint64
- func (m *EventDefineResolver) Marshal() (dAtA []byte, err error)
- func (m *EventDefineResolver) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDefineResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDefineResolver) ProtoMessage()
- func (m *EventDefineResolver) Reset()
- func (m *EventDefineResolver) Size() (n int)
- func (m *EventDefineResolver) String() string
- func (m *EventDefineResolver) Unmarshal(dAtA []byte) error
- func (m *EventDefineResolver) XXX_DiscardUnknown()
- func (m *EventDefineResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDefineResolver) XXX_Merge(src proto.Message)
- func (m *EventDefineResolver) XXX_Size() int
- func (m *EventDefineResolver) XXX_Unmarshal(b []byte) error
- type EventRegisterResolver
- func (*EventRegisterResolver) Descriptor() ([]byte, []int)
- func (m *EventRegisterResolver) GetId() uint64
- func (m *EventRegisterResolver) GetIri() string
- func (m *EventRegisterResolver) Marshal() (dAtA []byte, err error)
- func (m *EventRegisterResolver) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRegisterResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRegisterResolver) ProtoMessage()
- func (m *EventRegisterResolver) Reset()
- func (m *EventRegisterResolver) Size() (n int)
- func (m *EventRegisterResolver) String() string
- func (m *EventRegisterResolver) Unmarshal(dAtA []byte) error
- func (m *EventRegisterResolver) XXX_DiscardUnknown()
- func (m *EventRegisterResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRegisterResolver) XXX_Merge(src proto.Message)
- func (m *EventRegisterResolver) XXX_Size() int
- func (m *EventRegisterResolver) XXX_Unmarshal(b []byte) error
- type GraphCanonicalizationAlgorithm
- type GraphMerkleTree
- type MsgAnchor
- func (*MsgAnchor) Descriptor() ([]byte, []int)
- func (m *MsgAnchor) GetContentHash() *ContentHash
- func (m *MsgAnchor) GetSender() string
- func (m MsgAnchor) GetSignBytes() []byte
- func (m *MsgAnchor) GetSigners() []sdk.AccAddress
- func (m *MsgAnchor) Marshal() (dAtA []byte, err error)
- func (m *MsgAnchor) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAnchor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAnchor) ProtoMessage()
- func (m *MsgAnchor) Reset()
- func (m MsgAnchor) Route() string
- func (m *MsgAnchor) Size() (n int)
- func (m *MsgAnchor) String() string
- func (m MsgAnchor) Type() string
- func (m *MsgAnchor) Unmarshal(dAtA []byte) error
- func (m *MsgAnchor) ValidateBasic() error
- func (m *MsgAnchor) XXX_DiscardUnknown()
- func (m *MsgAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAnchor) XXX_Merge(src proto.Message)
- func (m *MsgAnchor) XXX_Size() int
- func (m *MsgAnchor) XXX_Unmarshal(b []byte) error
- type MsgAnchorResponse
- func (*MsgAnchorResponse) Descriptor() ([]byte, []int)
- func (m *MsgAnchorResponse) GetIri() string
- func (m *MsgAnchorResponse) GetTimestamp() *types.Timestamp
- func (m *MsgAnchorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAnchorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAnchorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAnchorResponse) ProtoMessage()
- func (m *MsgAnchorResponse) Reset()
- func (m *MsgAnchorResponse) Size() (n int)
- func (m *MsgAnchorResponse) String() string
- func (m *MsgAnchorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAnchorResponse) XXX_DiscardUnknown()
- func (m *MsgAnchorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAnchorResponse) XXX_Merge(src proto.Message)
- func (m *MsgAnchorResponse) XXX_Size() int
- func (m *MsgAnchorResponse) XXX_Unmarshal(b []byte) error
- type MsgAttest
- func (*MsgAttest) Descriptor() ([]byte, []int)
- func (m *MsgAttest) GetAttestor() string
- func (m *MsgAttest) GetContentHashes() []*ContentHash_Graph
- func (m MsgAttest) GetSignBytes() []byte
- func (m *MsgAttest) GetSigners() []sdk.AccAddress
- func (m *MsgAttest) Marshal() (dAtA []byte, err error)
- func (m *MsgAttest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAttest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAttest) ProtoMessage()
- func (m *MsgAttest) Reset()
- func (m MsgAttest) Route() string
- func (m *MsgAttest) Size() (n int)
- func (m *MsgAttest) String() string
- func (m MsgAttest) Type() string
- func (m *MsgAttest) Unmarshal(dAtA []byte) error
- func (m *MsgAttest) ValidateBasic() error
- func (m *MsgAttest) XXX_DiscardUnknown()
- func (m *MsgAttest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAttest) XXX_Merge(src proto.Message)
- func (m *MsgAttest) XXX_Size() int
- func (m *MsgAttest) XXX_Unmarshal(b []byte) error
- type MsgAttestResponse
- func (*MsgAttestResponse) Descriptor() ([]byte, []int)
- func (m *MsgAttestResponse) GetIris() []string
- func (m *MsgAttestResponse) GetTimestamp() *types.Timestamp
- func (m *MsgAttestResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAttestResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAttestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAttestResponse) ProtoMessage()
- func (m *MsgAttestResponse) Reset()
- func (m *MsgAttestResponse) Size() (n int)
- func (m *MsgAttestResponse) String() string
- func (m *MsgAttestResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAttestResponse) XXX_DiscardUnknown()
- func (m *MsgAttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAttestResponse) XXX_Merge(src proto.Message)
- func (m *MsgAttestResponse) XXX_Size() int
- func (m *MsgAttestResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDefineResolver
- func (*MsgDefineResolver) Descriptor() ([]byte, []int)
- func (m *MsgDefineResolver) GetDefiner() string
- func (m *MsgDefineResolver) GetPublic() bool
- func (m *MsgDefineResolver) GetResolverUrl() string
- func (m MsgDefineResolver) GetSignBytes() []byte
- func (m *MsgDefineResolver) GetSigners() []sdk.AccAddress
- func (m *MsgDefineResolver) Marshal() (dAtA []byte, err error)
- func (m *MsgDefineResolver) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDefineResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDefineResolver) ProtoMessage()
- func (m *MsgDefineResolver) Reset()
- func (m MsgDefineResolver) Route() string
- func (m *MsgDefineResolver) Size() (n int)
- func (m *MsgDefineResolver) String() string
- func (m MsgDefineResolver) Type() string
- func (m *MsgDefineResolver) Unmarshal(dAtA []byte) error
- func (m *MsgDefineResolver) ValidateBasic() error
- func (m *MsgDefineResolver) XXX_DiscardUnknown()
- func (m *MsgDefineResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDefineResolver) XXX_Merge(src proto.Message)
- func (m *MsgDefineResolver) XXX_Size() int
- func (m *MsgDefineResolver) XXX_Unmarshal(b []byte) error
- type MsgDefineResolverResponse
- func (*MsgDefineResolverResponse) Descriptor() ([]byte, []int)
- func (m *MsgDefineResolverResponse) GetResolverId() uint64
- func (m *MsgDefineResolverResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDefineResolverResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDefineResolverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDefineResolverResponse) ProtoMessage()
- func (m *MsgDefineResolverResponse) Reset()
- func (m *MsgDefineResolverResponse) Size() (n int)
- func (m *MsgDefineResolverResponse) String() string
- func (m *MsgDefineResolverResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDefineResolverResponse) XXX_DiscardUnknown()
- func (m *MsgDefineResolverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDefineResolverResponse) XXX_Merge(src proto.Message)
- func (m *MsgDefineResolverResponse) XXX_Size() int
- func (m *MsgDefineResolverResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterResolver
- func (*MsgRegisterResolver) Descriptor() ([]byte, []int)
- func (m *MsgRegisterResolver) GetContentHashes() []*ContentHash
- func (m *MsgRegisterResolver) GetResolverId() uint64
- func (m MsgRegisterResolver) GetSignBytes() []byte
- func (m *MsgRegisterResolver) GetSigner() string
- func (m *MsgRegisterResolver) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterResolver) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterResolver) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterResolver) ProtoMessage()
- func (m *MsgRegisterResolver) Reset()
- func (m MsgRegisterResolver) Route() string
- func (m *MsgRegisterResolver) Size() (n int)
- func (m *MsgRegisterResolver) String() string
- func (m MsgRegisterResolver) Type() string
- func (m *MsgRegisterResolver) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterResolver) ValidateBasic() error
- func (m *MsgRegisterResolver) XXX_DiscardUnknown()
- func (m *MsgRegisterResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterResolver) XXX_Merge(src proto.Message)
- func (m *MsgRegisterResolver) XXX_Size() int
- func (m *MsgRegisterResolver) XXX_Unmarshal(b []byte) error
- type MsgRegisterResolverResponse
- func (*MsgRegisterResolverResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterResolverResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterResolverResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterResolverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterResolverResponse) ProtoMessage()
- func (m *MsgRegisterResolverResponse) Reset()
- func (m *MsgRegisterResolverResponse) Size() (n int)
- func (m *MsgRegisterResolverResponse) String() string
- func (m *MsgRegisterResolverResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterResolverResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterResolverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterResolverResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterResolverResponse) XXX_Size() int
- func (m *MsgRegisterResolverResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type QueryAnchorByHashRequest
- func (*QueryAnchorByHashRequest) Descriptor() ([]byte, []int)
- func (m *QueryAnchorByHashRequest) GetContentHash() *ContentHash
- func (m *QueryAnchorByHashRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAnchorByHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAnchorByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAnchorByHashRequest) ProtoMessage()
- func (m *QueryAnchorByHashRequest) Reset()
- func (m *QueryAnchorByHashRequest) Size() (n int)
- func (m *QueryAnchorByHashRequest) String() string
- func (m *QueryAnchorByHashRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAnchorByHashRequest) XXX_DiscardUnknown()
- func (m *QueryAnchorByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAnchorByHashRequest) XXX_Merge(src proto.Message)
- func (m *QueryAnchorByHashRequest) XXX_Size() int
- func (m *QueryAnchorByHashRequest) XXX_Unmarshal(b []byte) error
- type QueryAnchorByHashResponse
- func (*QueryAnchorByHashResponse) Descriptor() ([]byte, []int)
- func (m *QueryAnchorByHashResponse) GetAnchor() *AnchorInfo
- func (m *QueryAnchorByHashResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAnchorByHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAnchorByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAnchorByHashResponse) ProtoMessage()
- func (m *QueryAnchorByHashResponse) Reset()
- func (m *QueryAnchorByHashResponse) Size() (n int)
- func (m *QueryAnchorByHashResponse) String() string
- func (m *QueryAnchorByHashResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAnchorByHashResponse) XXX_DiscardUnknown()
- func (m *QueryAnchorByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAnchorByHashResponse) XXX_Merge(src proto.Message)
- func (m *QueryAnchorByHashResponse) XXX_Size() int
- func (m *QueryAnchorByHashResponse) XXX_Unmarshal(b []byte) error
- type QueryAnchorByIRIRequest
- func (*QueryAnchorByIRIRequest) Descriptor() ([]byte, []int)
- func (m *QueryAnchorByIRIRequest) GetIri() string
- func (m *QueryAnchorByIRIRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAnchorByIRIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAnchorByIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAnchorByIRIRequest) ProtoMessage()
- func (m *QueryAnchorByIRIRequest) Reset()
- func (m *QueryAnchorByIRIRequest) Size() (n int)
- func (m *QueryAnchorByIRIRequest) String() string
- func (m *QueryAnchorByIRIRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAnchorByIRIRequest) XXX_DiscardUnknown()
- func (m *QueryAnchorByIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAnchorByIRIRequest) XXX_Merge(src proto.Message)
- func (m *QueryAnchorByIRIRequest) XXX_Size() int
- func (m *QueryAnchorByIRIRequest) XXX_Unmarshal(b []byte) error
- type QueryAnchorByIRIResponse
- func (*QueryAnchorByIRIResponse) Descriptor() ([]byte, []int)
- func (m *QueryAnchorByIRIResponse) GetAnchor() *AnchorInfo
- func (m *QueryAnchorByIRIResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAnchorByIRIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAnchorByIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAnchorByIRIResponse) ProtoMessage()
- func (m *QueryAnchorByIRIResponse) Reset()
- func (m *QueryAnchorByIRIResponse) Size() (n int)
- func (m *QueryAnchorByIRIResponse) String() string
- func (m *QueryAnchorByIRIResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAnchorByIRIResponse) XXX_DiscardUnknown()
- func (m *QueryAnchorByIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAnchorByIRIResponse) XXX_Merge(src proto.Message)
- func (m *QueryAnchorByIRIResponse) XXX_Size() int
- func (m *QueryAnchorByIRIResponse) XXX_Unmarshal(b []byte) error
- type QueryAttestationsByAttestorRequest
- func (*QueryAttestationsByAttestorRequest) Descriptor() ([]byte, []int)
- func (m *QueryAttestationsByAttestorRequest) GetAttestor() string
- func (m *QueryAttestationsByAttestorRequest) GetPagination() *query.PageRequest
- func (m *QueryAttestationsByAttestorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationsByAttestorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationsByAttestorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationsByAttestorRequest) ProtoMessage()
- func (m *QueryAttestationsByAttestorRequest) Reset()
- func (m *QueryAttestationsByAttestorRequest) Size() (n int)
- func (m *QueryAttestationsByAttestorRequest) String() string
- func (m *QueryAttestationsByAttestorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationsByAttestorRequest) XXX_DiscardUnknown()
- func (m *QueryAttestationsByAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationsByAttestorRequest) XXX_Merge(src proto.Message)
- func (m *QueryAttestationsByAttestorRequest) XXX_Size() int
- func (m *QueryAttestationsByAttestorRequest) XXX_Unmarshal(b []byte) error
- type QueryAttestationsByAttestorResponse
- func (*QueryAttestationsByAttestorResponse) Descriptor() ([]byte, []int)
- func (m *QueryAttestationsByAttestorResponse) GetAttestations() []*AttestationInfo
- func (m *QueryAttestationsByAttestorResponse) GetPagination() *query.PageResponse
- func (m *QueryAttestationsByAttestorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationsByAttestorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationsByAttestorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationsByAttestorResponse) ProtoMessage()
- func (m *QueryAttestationsByAttestorResponse) Reset()
- func (m *QueryAttestationsByAttestorResponse) Size() (n int)
- func (m *QueryAttestationsByAttestorResponse) String() string
- func (m *QueryAttestationsByAttestorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationsByAttestorResponse) XXX_DiscardUnknown()
- func (m *QueryAttestationsByAttestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationsByAttestorResponse) XXX_Merge(src proto.Message)
- func (m *QueryAttestationsByAttestorResponse) XXX_Size() int
- func (m *QueryAttestationsByAttestorResponse) XXX_Unmarshal(b []byte) error
- type QueryAttestationsByHashRequest
- func (*QueryAttestationsByHashRequest) Descriptor() ([]byte, []int)
- func (m *QueryAttestationsByHashRequest) GetContentHash() *ContentHash
- func (m *QueryAttestationsByHashRequest) GetPagination() *query.PageRequest
- func (m *QueryAttestationsByHashRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationsByHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationsByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationsByHashRequest) ProtoMessage()
- func (m *QueryAttestationsByHashRequest) Reset()
- func (m *QueryAttestationsByHashRequest) Size() (n int)
- func (m *QueryAttestationsByHashRequest) String() string
- func (m *QueryAttestationsByHashRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationsByHashRequest) XXX_DiscardUnknown()
- func (m *QueryAttestationsByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationsByHashRequest) XXX_Merge(src proto.Message)
- func (m *QueryAttestationsByHashRequest) XXX_Size() int
- func (m *QueryAttestationsByHashRequest) XXX_Unmarshal(b []byte) error
- type QueryAttestationsByHashResponse
- func (*QueryAttestationsByHashResponse) Descriptor() ([]byte, []int)
- func (m *QueryAttestationsByHashResponse) GetAttestations() []*AttestationInfo
- func (m *QueryAttestationsByHashResponse) GetPagination() *query.PageResponse
- func (m *QueryAttestationsByHashResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationsByHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationsByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationsByHashResponse) ProtoMessage()
- func (m *QueryAttestationsByHashResponse) Reset()
- func (m *QueryAttestationsByHashResponse) Size() (n int)
- func (m *QueryAttestationsByHashResponse) String() string
- func (m *QueryAttestationsByHashResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationsByHashResponse) XXX_DiscardUnknown()
- func (m *QueryAttestationsByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationsByHashResponse) XXX_Merge(src proto.Message)
- func (m *QueryAttestationsByHashResponse) XXX_Size() int
- func (m *QueryAttestationsByHashResponse) XXX_Unmarshal(b []byte) error
- type QueryAttestationsByIRIRequest
- func (*QueryAttestationsByIRIRequest) Descriptor() ([]byte, []int)
- func (m *QueryAttestationsByIRIRequest) GetIri() string
- func (m *QueryAttestationsByIRIRequest) GetPagination() *query.PageRequest
- func (m *QueryAttestationsByIRIRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationsByIRIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationsByIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationsByIRIRequest) ProtoMessage()
- func (m *QueryAttestationsByIRIRequest) Reset()
- func (m *QueryAttestationsByIRIRequest) Size() (n int)
- func (m *QueryAttestationsByIRIRequest) String() string
- func (m *QueryAttestationsByIRIRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationsByIRIRequest) XXX_DiscardUnknown()
- func (m *QueryAttestationsByIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationsByIRIRequest) XXX_Merge(src proto.Message)
- func (m *QueryAttestationsByIRIRequest) XXX_Size() int
- func (m *QueryAttestationsByIRIRequest) XXX_Unmarshal(b []byte) error
- type QueryAttestationsByIRIResponse
- func (*QueryAttestationsByIRIResponse) Descriptor() ([]byte, []int)
- func (m *QueryAttestationsByIRIResponse) GetAttestations() []*AttestationInfo
- func (m *QueryAttestationsByIRIResponse) GetPagination() *query.PageResponse
- func (m *QueryAttestationsByIRIResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationsByIRIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationsByIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationsByIRIResponse) ProtoMessage()
- func (m *QueryAttestationsByIRIResponse) Reset()
- func (m *QueryAttestationsByIRIResponse) Size() (n int)
- func (m *QueryAttestationsByIRIResponse) String() string
- func (m *QueryAttestationsByIRIResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationsByIRIResponse) XXX_DiscardUnknown()
- func (m *QueryAttestationsByIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationsByIRIResponse) XXX_Merge(src proto.Message)
- func (m *QueryAttestationsByIRIResponse) XXX_Size() int
- func (m *QueryAttestationsByIRIResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryResolverRequest
- func (*QueryResolverRequest) Descriptor() ([]byte, []int)
- func (m *QueryResolverRequest) GetId() uint64
- func (m *QueryResolverRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResolverRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolverRequest) ProtoMessage()
- func (m *QueryResolverRequest) Reset()
- func (m *QueryResolverRequest) Size() (n int)
- func (m *QueryResolverRequest) String() string
- func (m *QueryResolverRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResolverRequest) XXX_DiscardUnknown()
- func (m *QueryResolverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolverRequest) XXX_Merge(src proto.Message)
- func (m *QueryResolverRequest) XXX_Size() int
- func (m *QueryResolverRequest) XXX_Unmarshal(b []byte) error
- type QueryResolverResponse
- func (*QueryResolverResponse) Descriptor() ([]byte, []int)
- func (m *QueryResolverResponse) GetResolver() *ResolverInfo
- func (m *QueryResolverResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResolverResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolverResponse) ProtoMessage()
- func (m *QueryResolverResponse) Reset()
- func (m *QueryResolverResponse) Size() (n int)
- func (m *QueryResolverResponse) String() string
- func (m *QueryResolverResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResolverResponse) XXX_DiscardUnknown()
- func (m *QueryResolverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolverResponse) XXX_Merge(src proto.Message)
- func (m *QueryResolverResponse) XXX_Size() int
- func (m *QueryResolverResponse) XXX_Unmarshal(b []byte) error
- type QueryResolversByHashRequest
- func (*QueryResolversByHashRequest) Descriptor() ([]byte, []int)
- func (m *QueryResolversByHashRequest) GetContentHash() *ContentHash
- func (m *QueryResolversByHashRequest) GetPagination() *query.PageRequest
- func (m *QueryResolversByHashRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResolversByHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolversByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolversByHashRequest) ProtoMessage()
- func (m *QueryResolversByHashRequest) Reset()
- func (m *QueryResolversByHashRequest) Size() (n int)
- func (m *QueryResolversByHashRequest) String() string
- func (m *QueryResolversByHashRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResolversByHashRequest) XXX_DiscardUnknown()
- func (m *QueryResolversByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolversByHashRequest) XXX_Merge(src proto.Message)
- func (m *QueryResolversByHashRequest) XXX_Size() int
- func (m *QueryResolversByHashRequest) XXX_Unmarshal(b []byte) error
- type QueryResolversByHashResponse
- func (*QueryResolversByHashResponse) Descriptor() ([]byte, []int)
- func (m *QueryResolversByHashResponse) GetPagination() *query.PageResponse
- func (m *QueryResolversByHashResponse) GetResolvers() []*ResolverInfo
- func (m *QueryResolversByHashResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResolversByHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolversByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolversByHashResponse) ProtoMessage()
- func (m *QueryResolversByHashResponse) Reset()
- func (m *QueryResolversByHashResponse) Size() (n int)
- func (m *QueryResolversByHashResponse) String() string
- func (m *QueryResolversByHashResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResolversByHashResponse) XXX_DiscardUnknown()
- func (m *QueryResolversByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolversByHashResponse) XXX_Merge(src proto.Message)
- func (m *QueryResolversByHashResponse) XXX_Size() int
- func (m *QueryResolversByHashResponse) XXX_Unmarshal(b []byte) error
- type QueryResolversByIRIRequest
- func (*QueryResolversByIRIRequest) Descriptor() ([]byte, []int)
- func (m *QueryResolversByIRIRequest) GetIri() string
- func (m *QueryResolversByIRIRequest) GetPagination() *query.PageRequest
- func (m *QueryResolversByIRIRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResolversByIRIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolversByIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolversByIRIRequest) ProtoMessage()
- func (m *QueryResolversByIRIRequest) Reset()
- func (m *QueryResolversByIRIRequest) Size() (n int)
- func (m *QueryResolversByIRIRequest) String() string
- func (m *QueryResolversByIRIRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResolversByIRIRequest) XXX_DiscardUnknown()
- func (m *QueryResolversByIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolversByIRIRequest) XXX_Merge(src proto.Message)
- func (m *QueryResolversByIRIRequest) XXX_Size() int
- func (m *QueryResolversByIRIRequest) XXX_Unmarshal(b []byte) error
- type QueryResolversByIRIResponse
- func (*QueryResolversByIRIResponse) Descriptor() ([]byte, []int)
- func (m *QueryResolversByIRIResponse) GetPagination() *query.PageResponse
- func (m *QueryResolversByIRIResponse) GetResolvers() []*ResolverInfo
- func (m *QueryResolversByIRIResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResolversByIRIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolversByIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolversByIRIResponse) ProtoMessage()
- func (m *QueryResolversByIRIResponse) Reset()
- func (m *QueryResolversByIRIResponse) Size() (n int)
- func (m *QueryResolversByIRIResponse) String() string
- func (m *QueryResolversByIRIResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResolversByIRIResponse) XXX_DiscardUnknown()
- func (m *QueryResolversByIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolversByIRIResponse) XXX_Merge(src proto.Message)
- func (m *QueryResolversByIRIResponse) XXX_Size() int
- func (m *QueryResolversByIRIResponse) XXX_Unmarshal(b []byte) error
- type QueryResolversByURLRequest
- func (*QueryResolversByURLRequest) Descriptor() ([]byte, []int)
- func (m *QueryResolversByURLRequest) GetPagination() *query.PageRequest
- func (m *QueryResolversByURLRequest) GetUrl() string
- func (m *QueryResolversByURLRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResolversByURLRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolversByURLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolversByURLRequest) ProtoMessage()
- func (m *QueryResolversByURLRequest) Reset()
- func (m *QueryResolversByURLRequest) Size() (n int)
- func (m *QueryResolversByURLRequest) String() string
- func (m *QueryResolversByURLRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResolversByURLRequest) XXX_DiscardUnknown()
- func (m *QueryResolversByURLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolversByURLRequest) XXX_Merge(src proto.Message)
- func (m *QueryResolversByURLRequest) XXX_Size() int
- func (m *QueryResolversByURLRequest) XXX_Unmarshal(b []byte) error
- type QueryResolversByURLResponse
- func (*QueryResolversByURLResponse) Descriptor() ([]byte, []int)
- func (m *QueryResolversByURLResponse) GetPagination() *query.PageResponse
- func (m *QueryResolversByURLResponse) GetResolvers() []*ResolverInfo
- func (m *QueryResolversByURLResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResolversByURLResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResolversByURLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResolversByURLResponse) ProtoMessage()
- func (m *QueryResolversByURLResponse) Reset()
- func (m *QueryResolversByURLResponse) Size() (n int)
- func (m *QueryResolversByURLResponse) String() string
- func (m *QueryResolversByURLResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResolversByURLResponse) XXX_DiscardUnknown()
- func (m *QueryResolversByURLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResolversByURLResponse) XXX_Merge(src proto.Message)
- func (m *QueryResolversByURLResponse) XXX_Size() int
- func (m *QueryResolversByURLResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Resolver
- func (*Resolver) Descriptor() ([]byte, []int)
- func (m *Resolver) GetId() uint64
- func (m *Resolver) GetManager() []byte
- func (m *Resolver) GetUrl() string
- func (m *Resolver) Marshal() (dAtA []byte, err error)
- func (m *Resolver) MarshalTo(dAtA []byte) (int, error)
- func (m *Resolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Resolver) ProtoMessage()
- func (m *Resolver) Reset()
- func (m *Resolver) Size() (n int)
- func (m *Resolver) String() string
- func (m *Resolver) Unmarshal(dAtA []byte) error
- func (m *Resolver) Validate() error
- func (m *Resolver) XXX_DiscardUnknown()
- func (m *Resolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resolver) XXX_Merge(src proto.Message)
- func (m *Resolver) XXX_Size() int
- func (m *Resolver) XXX_Unmarshal(b []byte) error
- type ResolverInfo
- func (*ResolverInfo) Descriptor() ([]byte, []int)
- func (m *ResolverInfo) GetId() uint64
- func (m *ResolverInfo) GetManager() string
- func (m *ResolverInfo) GetUrl() string
- func (m *ResolverInfo) Marshal() (dAtA []byte, err error)
- func (m *ResolverInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ResolverInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResolverInfo) ProtoMessage()
- func (m *ResolverInfo) Reset()
- func (m *ResolverInfo) Size() (n int)
- func (m *ResolverInfo) String() string
- func (m *ResolverInfo) Unmarshal(dAtA []byte) error
- func (m *ResolverInfo) XXX_DiscardUnknown()
- func (m *ResolverInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResolverInfo) XXX_Merge(src proto.Message)
- func (m *ResolverInfo) XXX_Size() int
- func (m *ResolverInfo) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Anchor(ctx context.Context, req *MsgAnchor) (*MsgAnchorResponse, error)
- func (*UnimplementedMsgServer) Attest(ctx context.Context, req *MsgAttest) (*MsgAttestResponse, error)
- func (*UnimplementedMsgServer) DefineResolver(ctx context.Context, req *MsgDefineResolver) (*MsgDefineResolverResponse, error)
- func (*UnimplementedMsgServer) RegisterResolver(ctx context.Context, req *MsgRegisterResolver) (*MsgRegisterResolverResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AnchorByHash(ctx context.Context, req *QueryAnchorByHashRequest) (*QueryAnchorByHashResponse, error)
- func (*UnimplementedQueryServer) AnchorByIRI(ctx context.Context, req *QueryAnchorByIRIRequest) (*QueryAnchorByIRIResponse, error)
- func (*UnimplementedQueryServer) AttestationsByAttestor(ctx context.Context, req *QueryAttestationsByAttestorRequest) (*QueryAttestationsByAttestorResponse, error)
- func (*UnimplementedQueryServer) AttestationsByHash(ctx context.Context, req *QueryAttestationsByHashRequest) (*QueryAttestationsByHashResponse, error)
- func (*UnimplementedQueryServer) AttestationsByIRI(ctx context.Context, req *QueryAttestationsByIRIRequest) (*QueryAttestationsByIRIResponse, error)
- func (*UnimplementedQueryServer) ConvertHashToIRI(ctx context.Context, req *ConvertHashToIRIRequest) (*ConvertHashToIRIResponse, error)
- func (*UnimplementedQueryServer) ConvertIRIToHash(ctx context.Context, req *ConvertIRIToHashRequest) (*ConvertIRIToHashResponse, error)
- func (*UnimplementedQueryServer) Resolver(ctx context.Context, req *QueryResolverRequest) (*QueryResolverResponse, error)
- func (*UnimplementedQueryServer) ResolversByHash(ctx context.Context, req *QueryResolversByHashRequest) (*QueryResolversByHashResponse, error)
- func (*UnimplementedQueryServer) ResolversByIRI(ctx context.Context, req *QueryResolversByIRIRequest) (*QueryResolversByIRIResponse, error)
- func (*UnimplementedQueryServer) ResolversByURL(ctx context.Context, req *QueryResolversByURLRequest) (*QueryResolversByURLResponse, error)
Constants ¶
const ( IriPrefixRaw byte = 0 IriPrefixGraph byte = 1 )
const DataCodespace = "regen.data"
const GasCostPerIteration = uint64(10)
TODO: Revisit this once we have proper gas fee framework. Tracking issue https://github.com/cosmos/cosmos-sdk/discussions/9072
const (
ModuleName = "data"
)
const (
ORMPrefix byte = iota
)
Variables ¶
var ( ErrInvalidIRI = errors.Register(DataCodespace, 2, "invalid IRI") ErrInvalidMediaExtension = errors.Register(DataCodespace, 3, "invalid media extension") ErrParseFailure = errors.Register(DataCodespace, 5, "parse error") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthState = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowState = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupState = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var DigestAlgorithmLength = map[DigestAlgorithm]int{
DigestAlgorithm_DIGEST_ALGORITHM_BLAKE2B_256: 256,
}
var DigestAlgorithm_name = map[int32]string{
0: "DIGEST_ALGORITHM_UNSPECIFIED",
1: "DIGEST_ALGORITHM_BLAKE2B_256",
}
var DigestAlgorithm_value = map[string]int32{
"DIGEST_ALGORITHM_UNSPECIFIED": 0,
"DIGEST_ALGORITHM_BLAKE2B_256": 1,
}
var GraphCanonicalizationAlgorithm_name = map[int32]string{
0: "GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED",
1: "GRAPH_CANONICALIZATION_ALGORITHM_RDFC_1_0",
}
var GraphCanonicalizationAlgorithm_value = map[string]int32{
"GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED": 0,
"GRAPH_CANONICALIZATION_ALGORITHM_RDFC_1_0": 1,
}
var GraphMerkleTree_name = map[int32]string{
0: "GRAPH_MERKLE_TREE_NONE_UNSPECIFIED",
}
var GraphMerkleTree_value = map[string]int32{
"GRAPH_MERKLE_TREE_NONE_UNSPECIFIED": 0,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var ModuleSchema = ormv1alpha1.ModuleSchemaDescriptor{ SchemaFile: []*ormv1alpha1.ModuleSchemaDescriptor_FileEntry{ {Id: 1, ProtoFileName: api.File_regen_data_v1_state_proto.Path()}, }, Prefix: []byte{ORMPrefix}, }
Functions ¶
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers all the necessary data module concrete types with the provided codec reference. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RegisterTypes ¶
func RegisterTypes(registry types.InterfaceRegistry)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { // NewAccount returns a new account with the next account number. Does not save the new account to the store. NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI // GetAccount retrieves an account from the store. GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI // SetAccount sets an account in the store. SetAccount(sdk.Context, authtypes.AccountI) }
AccountKeeper defines the expected interface needed to create and retrieve accounts.
type AnchorInfo ¶
type AnchorInfo struct { // iri is the IRI of the anchored data. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // content_hash is the ContentHash of the anchored data. ContentHash *ContentHash `protobuf:"bytes,2,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` // timestamp is the time at which the data was anchored. Timestamp *types.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
AnchorInfo is the information for a data anchor.
func (*AnchorInfo) Descriptor ¶
func (*AnchorInfo) Descriptor() ([]byte, []int)
func (*AnchorInfo) GetContentHash ¶
func (m *AnchorInfo) GetContentHash() *ContentHash
func (*AnchorInfo) GetIri ¶
func (m *AnchorInfo) GetIri() string
func (*AnchorInfo) GetTimestamp ¶
func (m *AnchorInfo) GetTimestamp() *types.Timestamp
func (*AnchorInfo) Marshal ¶
func (m *AnchorInfo) Marshal() (dAtA []byte, err error)
func (*AnchorInfo) MarshalToSizedBuffer ¶
func (m *AnchorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnchorInfo) ProtoMessage ¶
func (*AnchorInfo) ProtoMessage()
func (*AnchorInfo) Reset ¶
func (m *AnchorInfo) Reset()
func (*AnchorInfo) Size ¶
func (m *AnchorInfo) Size() (n int)
func (*AnchorInfo) String ¶
func (m *AnchorInfo) String() string
func (*AnchorInfo) Unmarshal ¶
func (m *AnchorInfo) Unmarshal(dAtA []byte) error
func (*AnchorInfo) XXX_DiscardUnknown ¶
func (m *AnchorInfo) XXX_DiscardUnknown()
func (*AnchorInfo) XXX_Marshal ¶
func (m *AnchorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorInfo) XXX_Merge ¶
func (m *AnchorInfo) XXX_Merge(src proto.Message)
func (*AnchorInfo) XXX_Size ¶
func (m *AnchorInfo) XXX_Size() int
func (*AnchorInfo) XXX_Unmarshal ¶
func (m *AnchorInfo) XXX_Unmarshal(b []byte) error
type AttestationInfo ¶
type AttestationInfo struct { // iri is the IRI of the anchored data. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // attestor is the address of the account that attested to the anchored data. Attestor string `protobuf:"bytes,2,opt,name=attestor,proto3" json:"attestor,omitempty"` // timestamp is the time at which the data was attested to. Timestamp *types.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
AttestationInfo is the information for an attestation.
func (*AttestationInfo) Descriptor ¶
func (*AttestationInfo) Descriptor() ([]byte, []int)
func (*AttestationInfo) GetAttestor ¶
func (m *AttestationInfo) GetAttestor() string
func (*AttestationInfo) GetIri ¶
func (m *AttestationInfo) GetIri() string
func (*AttestationInfo) GetTimestamp ¶
func (m *AttestationInfo) GetTimestamp() *types.Timestamp
func (*AttestationInfo) Marshal ¶
func (m *AttestationInfo) Marshal() (dAtA []byte, err error)
func (*AttestationInfo) MarshalToSizedBuffer ¶
func (m *AttestationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttestationInfo) ProtoMessage ¶
func (*AttestationInfo) ProtoMessage()
func (*AttestationInfo) Reset ¶
func (m *AttestationInfo) Reset()
func (*AttestationInfo) Size ¶
func (m *AttestationInfo) Size() (n int)
func (*AttestationInfo) String ¶
func (m *AttestationInfo) String() string
func (*AttestationInfo) Unmarshal ¶
func (m *AttestationInfo) Unmarshal(dAtA []byte) error
func (*AttestationInfo) XXX_DiscardUnknown ¶
func (m *AttestationInfo) XXX_DiscardUnknown()
func (*AttestationInfo) XXX_Marshal ¶
func (m *AttestationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationInfo) XXX_Merge ¶
func (m *AttestationInfo) XXX_Merge(src proto.Message)
func (*AttestationInfo) XXX_Size ¶
func (m *AttestationInfo) XXX_Size() int
func (*AttestationInfo) XXX_Unmarshal ¶
func (m *AttestationInfo) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetSupply(ctx sdk.Context, denom string) sdk.Coin }
BankKeeper defines the expected interface needed to send coins and retrieve account balances.
type ContentHash ¶
type ContentHash struct { // raw specifies "raw" data which does not specify a deterministic, canonical // encoding. Users of these hashes MUST maintain a copy of the hashed data // which is preserved bit by bit. All other content encodings specify a // deterministic, canonical encoding allowing implementations to choose from a // variety of alternative formats for transport and encoding while maintaining // the guarantee that the canonical hash will not change. Raw *ContentHash_Raw `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // graph specifies graph data that conforms to the RDF data model. // The canonicalization algorithm used for an RDF graph is specified by // GraphCanonicalizationAlgorithm. Graph *ContentHash_Graph `protobuf:"bytes,2,opt,name=graph,proto3" json:"graph,omitempty"` }
ContentHash specifies a hash-based content identifier for a piece of data. Exactly one of its fields must be set so this message behaves like a oneof. A protobuf oneof was not used because this caused compatibility issues with amino signing.
func ParseIRI ¶
func ParseIRI(iri string) (*ContentHash, error)
ParseIRI parses an IRI string representation of a ContentHash into a ContentHash struct Currently IRIs must have a "regen:" prefix, and only ContentHash_Graph and ContentHash_Raw are supported.
func (*ContentHash) Descriptor ¶
func (*ContentHash) Descriptor() ([]byte, []int)
func (*ContentHash) GetGraph ¶
func (m *ContentHash) GetGraph() *ContentHash_Graph
func (*ContentHash) GetRaw ¶
func (m *ContentHash) GetRaw() *ContentHash_Raw
func (*ContentHash) Marshal ¶
func (m *ContentHash) Marshal() (dAtA []byte, err error)
func (*ContentHash) MarshalToSizedBuffer ¶
func (m *ContentHash) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContentHash) ProtoMessage ¶
func (*ContentHash) ProtoMessage()
func (*ContentHash) Reset ¶
func (m *ContentHash) Reset()
func (*ContentHash) Size ¶
func (m *ContentHash) Size() (n int)
func (*ContentHash) String ¶
func (m *ContentHash) String() string
func (ContentHash) ToIRI ¶
func (ch ContentHash) ToIRI() (string, error)
ToIRI converts the ContentHash to an IRI (internationalized URI) using the regen IRI scheme. A ContentHash IRI will look something like regen:113gdjFKcVCt13Za6vN7TtbgMM6LMSjRnu89BMCxeuHdkJ1hWUmy.rdf which is some base58check encoded data followed by a file extension or pseudo-extension. See ContentHash_Raw.ToIRI and ContentHash_Graph.ToIRI for more details on specific formatting.
func (*ContentHash) Unmarshal ¶
func (m *ContentHash) Unmarshal(dAtA []byte) error
func (ContentHash) Validate ¶
func (ch ContentHash) Validate() error
func (*ContentHash) XXX_DiscardUnknown ¶
func (m *ContentHash) XXX_DiscardUnknown()
func (*ContentHash) XXX_Marshal ¶
func (m *ContentHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContentHash) XXX_Merge ¶
func (m *ContentHash) XXX_Merge(src proto.Message)
func (*ContentHash) XXX_Size ¶
func (m *ContentHash) XXX_Size() int
func (*ContentHash) XXX_Unmarshal ¶
func (m *ContentHash) XXX_Unmarshal(b []byte) error
type ContentHash_Graph ¶
type ContentHash_Graph struct { // hash represents the hash of the data based on the specified // digest_algorithm. It must be at least 20 bytes long and at most 64 bytes long. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // digest_algorithm represents the hash digest algorithm and should be a non-zero value from the DigestAlgorithm enum. DigestAlgorithm uint32 `protobuf:"varint,2,opt,name=digest_algorithm,json=digestAlgorithm,proto3" json:"digest_algorithm,omitempty"` // graph_canonicalization_algorithm represents the RDF graph // canonicalization algorithm and should be a non-zero value from the GraphCanonicalizationAlgorithm enum. CanonicalizationAlgorithm uint32 `` /* 137-byte string literal not displayed */ // merkle_tree is the merkle tree type used for the graph hash, if any and should be a value from the GraphMerkleTree enum // or left unspecified. MerkleTree uint32 `protobuf:"varint,4,opt,name=merkle_tree,json=merkleTree,proto3" json:"merkle_tree,omitempty"` }
Graph is the content hash type used for RDF graph data.
func (*ContentHash_Graph) Descriptor ¶
func (*ContentHash_Graph) Descriptor() ([]byte, []int)
func (*ContentHash_Graph) GetCanonicalizationAlgorithm ¶
func (m *ContentHash_Graph) GetCanonicalizationAlgorithm() uint32
func (*ContentHash_Graph) GetDigestAlgorithm ¶
func (m *ContentHash_Graph) GetDigestAlgorithm() uint32
func (*ContentHash_Graph) GetHash ¶
func (m *ContentHash_Graph) GetHash() []byte
func (*ContentHash_Graph) GetMerkleTree ¶
func (m *ContentHash_Graph) GetMerkleTree() uint32
func (*ContentHash_Graph) Marshal ¶
func (m *ContentHash_Graph) Marshal() (dAtA []byte, err error)
func (*ContentHash_Graph) MarshalTo ¶
func (m *ContentHash_Graph) MarshalTo(dAtA []byte) (int, error)
func (*ContentHash_Graph) MarshalToSizedBuffer ¶
func (m *ContentHash_Graph) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContentHash_Graph) ProtoMessage ¶
func (*ContentHash_Graph) ProtoMessage()
func (*ContentHash_Graph) Reset ¶
func (m *ContentHash_Graph) Reset()
func (*ContentHash_Graph) Size ¶
func (m *ContentHash_Graph) Size() (n int)
func (*ContentHash_Graph) String ¶
func (m *ContentHash_Graph) String() string
func (ContentHash_Graph) ToIRI ¶
func (chg ContentHash_Graph) ToIRI() (string, error)
ToIRI converts the ContentHash_Graph to an IRI (internationalized URI) based on the following pattern: regen:{base58check(concat(byte(0x1), byte(canonicalization_algorithm), byte(merkle_tree), byte(digest_algorithm), hash), 0)}.rdf
func (*ContentHash_Graph) Unmarshal ¶
func (m *ContentHash_Graph) Unmarshal(dAtA []byte) error
func (*ContentHash_Graph) Validate ¶
func (chg *ContentHash_Graph) Validate() error
func (*ContentHash_Graph) XXX_DiscardUnknown ¶
func (m *ContentHash_Graph) XXX_DiscardUnknown()
func (*ContentHash_Graph) XXX_Marshal ¶
func (m *ContentHash_Graph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContentHash_Graph) XXX_Merge ¶
func (m *ContentHash_Graph) XXX_Merge(src proto.Message)
func (*ContentHash_Graph) XXX_Size ¶
func (m *ContentHash_Graph) XXX_Size() int
func (*ContentHash_Graph) XXX_Unmarshal ¶
func (m *ContentHash_Graph) XXX_Unmarshal(b []byte) error
type ContentHash_Raw ¶
type ContentHash_Raw struct { // hash represents the hash of the data based on the specified // digest_algorithm. It must be at least 20 bytes long and at most 64 bytes long. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // digest_algorithm represents the hash digest algorithm and should be a non-zero value from the DigestAlgorithm enum. DigestAlgorithm uint32 `protobuf:"varint,2,opt,name=digest_algorithm,json=digestAlgorithm,proto3" json:"digest_algorithm,omitempty"` // file_extension represents the file extension for raw data. It can be // must be between 2-6 characters long, must be all lower-case and should represent // the canonical extension for the media type. // // A list of canonical extensions which should be used is provided here // and SHOULD be used by implementations: txt, json, csv, xml, pdf, tiff, // jpg, png, svg, webp, avif, gif, apng, mpeg, mp4, webm, ogg, heic, raw. // // The above list should be updated as new media types come into common usage // especially when there are two or more possible extensions (i.e. jpg vs jpeg or tif vs tiff). FileExtension string `protobuf:"bytes,3,opt,name=file_extension,json=fileExtension,proto3" json:"file_extension,omitempty"` }
RawVis the content hash type used for raw data.
func (*ContentHash_Raw) Descriptor ¶
func (*ContentHash_Raw) Descriptor() ([]byte, []int)
func (*ContentHash_Raw) GetDigestAlgorithm ¶
func (m *ContentHash_Raw) GetDigestAlgorithm() uint32
func (*ContentHash_Raw) GetFileExtension ¶
func (m *ContentHash_Raw) GetFileExtension() string
func (*ContentHash_Raw) GetHash ¶
func (m *ContentHash_Raw) GetHash() []byte
func (*ContentHash_Raw) Marshal ¶
func (m *ContentHash_Raw) Marshal() (dAtA []byte, err error)
func (*ContentHash_Raw) MarshalToSizedBuffer ¶
func (m *ContentHash_Raw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContentHash_Raw) ProtoMessage ¶
func (*ContentHash_Raw) ProtoMessage()
func (*ContentHash_Raw) Reset ¶
func (m *ContentHash_Raw) Reset()
func (*ContentHash_Raw) Size ¶
func (m *ContentHash_Raw) Size() (n int)
func (*ContentHash_Raw) String ¶
func (m *ContentHash_Raw) String() string
func (ContentHash_Raw) ToIRI ¶
func (chr ContentHash_Raw) ToIRI() (string, error)
ToIRI converts the ContentHash_Raw to an IRI (internationalized URI) based on the following pattern: regen:{base58check(concat( byte(0x0), byte(digest_algorithm), hash), 0)}.{file_extension}
func (*ContentHash_Raw) Unmarshal ¶
func (m *ContentHash_Raw) Unmarshal(dAtA []byte) error
func (*ContentHash_Raw) Validate ¶
func (chr *ContentHash_Raw) Validate() error
func (*ContentHash_Raw) XXX_DiscardUnknown ¶
func (m *ContentHash_Raw) XXX_DiscardUnknown()
func (*ContentHash_Raw) XXX_Marshal ¶
func (m *ContentHash_Raw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContentHash_Raw) XXX_Merge ¶
func (m *ContentHash_Raw) XXX_Merge(src proto.Message)
func (*ContentHash_Raw) XXX_Size ¶
func (m *ContentHash_Raw) XXX_Size() int
func (*ContentHash_Raw) XXX_Unmarshal ¶
func (m *ContentHash_Raw) XXX_Unmarshal(b []byte) error
type ContentHashes ¶
type ContentHashes struct { // data is a list of content hashes which the resolver claims to serve. ContentHashes []*ContentHash `protobuf:"bytes,1,rep,name=content_hashes,json=contentHashes,proto3" json:"content_hashes,omitempty"` }
ContentHashes contains list of content ContentHash.
func (*ContentHashes) Descriptor ¶
func (*ContentHashes) Descriptor() ([]byte, []int)
func (*ContentHashes) GetContentHashes ¶
func (m *ContentHashes) GetContentHashes() []*ContentHash
func (*ContentHashes) Marshal ¶
func (m *ContentHashes) Marshal() (dAtA []byte, err error)
func (*ContentHashes) MarshalToSizedBuffer ¶
func (m *ContentHashes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContentHashes) ProtoMessage ¶
func (*ContentHashes) ProtoMessage()
func (*ContentHashes) Reset ¶
func (m *ContentHashes) Reset()
func (*ContentHashes) Size ¶
func (m *ContentHashes) Size() (n int)
func (*ContentHashes) String ¶
func (m *ContentHashes) String() string
func (*ContentHashes) Unmarshal ¶
func (m *ContentHashes) Unmarshal(dAtA []byte) error
func (*ContentHashes) XXX_DiscardUnknown ¶
func (m *ContentHashes) XXX_DiscardUnknown()
func (*ContentHashes) XXX_Marshal ¶
func (m *ContentHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContentHashes) XXX_Merge ¶
func (m *ContentHashes) XXX_Merge(src proto.Message)
func (*ContentHashes) XXX_Size ¶
func (m *ContentHashes) XXX_Size() int
func (*ContentHashes) XXX_Unmarshal ¶
func (m *ContentHashes) XXX_Unmarshal(b []byte) error
type ConvertHashToIRIRequest ¶
type ConvertHashToIRIRequest struct { // content_hash is the ContentHash to convert to an IRI. ContentHash *ContentHash `protobuf:"bytes,1,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` }
ConvertHashToIRIRequest is the Query/ConvertHashToIRI request type.
func (*ConvertHashToIRIRequest) Descriptor ¶
func (*ConvertHashToIRIRequest) Descriptor() ([]byte, []int)
func (*ConvertHashToIRIRequest) GetContentHash ¶
func (m *ConvertHashToIRIRequest) GetContentHash() *ContentHash
func (*ConvertHashToIRIRequest) Marshal ¶
func (m *ConvertHashToIRIRequest) Marshal() (dAtA []byte, err error)
func (*ConvertHashToIRIRequest) MarshalTo ¶
func (m *ConvertHashToIRIRequest) MarshalTo(dAtA []byte) (int, error)
func (*ConvertHashToIRIRequest) MarshalToSizedBuffer ¶
func (m *ConvertHashToIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConvertHashToIRIRequest) ProtoMessage ¶
func (*ConvertHashToIRIRequest) ProtoMessage()
func (*ConvertHashToIRIRequest) Reset ¶
func (m *ConvertHashToIRIRequest) Reset()
func (*ConvertHashToIRIRequest) Size ¶
func (m *ConvertHashToIRIRequest) Size() (n int)
func (*ConvertHashToIRIRequest) String ¶
func (m *ConvertHashToIRIRequest) String() string
func (*ConvertHashToIRIRequest) Unmarshal ¶
func (m *ConvertHashToIRIRequest) Unmarshal(dAtA []byte) error
func (*ConvertHashToIRIRequest) XXX_DiscardUnknown ¶
func (m *ConvertHashToIRIRequest) XXX_DiscardUnknown()
func (*ConvertHashToIRIRequest) XXX_Marshal ¶
func (m *ConvertHashToIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConvertHashToIRIRequest) XXX_Merge ¶
func (m *ConvertHashToIRIRequest) XXX_Merge(src proto.Message)
func (*ConvertHashToIRIRequest) XXX_Size ¶
func (m *ConvertHashToIRIRequest) XXX_Size() int
func (*ConvertHashToIRIRequest) XXX_Unmarshal ¶
func (m *ConvertHashToIRIRequest) XXX_Unmarshal(b []byte) error
type ConvertHashToIRIResponse ¶
type ConvertHashToIRIResponse struct { // iri is the IRI converted from the ContentHash. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` }
ConvertHashToIRIResponse is the Query/ConvertHashToIRI response type.
func (*ConvertHashToIRIResponse) Descriptor ¶
func (*ConvertHashToIRIResponse) Descriptor() ([]byte, []int)
func (*ConvertHashToIRIResponse) GetIri ¶
func (m *ConvertHashToIRIResponse) GetIri() string
func (*ConvertHashToIRIResponse) Marshal ¶
func (m *ConvertHashToIRIResponse) Marshal() (dAtA []byte, err error)
func (*ConvertHashToIRIResponse) MarshalTo ¶
func (m *ConvertHashToIRIResponse) MarshalTo(dAtA []byte) (int, error)
func (*ConvertHashToIRIResponse) MarshalToSizedBuffer ¶
func (m *ConvertHashToIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConvertHashToIRIResponse) ProtoMessage ¶
func (*ConvertHashToIRIResponse) ProtoMessage()
func (*ConvertHashToIRIResponse) Reset ¶
func (m *ConvertHashToIRIResponse) Reset()
func (*ConvertHashToIRIResponse) Size ¶
func (m *ConvertHashToIRIResponse) Size() (n int)
func (*ConvertHashToIRIResponse) String ¶
func (m *ConvertHashToIRIResponse) String() string
func (*ConvertHashToIRIResponse) Unmarshal ¶
func (m *ConvertHashToIRIResponse) Unmarshal(dAtA []byte) error
func (*ConvertHashToIRIResponse) XXX_DiscardUnknown ¶
func (m *ConvertHashToIRIResponse) XXX_DiscardUnknown()
func (*ConvertHashToIRIResponse) XXX_Marshal ¶
func (m *ConvertHashToIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConvertHashToIRIResponse) XXX_Merge ¶
func (m *ConvertHashToIRIResponse) XXX_Merge(src proto.Message)
func (*ConvertHashToIRIResponse) XXX_Size ¶
func (m *ConvertHashToIRIResponse) XXX_Size() int
func (*ConvertHashToIRIResponse) XXX_Unmarshal ¶
func (m *ConvertHashToIRIResponse) XXX_Unmarshal(b []byte) error
type ConvertIRIToHashRequest ¶
type ConvertIRIToHashRequest struct { // iri is the IRI to convert to a ContentHash. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` }
ConvertIRIToHashRequest is the Query/ConvertIRIToHash request type.
func (*ConvertIRIToHashRequest) Descriptor ¶
func (*ConvertIRIToHashRequest) Descriptor() ([]byte, []int)
func (*ConvertIRIToHashRequest) GetIri ¶
func (m *ConvertIRIToHashRequest) GetIri() string
func (*ConvertIRIToHashRequest) Marshal ¶
func (m *ConvertIRIToHashRequest) Marshal() (dAtA []byte, err error)
func (*ConvertIRIToHashRequest) MarshalTo ¶
func (m *ConvertIRIToHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*ConvertIRIToHashRequest) MarshalToSizedBuffer ¶
func (m *ConvertIRIToHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConvertIRIToHashRequest) ProtoMessage ¶
func (*ConvertIRIToHashRequest) ProtoMessage()
func (*ConvertIRIToHashRequest) Reset ¶
func (m *ConvertIRIToHashRequest) Reset()
func (*ConvertIRIToHashRequest) Size ¶
func (m *ConvertIRIToHashRequest) Size() (n int)
func (*ConvertIRIToHashRequest) String ¶
func (m *ConvertIRIToHashRequest) String() string
func (*ConvertIRIToHashRequest) Unmarshal ¶
func (m *ConvertIRIToHashRequest) Unmarshal(dAtA []byte) error
func (*ConvertIRIToHashRequest) XXX_DiscardUnknown ¶
func (m *ConvertIRIToHashRequest) XXX_DiscardUnknown()
func (*ConvertIRIToHashRequest) XXX_Marshal ¶
func (m *ConvertIRIToHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConvertIRIToHashRequest) XXX_Merge ¶
func (m *ConvertIRIToHashRequest) XXX_Merge(src proto.Message)
func (*ConvertIRIToHashRequest) XXX_Size ¶
func (m *ConvertIRIToHashRequest) XXX_Size() int
func (*ConvertIRIToHashRequest) XXX_Unmarshal ¶
func (m *ConvertIRIToHashRequest) XXX_Unmarshal(b []byte) error
type ConvertIRIToHashResponse ¶
type ConvertIRIToHashResponse struct { // content_hash is the ContentHash converted from the IRI. ContentHash *ContentHash `protobuf:"bytes,1,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` }
ConvertIRIToHashResponse is the Query/ConvertIRIToHash response type.
func (*ConvertIRIToHashResponse) Descriptor ¶
func (*ConvertIRIToHashResponse) Descriptor() ([]byte, []int)
func (*ConvertIRIToHashResponse) GetContentHash ¶
func (m *ConvertIRIToHashResponse) GetContentHash() *ContentHash
func (*ConvertIRIToHashResponse) Marshal ¶
func (m *ConvertIRIToHashResponse) Marshal() (dAtA []byte, err error)
func (*ConvertIRIToHashResponse) MarshalTo ¶
func (m *ConvertIRIToHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*ConvertIRIToHashResponse) MarshalToSizedBuffer ¶
func (m *ConvertIRIToHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConvertIRIToHashResponse) ProtoMessage ¶
func (*ConvertIRIToHashResponse) ProtoMessage()
func (*ConvertIRIToHashResponse) Reset ¶
func (m *ConvertIRIToHashResponse) Reset()
func (*ConvertIRIToHashResponse) Size ¶
func (m *ConvertIRIToHashResponse) Size() (n int)
func (*ConvertIRIToHashResponse) String ¶
func (m *ConvertIRIToHashResponse) String() string
func (*ConvertIRIToHashResponse) Unmarshal ¶
func (m *ConvertIRIToHashResponse) Unmarshal(dAtA []byte) error
func (*ConvertIRIToHashResponse) XXX_DiscardUnknown ¶
func (m *ConvertIRIToHashResponse) XXX_DiscardUnknown()
func (*ConvertIRIToHashResponse) XXX_Marshal ¶
func (m *ConvertIRIToHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConvertIRIToHashResponse) XXX_Merge ¶
func (m *ConvertIRIToHashResponse) XXX_Merge(src proto.Message)
func (*ConvertIRIToHashResponse) XXX_Size ¶
func (m *ConvertIRIToHashResponse) XXX_Size() int
func (*ConvertIRIToHashResponse) XXX_Unmarshal ¶
func (m *ConvertIRIToHashResponse) XXX_Unmarshal(b []byte) error
type DataAnchor ¶
type DataAnchor struct { // id is the compact data ID. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // timestamp is the anchor timestamp for this object - the time at which // it was first known to the blockchain. Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
DataAnchor stores the anchor timestamp for a data object.
func (*DataAnchor) Descriptor ¶
func (*DataAnchor) Descriptor() ([]byte, []int)
func (*DataAnchor) GetId ¶
func (m *DataAnchor) GetId() []byte
func (*DataAnchor) GetTimestamp ¶
func (m *DataAnchor) GetTimestamp() *types.Timestamp
func (*DataAnchor) Marshal ¶
func (m *DataAnchor) Marshal() (dAtA []byte, err error)
func (*DataAnchor) MarshalToSizedBuffer ¶
func (m *DataAnchor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DataAnchor) ProtoMessage ¶
func (*DataAnchor) ProtoMessage()
func (*DataAnchor) Reset ¶
func (m *DataAnchor) Reset()
func (*DataAnchor) Size ¶
func (m *DataAnchor) Size() (n int)
func (*DataAnchor) String ¶
func (m *DataAnchor) String() string
func (*DataAnchor) Unmarshal ¶
func (m *DataAnchor) Unmarshal(dAtA []byte) error
func (*DataAnchor) Validate ¶
func (m *DataAnchor) Validate() error
Validate performs basic validation of the DataAnchor state type
func (*DataAnchor) XXX_DiscardUnknown ¶
func (m *DataAnchor) XXX_DiscardUnknown()
func (*DataAnchor) XXX_Marshal ¶
func (m *DataAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataAnchor) XXX_Merge ¶
func (m *DataAnchor) XXX_Merge(src proto.Message)
func (*DataAnchor) XXX_Size ¶
func (m *DataAnchor) XXX_Size() int
func (*DataAnchor) XXX_Unmarshal ¶
func (m *DataAnchor) XXX_Unmarshal(b []byte) error
type DataAttestor ¶
type DataAttestor struct { // id is the compact data ID. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // attestor is the account address of the attestor. Attestor []byte `protobuf:"bytes,2,opt,name=attestor,proto3" json:"attestor,omitempty"` // timestamp is the time at which the attestor signed this data object. Timestamp *types.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
DataAttestor is a join table for associating data IDs and attestors.
func (*DataAttestor) Descriptor ¶
func (*DataAttestor) Descriptor() ([]byte, []int)
func (*DataAttestor) GetAttestor ¶
func (m *DataAttestor) GetAttestor() []byte
func (*DataAttestor) GetId ¶
func (m *DataAttestor) GetId() []byte
func (*DataAttestor) GetTimestamp ¶
func (m *DataAttestor) GetTimestamp() *types.Timestamp
func (*DataAttestor) Marshal ¶
func (m *DataAttestor) Marshal() (dAtA []byte, err error)
func (*DataAttestor) MarshalToSizedBuffer ¶
func (m *DataAttestor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DataAttestor) ProtoMessage ¶
func (*DataAttestor) ProtoMessage()
func (*DataAttestor) Reset ¶
func (m *DataAttestor) Reset()
func (*DataAttestor) Size ¶
func (m *DataAttestor) Size() (n int)
func (*DataAttestor) String ¶
func (m *DataAttestor) String() string
func (*DataAttestor) Unmarshal ¶
func (m *DataAttestor) Unmarshal(dAtA []byte) error
func (*DataAttestor) Validate ¶
func (m *DataAttestor) Validate() error
Validate performs basic validation of the DataAttestor state type
func (*DataAttestor) XXX_DiscardUnknown ¶
func (m *DataAttestor) XXX_DiscardUnknown()
func (*DataAttestor) XXX_Marshal ¶
func (m *DataAttestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataAttestor) XXX_Merge ¶
func (m *DataAttestor) XXX_Merge(src proto.Message)
func (*DataAttestor) XXX_Size ¶
func (m *DataAttestor) XXX_Size() int
func (*DataAttestor) XXX_Unmarshal ¶
func (m *DataAttestor) XXX_Unmarshal(b []byte) error
type DataID ¶
type DataID struct { // id is the compact automatically-generated data ID. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // iri is the IRI of the data which contains its full ContentHash. Iri string `protobuf:"bytes,2,opt,name=iri,proto3" json:"iri,omitempty"` }
DataID stores a compact data ID and its full IRI.
func (*DataID) Descriptor ¶
func (*DataID) MarshalToSizedBuffer ¶
func (*DataID) ProtoMessage ¶
func (*DataID) ProtoMessage()
func (*DataID) XXX_DiscardUnknown ¶
func (m *DataID) XXX_DiscardUnknown()
func (*DataID) XXX_Marshal ¶
func (*DataID) XXX_Unmarshal ¶
type DataResolver ¶
type DataResolver struct { // id is the compact data ID. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // resolver_id is the ID of the resolver. ResolverId uint64 `protobuf:"varint,2,opt,name=resolver_id,json=resolverId,proto3" json:"resolver_id,omitempty"` }
DataResolver is a join table between data objects and resolvers and indicates that a resolver claims to be able to resolve this data object.
func (*DataResolver) Descriptor ¶
func (*DataResolver) Descriptor() ([]byte, []int)
func (*DataResolver) GetId ¶
func (m *DataResolver) GetId() []byte
func (*DataResolver) GetResolverId ¶
func (m *DataResolver) GetResolverId() uint64
func (*DataResolver) Marshal ¶
func (m *DataResolver) Marshal() (dAtA []byte, err error)
func (*DataResolver) MarshalToSizedBuffer ¶
func (m *DataResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DataResolver) ProtoMessage ¶
func (*DataResolver) ProtoMessage()
func (*DataResolver) Reset ¶
func (m *DataResolver) Reset()
func (*DataResolver) Size ¶
func (m *DataResolver) Size() (n int)
func (*DataResolver) String ¶
func (m *DataResolver) String() string
func (*DataResolver) Unmarshal ¶
func (m *DataResolver) Unmarshal(dAtA []byte) error
func (*DataResolver) Validate ¶
func (m *DataResolver) Validate() error
Validate performs basic validation of the DataResolver state type
func (*DataResolver) XXX_DiscardUnknown ¶
func (m *DataResolver) XXX_DiscardUnknown()
func (*DataResolver) XXX_Marshal ¶
func (m *DataResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataResolver) XXX_Merge ¶
func (m *DataResolver) XXX_Merge(src proto.Message)
func (*DataResolver) XXX_Size ¶
func (m *DataResolver) XXX_Size() int
func (*DataResolver) XXX_Unmarshal ¶
func (m *DataResolver) XXX_Unmarshal(b []byte) error
type DigestAlgorithm ¶
type DigestAlgorithm int32
DigestAlgorithm is the hash digest algorithm
With v2, this enum is no longer validated on-chain. However, this enum SHOULD still be used and updated as a registry of known digest algorithms and all implementations should coordinate on these values.
const ( // unspecified and invalid DigestAlgorithm_DIGEST_ALGORITHM_UNSPECIFIED DigestAlgorithm = 0 // BLAKE2b-256 DigestAlgorithm_DIGEST_ALGORITHM_BLAKE2B_256 DigestAlgorithm = 1 )
func (DigestAlgorithm) EnumDescriptor ¶
func (DigestAlgorithm) EnumDescriptor() ([]byte, []int)
func (DigestAlgorithm) String ¶
func (x DigestAlgorithm) String() string
func (DigestAlgorithm) Validate ¶
func (da DigestAlgorithm) Validate(hash []byte) error
type EventAnchor ¶
type EventAnchor struct { // iri is the IRI of the data anchored on chain. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` }
EventAnchor is an event emitted when data is anchored on chain.
func (*EventAnchor) Descriptor ¶
func (*EventAnchor) Descriptor() ([]byte, []int)
func (*EventAnchor) GetIri ¶
func (m *EventAnchor) GetIri() string
func (*EventAnchor) Marshal ¶
func (m *EventAnchor) Marshal() (dAtA []byte, err error)
func (*EventAnchor) MarshalToSizedBuffer ¶
func (m *EventAnchor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAnchor) ProtoMessage ¶
func (*EventAnchor) ProtoMessage()
func (*EventAnchor) Reset ¶
func (m *EventAnchor) Reset()
func (*EventAnchor) Size ¶
func (m *EventAnchor) Size() (n int)
func (*EventAnchor) String ¶
func (m *EventAnchor) String() string
func (*EventAnchor) Unmarshal ¶
func (m *EventAnchor) Unmarshal(dAtA []byte) error
func (*EventAnchor) XXX_DiscardUnknown ¶
func (m *EventAnchor) XXX_DiscardUnknown()
func (*EventAnchor) XXX_Marshal ¶
func (m *EventAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAnchor) XXX_Merge ¶
func (m *EventAnchor) XXX_Merge(src proto.Message)
func (*EventAnchor) XXX_Size ¶
func (m *EventAnchor) XXX_Size() int
func (*EventAnchor) XXX_Unmarshal ¶
func (m *EventAnchor) XXX_Unmarshal(b []byte) error
type EventAttest ¶
type EventAttest struct { // iri is the IRI of the data attested to. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // attestor is the address of the account that has attested to the veracity of // the data. Attestor string `protobuf:"bytes,2,opt,name=attestor,proto3" json:"attestor,omitempty"` }
EventAttest is an event emitted when data is attested to on chain.
func (*EventAttest) Descriptor ¶
func (*EventAttest) Descriptor() ([]byte, []int)
func (*EventAttest) GetAttestor ¶
func (m *EventAttest) GetAttestor() string
func (*EventAttest) GetIri ¶
func (m *EventAttest) GetIri() string
func (*EventAttest) Marshal ¶
func (m *EventAttest) Marshal() (dAtA []byte, err error)
func (*EventAttest) MarshalToSizedBuffer ¶
func (m *EventAttest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAttest) ProtoMessage ¶
func (*EventAttest) ProtoMessage()
func (*EventAttest) Reset ¶
func (m *EventAttest) Reset()
func (*EventAttest) Size ¶
func (m *EventAttest) Size() (n int)
func (*EventAttest) String ¶
func (m *EventAttest) String() string
func (*EventAttest) Unmarshal ¶
func (m *EventAttest) Unmarshal(dAtA []byte) error
func (*EventAttest) XXX_DiscardUnknown ¶
func (m *EventAttest) XXX_DiscardUnknown()
func (*EventAttest) XXX_Marshal ¶
func (m *EventAttest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAttest) XXX_Merge ¶
func (m *EventAttest) XXX_Merge(src proto.Message)
func (*EventAttest) XXX_Size ¶
func (m *EventAttest) XXX_Size() int
func (*EventAttest) XXX_Unmarshal ¶
func (m *EventAttest) XXX_Unmarshal(b []byte) error
type EventDefineResolver ¶
type EventDefineResolver struct { // id is the ID of the defined resolver. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` }
EventDefineResolver is an event emitted when a resolved is defined on chain.
func (*EventDefineResolver) Descriptor ¶
func (*EventDefineResolver) Descriptor() ([]byte, []int)
func (*EventDefineResolver) GetId ¶
func (m *EventDefineResolver) GetId() uint64
func (*EventDefineResolver) Marshal ¶
func (m *EventDefineResolver) Marshal() (dAtA []byte, err error)
func (*EventDefineResolver) MarshalTo ¶
func (m *EventDefineResolver) MarshalTo(dAtA []byte) (int, error)
func (*EventDefineResolver) MarshalToSizedBuffer ¶
func (m *EventDefineResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDefineResolver) ProtoMessage ¶
func (*EventDefineResolver) ProtoMessage()
func (*EventDefineResolver) Reset ¶
func (m *EventDefineResolver) Reset()
func (*EventDefineResolver) Size ¶
func (m *EventDefineResolver) Size() (n int)
func (*EventDefineResolver) String ¶
func (m *EventDefineResolver) String() string
func (*EventDefineResolver) Unmarshal ¶
func (m *EventDefineResolver) Unmarshal(dAtA []byte) error
func (*EventDefineResolver) XXX_DiscardUnknown ¶
func (m *EventDefineResolver) XXX_DiscardUnknown()
func (*EventDefineResolver) XXX_Marshal ¶
func (m *EventDefineResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDefineResolver) XXX_Merge ¶
func (m *EventDefineResolver) XXX_Merge(src proto.Message)
func (*EventDefineResolver) XXX_Size ¶
func (m *EventDefineResolver) XXX_Size() int
func (*EventDefineResolver) XXX_Unmarshal ¶
func (m *EventDefineResolver) XXX_Unmarshal(b []byte) error
type EventRegisterResolver ¶
type EventRegisterResolver struct { // id is the ID of the resolver that the data was registered to. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // iri is the IRI of the data that was registered. Iri string `protobuf:"bytes,2,opt,name=iri,proto3" json:"iri,omitempty"` }
EventRegisterResolver is an event emitted when data is registered to a resolver on chain.
func (*EventRegisterResolver) Descriptor ¶
func (*EventRegisterResolver) Descriptor() ([]byte, []int)
func (*EventRegisterResolver) GetId ¶
func (m *EventRegisterResolver) GetId() uint64
func (*EventRegisterResolver) GetIri ¶
func (m *EventRegisterResolver) GetIri() string
func (*EventRegisterResolver) Marshal ¶
func (m *EventRegisterResolver) Marshal() (dAtA []byte, err error)
func (*EventRegisterResolver) MarshalTo ¶
func (m *EventRegisterResolver) MarshalTo(dAtA []byte) (int, error)
func (*EventRegisterResolver) MarshalToSizedBuffer ¶
func (m *EventRegisterResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRegisterResolver) ProtoMessage ¶
func (*EventRegisterResolver) ProtoMessage()
func (*EventRegisterResolver) Reset ¶
func (m *EventRegisterResolver) Reset()
func (*EventRegisterResolver) Size ¶
func (m *EventRegisterResolver) Size() (n int)
func (*EventRegisterResolver) String ¶
func (m *EventRegisterResolver) String() string
func (*EventRegisterResolver) Unmarshal ¶
func (m *EventRegisterResolver) Unmarshal(dAtA []byte) error
func (*EventRegisterResolver) XXX_DiscardUnknown ¶
func (m *EventRegisterResolver) XXX_DiscardUnknown()
func (*EventRegisterResolver) XXX_Marshal ¶
func (m *EventRegisterResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRegisterResolver) XXX_Merge ¶
func (m *EventRegisterResolver) XXX_Merge(src proto.Message)
func (*EventRegisterResolver) XXX_Size ¶
func (m *EventRegisterResolver) XXX_Size() int
func (*EventRegisterResolver) XXX_Unmarshal ¶
func (m *EventRegisterResolver) XXX_Unmarshal(b []byte) error
type GraphCanonicalizationAlgorithm ¶
type GraphCanonicalizationAlgorithm int32
GraphCanonicalizationAlgorithm is the graph canonicalization algorithm
With v2, this enum is no longer validated on-chain. However, this enum SHOULD still be used and updated as a registry of known canonicalization algorithms and all implementations should coordinate on these values.
const ( // unspecified and invalid GraphCanonicalizationAlgorithm_GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED GraphCanonicalizationAlgorithm = 0 // RDFC 1.0 graph canonicalization algorithm. Essentially the same as URDNA2015 with some // small clarifications around escaping of escape characters. GraphCanonicalizationAlgorithm_GRAPH_CANONICALIZATION_ALGORITHM_RDFC_1_0 GraphCanonicalizationAlgorithm = 1 )
func (GraphCanonicalizationAlgorithm) EnumDescriptor ¶
func (GraphCanonicalizationAlgorithm) EnumDescriptor() ([]byte, []int)
func (GraphCanonicalizationAlgorithm) String ¶
func (x GraphCanonicalizationAlgorithm) String() string
func (GraphCanonicalizationAlgorithm) Validate ¶
func (gca GraphCanonicalizationAlgorithm) Validate() error
type GraphMerkleTree ¶
type GraphMerkleTree int32
GraphMerkleTree is the graph merkle tree type used for hashing, if any.
With v2, this enum is no longer validated on-chain. However, this enum SHOULD still be used and updated as a registry of known merkle tree types and all implementations should coordinate on these values.
const ( // unspecified and valid GraphMerkleTree_GRAPH_MERKLE_TREE_NONE_UNSPECIFIED GraphMerkleTree = 0 )
func (GraphMerkleTree) EnumDescriptor ¶
func (GraphMerkleTree) EnumDescriptor() ([]byte, []int)
func (GraphMerkleTree) String ¶
func (x GraphMerkleTree) String() string
func (GraphMerkleTree) Validate ¶
func (gmt GraphMerkleTree) Validate() error
type MsgAnchor ¶
type MsgAnchor struct { // sender is the address of the sender of the transaction. The sender in // Anchor is not attesting to the veracity of the underlying data. They // can simply be an intermediary providing services. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // content_hash is the content hash for the data to anchor. ContentHash *ContentHash `protobuf:"bytes,2,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` }
MsgAnchor is the Msg/Anchor request type.
func (*MsgAnchor) Descriptor ¶
func (*MsgAnchor) GetContentHash ¶
func (m *MsgAnchor) GetContentHash() *ContentHash
func (MsgAnchor) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgAnchor) GetSigners ¶
func (m *MsgAnchor) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgAnchor.
func (*MsgAnchor) MarshalToSizedBuffer ¶
func (*MsgAnchor) ProtoMessage ¶
func (*MsgAnchor) ProtoMessage()
func (*MsgAnchor) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgAnchor) XXX_DiscardUnknown ¶
func (m *MsgAnchor) XXX_DiscardUnknown()
func (*MsgAnchor) XXX_Marshal ¶
func (*MsgAnchor) XXX_Unmarshal ¶
type MsgAnchorResponse ¶
type MsgAnchorResponse struct { // iri is the IRI of the data that was anchored. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // timestamp is the time at which the data was anchored. Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
MsgAnchor is the Msg/Anchor response type.
func (*MsgAnchorResponse) Descriptor ¶
func (*MsgAnchorResponse) Descriptor() ([]byte, []int)
func (*MsgAnchorResponse) GetIri ¶
func (m *MsgAnchorResponse) GetIri() string
func (*MsgAnchorResponse) GetTimestamp ¶
func (m *MsgAnchorResponse) GetTimestamp() *types.Timestamp
func (*MsgAnchorResponse) Marshal ¶
func (m *MsgAnchorResponse) Marshal() (dAtA []byte, err error)
func (*MsgAnchorResponse) MarshalTo ¶
func (m *MsgAnchorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAnchorResponse) MarshalToSizedBuffer ¶
func (m *MsgAnchorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAnchorResponse) ProtoMessage ¶
func (*MsgAnchorResponse) ProtoMessage()
func (*MsgAnchorResponse) Reset ¶
func (m *MsgAnchorResponse) Reset()
func (*MsgAnchorResponse) Size ¶
func (m *MsgAnchorResponse) Size() (n int)
func (*MsgAnchorResponse) String ¶
func (m *MsgAnchorResponse) String() string
func (*MsgAnchorResponse) Unmarshal ¶
func (m *MsgAnchorResponse) Unmarshal(dAtA []byte) error
func (*MsgAnchorResponse) XXX_DiscardUnknown ¶
func (m *MsgAnchorResponse) XXX_DiscardUnknown()
func (*MsgAnchorResponse) XXX_Marshal ¶
func (m *MsgAnchorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAnchorResponse) XXX_Merge ¶
func (m *MsgAnchorResponse) XXX_Merge(src proto.Message)
func (*MsgAnchorResponse) XXX_Size ¶
func (m *MsgAnchorResponse) XXX_Size() int
func (*MsgAnchorResponse) XXX_Unmarshal ¶
func (m *MsgAnchorResponse) XXX_Unmarshal(b []byte) error
type MsgAttest ¶
type MsgAttest struct { // attestor is the addresses of the account attesting to the veracity of the // data. By making an Attest request, the attestor is attesting to the // veracity of the data referenced by the IRI. The precise meaning of this may // vary depending on the underlying data. Attestor string `protobuf:"bytes,1,opt,name=attestor,proto3" json:"attestor,omitempty"` // content_hashes are the content hashes for anchored data. Only RDF graph // data can be signed as its data model is intended to specifically convey // semantic meaning. ContentHashes []*ContentHash_Graph `protobuf:"bytes,2,rep,name=content_hashes,json=contentHashes,proto3" json:"content_hashes,omitempty"` }
MsgAttest is the Msg/Attest request type.
func (*MsgAttest) Descriptor ¶
func (*MsgAttest) GetAttestor ¶
func (*MsgAttest) GetContentHashes ¶
func (m *MsgAttest) GetContentHashes() []*ContentHash_Graph
func (MsgAttest) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgAttest) GetSigners ¶
func (m *MsgAttest) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgAttest.
func (*MsgAttest) MarshalToSizedBuffer ¶
func (*MsgAttest) ProtoMessage ¶
func (*MsgAttest) ProtoMessage()
func (*MsgAttest) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgAttest) XXX_DiscardUnknown ¶
func (m *MsgAttest) XXX_DiscardUnknown()
func (*MsgAttest) XXX_Marshal ¶
func (*MsgAttest) XXX_Unmarshal ¶
type MsgAttestResponse ¶
type MsgAttestResponse struct { // iris are the IRIs of the data that was attested to. If the attestor attests // to the same piece of data, the previous attestation will not be updated and // the IRI will not be included in this list. Iris []string `protobuf:"bytes,1,rep,name=iris,proto3" json:"iris,omitempty"` // timestamp is the time at which any new attestations were made. Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
MsgAttestResponse is the Msg/Attest response type.
func (*MsgAttestResponse) Descriptor ¶
func (*MsgAttestResponse) Descriptor() ([]byte, []int)
func (*MsgAttestResponse) GetIris ¶
func (m *MsgAttestResponse) GetIris() []string
func (*MsgAttestResponse) GetTimestamp ¶
func (m *MsgAttestResponse) GetTimestamp() *types.Timestamp
func (*MsgAttestResponse) Marshal ¶
func (m *MsgAttestResponse) Marshal() (dAtA []byte, err error)
func (*MsgAttestResponse) MarshalTo ¶
func (m *MsgAttestResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAttestResponse) MarshalToSizedBuffer ¶
func (m *MsgAttestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAttestResponse) ProtoMessage ¶
func (*MsgAttestResponse) ProtoMessage()
func (*MsgAttestResponse) Reset ¶
func (m *MsgAttestResponse) Reset()
func (*MsgAttestResponse) Size ¶
func (m *MsgAttestResponse) Size() (n int)
func (*MsgAttestResponse) String ¶
func (m *MsgAttestResponse) String() string
func (*MsgAttestResponse) Unmarshal ¶
func (m *MsgAttestResponse) Unmarshal(dAtA []byte) error
func (*MsgAttestResponse) XXX_DiscardUnknown ¶
func (m *MsgAttestResponse) XXX_DiscardUnknown()
func (*MsgAttestResponse) XXX_Marshal ¶
func (m *MsgAttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAttestResponse) XXX_Merge ¶
func (m *MsgAttestResponse) XXX_Merge(src proto.Message)
func (*MsgAttestResponse) XXX_Size ¶
func (m *MsgAttestResponse) XXX_Size() int
func (*MsgAttestResponse) XXX_Unmarshal ¶
func (m *MsgAttestResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // Anchor "anchors" a piece of data to the blockchain based on its secure // hash, effectively providing a tamper resistant timestamp. // // The sender in Anchor is not attesting to the veracity of the underlying // data. They can simply be an intermediary providing timestamp services. // Attest should be used to create a digital signature attesting to the // veracity of some piece of data. Anchor(ctx context.Context, in *MsgAnchor, opts ...grpc.CallOption) (*MsgAnchorResponse, error) // Attest allows for digital signing of an arbitrary piece of data on the // blockchain. By attesting to data, the attestor is making a statement about // the veracity of the data itself. It is like signing a legal document, // meaning that I agree to all conditions and to the best of my knowledge // everything is true. When anchoring data, the sender is not attesting to the // veracity of the data, they are simply communicating that it exists. // // On-chain signatures have the following benefits: // - on-chain identities can be managed using different cryptographic keys // that change over time through key rotation practices // - an on-chain identity may represent an organization and through delegation // individual members may sign on behalf of the group // - the blockchain transaction envelope provides built-in replay protection // and timestamping // // Attest implicitly calls Anchor if the data was not already anchored. // // Attest can be called multiple times for the same content hash with // different attestors and those attestors will be appended to the list of // attestors. If the same attestor attempts to attest to the same piece of // data, the attestor will be ignored and a new attestation with a new // timestamp will not be added. Attest(ctx context.Context, in *MsgAttest, opts ...grpc.CallOption) (*MsgAttestResponse, error) // DefineResolver defines a resolver URL and assigns it a new integer ID // that can be used in calls to RegisterResolver. DefineResolver(ctx context.Context, in *MsgDefineResolver, opts ...grpc.CallOption) (*MsgDefineResolverResponse, error) // RegisterResolver registers data content hashes RegisterResolver(ctx context.Context, in *MsgRegisterResolver, opts ...grpc.CallOption) (*MsgRegisterResolverResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgDefineResolver ¶
type MsgDefineResolver struct { // definer is the address of the account defining the resolver. If // the boolean public is set to true, then any user can register // data with this resolver. If the boolean public is set to false, // then only the definer can register data with this resolver and // must use a feature such as cosmos.authz to authorize other accounts // to register data with this resolver. Definer string `protobuf:"bytes,1,opt,name=definer,proto3" json:"definer,omitempty"` // resolver_url is a resolver URL. // // If it refers to an HTTP URL, that HTTP service should // respond to a GET request with the IRI of a ContentHash as the path parameter // and return the content if it exists or a 404. For graph data, resolvers // should use the HTTP Accept header to negotiate the RDF serialization // format. // // To use IPFS, the resolver_url ipfs: should be defined with public set to true // and used as the resolver for any data hosted on IPFS. Content hashes must be // adapted to IPFS's CID format. The multicodec raw (0x55) should // be used for all raw content hashes and the multicodec rdfc-1 (0xb403) // should be used for all graph content hashes (unless new canonicalization // or merkle tree algorithms are used which may or may not be supported // by IPFS). Note that IPFS's tools currently do not support creating or // resolving RDFC-1 content hashes so upstream work will be needed for // that integration to be fully supported. ResolverUrl string `protobuf:"bytes,2,opt,name=resolver_url,json=resolverUrl,proto3" json:"resolver_url,omitempty"` // public is a boolean indicating whether the resolver is public or not. // If public is false then only the definer can register data with this // resolver. Public bool `protobuf:"varint,3,opt,name=public,proto3" json:"public,omitempty"` }
MsgDefineResolver is the Msg/DefineResolver request type.
func (*MsgDefineResolver) Descriptor ¶
func (*MsgDefineResolver) Descriptor() ([]byte, []int)
func (*MsgDefineResolver) GetDefiner ¶
func (m *MsgDefineResolver) GetDefiner() string
func (*MsgDefineResolver) GetPublic ¶
func (m *MsgDefineResolver) GetPublic() bool
func (*MsgDefineResolver) GetResolverUrl ¶
func (m *MsgDefineResolver) GetResolverUrl() string
func (MsgDefineResolver) GetSignBytes ¶
func (m MsgDefineResolver) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgDefineResolver) GetSigners ¶
func (m *MsgDefineResolver) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgDefineResolver.
func (*MsgDefineResolver) Marshal ¶
func (m *MsgDefineResolver) Marshal() (dAtA []byte, err error)
func (*MsgDefineResolver) MarshalTo ¶
func (m *MsgDefineResolver) MarshalTo(dAtA []byte) (int, error)
func (*MsgDefineResolver) MarshalToSizedBuffer ¶
func (m *MsgDefineResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDefineResolver) ProtoMessage ¶
func (*MsgDefineResolver) ProtoMessage()
func (*MsgDefineResolver) Reset ¶
func (m *MsgDefineResolver) Reset()
func (MsgDefineResolver) Route ¶
func (m MsgDefineResolver) Route() string
Route implements the LegacyMsg interface.
func (*MsgDefineResolver) Size ¶
func (m *MsgDefineResolver) Size() (n int)
func (*MsgDefineResolver) String ¶
func (m *MsgDefineResolver) String() string
func (MsgDefineResolver) Type ¶
func (m MsgDefineResolver) Type() string
Type implements the LegacyMsg interface.
func (*MsgDefineResolver) Unmarshal ¶
func (m *MsgDefineResolver) Unmarshal(dAtA []byte) error
func (*MsgDefineResolver) ValidateBasic ¶
func (m *MsgDefineResolver) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgDefineResolver) XXX_DiscardUnknown ¶
func (m *MsgDefineResolver) XXX_DiscardUnknown()
func (*MsgDefineResolver) XXX_Marshal ¶
func (m *MsgDefineResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDefineResolver) XXX_Merge ¶
func (m *MsgDefineResolver) XXX_Merge(src proto.Message)
func (*MsgDefineResolver) XXX_Size ¶
func (m *MsgDefineResolver) XXX_Size() int
func (*MsgDefineResolver) XXX_Unmarshal ¶
func (m *MsgDefineResolver) XXX_Unmarshal(b []byte) error
type MsgDefineResolverResponse ¶
type MsgDefineResolverResponse struct { // resolver_id is the integer ID of the resolver to be used in // MsgRegisterResolver. ResolverId uint64 `protobuf:"varint,1,opt,name=resolver_id,json=resolverId,proto3" json:"resolver_id,omitempty"` }
MsgDefineResolverResponse is the Msg/DefineResolver response type.
func (*MsgDefineResolverResponse) Descriptor ¶
func (*MsgDefineResolverResponse) Descriptor() ([]byte, []int)
func (*MsgDefineResolverResponse) GetResolverId ¶
func (m *MsgDefineResolverResponse) GetResolverId() uint64
func (*MsgDefineResolverResponse) Marshal ¶
func (m *MsgDefineResolverResponse) Marshal() (dAtA []byte, err error)
func (*MsgDefineResolverResponse) MarshalTo ¶
func (m *MsgDefineResolverResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDefineResolverResponse) MarshalToSizedBuffer ¶
func (m *MsgDefineResolverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDefineResolverResponse) ProtoMessage ¶
func (*MsgDefineResolverResponse) ProtoMessage()
func (*MsgDefineResolverResponse) Reset ¶
func (m *MsgDefineResolverResponse) Reset()
func (*MsgDefineResolverResponse) Size ¶
func (m *MsgDefineResolverResponse) Size() (n int)
func (*MsgDefineResolverResponse) String ¶
func (m *MsgDefineResolverResponse) String() string
func (*MsgDefineResolverResponse) Unmarshal ¶
func (m *MsgDefineResolverResponse) Unmarshal(dAtA []byte) error
func (*MsgDefineResolverResponse) XXX_DiscardUnknown ¶
func (m *MsgDefineResolverResponse) XXX_DiscardUnknown()
func (*MsgDefineResolverResponse) XXX_Marshal ¶
func (m *MsgDefineResolverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDefineResolverResponse) XXX_Merge ¶
func (m *MsgDefineResolverResponse) XXX_Merge(src proto.Message)
func (*MsgDefineResolverResponse) XXX_Size ¶
func (m *MsgDefineResolverResponse) XXX_Size() int
func (*MsgDefineResolverResponse) XXX_Unmarshal ¶
func (m *MsgDefineResolverResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterResolver ¶
type MsgRegisterResolver struct { // signer is the address registering data with the resolver. If // the resolver is not public then the signer must be the definer // of the resolver. Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // resolver_id is the ID of a resolver defined with Msg/DefineResolver. ResolverId uint64 `protobuf:"varint,2,opt,name=resolver_id,json=resolverId,proto3" json:"resolver_id,omitempty"` // content_hashes is a list of content hashes which the resolver claims to // serve. ContentHashes []*ContentHash `protobuf:"bytes,3,rep,name=content_hashes,json=contentHashes,proto3" json:"content_hashes,omitempty"` }
MsgRegisterResolver is the Msg/RegisterResolver request type.
func (*MsgRegisterResolver) Descriptor ¶
func (*MsgRegisterResolver) Descriptor() ([]byte, []int)
func (*MsgRegisterResolver) GetContentHashes ¶
func (m *MsgRegisterResolver) GetContentHashes() []*ContentHash
func (*MsgRegisterResolver) GetResolverId ¶
func (m *MsgRegisterResolver) GetResolverId() uint64
func (MsgRegisterResolver) GetSignBytes ¶
func (m MsgRegisterResolver) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgRegisterResolver) GetSigner ¶
func (m *MsgRegisterResolver) GetSigner() string
func (*MsgRegisterResolver) GetSigners ¶
func (m *MsgRegisterResolver) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgRegisterResolver.
func (*MsgRegisterResolver) Marshal ¶
func (m *MsgRegisterResolver) Marshal() (dAtA []byte, err error)
func (*MsgRegisterResolver) MarshalTo ¶
func (m *MsgRegisterResolver) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterResolver) MarshalToSizedBuffer ¶
func (m *MsgRegisterResolver) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterResolver) ProtoMessage ¶
func (*MsgRegisterResolver) ProtoMessage()
func (*MsgRegisterResolver) Reset ¶
func (m *MsgRegisterResolver) Reset()
func (MsgRegisterResolver) Route ¶
func (m MsgRegisterResolver) Route() string
Route implements the LegacyMsg interface.
func (*MsgRegisterResolver) Size ¶
func (m *MsgRegisterResolver) Size() (n int)
func (*MsgRegisterResolver) String ¶
func (m *MsgRegisterResolver) String() string
func (MsgRegisterResolver) Type ¶
func (m MsgRegisterResolver) Type() string
Type implements the LegacyMsg interface.
func (*MsgRegisterResolver) Unmarshal ¶
func (m *MsgRegisterResolver) Unmarshal(dAtA []byte) error
func (*MsgRegisterResolver) ValidateBasic ¶
func (m *MsgRegisterResolver) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgRegisterResolver) XXX_DiscardUnknown ¶
func (m *MsgRegisterResolver) XXX_DiscardUnknown()
func (*MsgRegisterResolver) XXX_Marshal ¶
func (m *MsgRegisterResolver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterResolver) XXX_Merge ¶
func (m *MsgRegisterResolver) XXX_Merge(src proto.Message)
func (*MsgRegisterResolver) XXX_Size ¶
func (m *MsgRegisterResolver) XXX_Size() int
func (*MsgRegisterResolver) XXX_Unmarshal ¶
func (m *MsgRegisterResolver) XXX_Unmarshal(b []byte) error
type MsgRegisterResolverResponse ¶
type MsgRegisterResolverResponse struct { }
MsgRegisterResolverResponse is the Msg/RegisterResolver response type.
func (*MsgRegisterResolverResponse) Descriptor ¶
func (*MsgRegisterResolverResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterResolverResponse) Marshal ¶
func (m *MsgRegisterResolverResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterResolverResponse) MarshalTo ¶
func (m *MsgRegisterResolverResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterResolverResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterResolverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterResolverResponse) ProtoMessage ¶
func (*MsgRegisterResolverResponse) ProtoMessage()
func (*MsgRegisterResolverResponse) Reset ¶
func (m *MsgRegisterResolverResponse) Reset()
func (*MsgRegisterResolverResponse) Size ¶
func (m *MsgRegisterResolverResponse) Size() (n int)
func (*MsgRegisterResolverResponse) String ¶
func (m *MsgRegisterResolverResponse) String() string
func (*MsgRegisterResolverResponse) Unmarshal ¶
func (m *MsgRegisterResolverResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterResolverResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterResolverResponse) XXX_DiscardUnknown()
func (*MsgRegisterResolverResponse) XXX_Marshal ¶
func (m *MsgRegisterResolverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterResolverResponse) XXX_Merge ¶
func (m *MsgRegisterResolverResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterResolverResponse) XXX_Size ¶
func (m *MsgRegisterResolverResponse) XXX_Size() int
func (*MsgRegisterResolverResponse) XXX_Unmarshal ¶
func (m *MsgRegisterResolverResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // Anchor "anchors" a piece of data to the blockchain based on its secure // hash, effectively providing a tamper resistant timestamp. // // The sender in Anchor is not attesting to the veracity of the underlying // data. They can simply be an intermediary providing timestamp services. // Attest should be used to create a digital signature attesting to the // veracity of some piece of data. Anchor(context.Context, *MsgAnchor) (*MsgAnchorResponse, error) // Attest allows for digital signing of an arbitrary piece of data on the // blockchain. By attesting to data, the attestor is making a statement about // the veracity of the data itself. It is like signing a legal document, // meaning that I agree to all conditions and to the best of my knowledge // everything is true. When anchoring data, the sender is not attesting to the // veracity of the data, they are simply communicating that it exists. // // On-chain signatures have the following benefits: // - on-chain identities can be managed using different cryptographic keys // that change over time through key rotation practices // - an on-chain identity may represent an organization and through delegation // individual members may sign on behalf of the group // - the blockchain transaction envelope provides built-in replay protection // and timestamping // // Attest implicitly calls Anchor if the data was not already anchored. // // Attest can be called multiple times for the same content hash with // different attestors and those attestors will be appended to the list of // attestors. If the same attestor attempts to attest to the same piece of // data, the attestor will be ignored and a new attestation with a new // timestamp will not be added. Attest(context.Context, *MsgAttest) (*MsgAttestResponse, error) // DefineResolver defines a resolver URL and assigns it a new integer ID // that can be used in calls to RegisterResolver. DefineResolver(context.Context, *MsgDefineResolver) (*MsgDefineResolverResponse, error) // RegisterResolver registers data content hashes RegisterResolver(context.Context, *MsgRegisterResolver) (*MsgRegisterResolverResponse, error) }
MsgServer is the server API for Msg service.
type QueryAnchorByHashRequest ¶
type QueryAnchorByHashRequest struct { // content_hash is the ContentHash of the anchored data. ContentHash *ContentHash `protobuf:"bytes,1,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` }
QueryAnchorByHashRequest is the Query/AnchorByHash request type.
func (*QueryAnchorByHashRequest) Descriptor ¶
func (*QueryAnchorByHashRequest) Descriptor() ([]byte, []int)
func (*QueryAnchorByHashRequest) GetContentHash ¶
func (m *QueryAnchorByHashRequest) GetContentHash() *ContentHash
func (*QueryAnchorByHashRequest) Marshal ¶
func (m *QueryAnchorByHashRequest) Marshal() (dAtA []byte, err error)
func (*QueryAnchorByHashRequest) MarshalTo ¶
func (m *QueryAnchorByHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAnchorByHashRequest) MarshalToSizedBuffer ¶
func (m *QueryAnchorByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAnchorByHashRequest) ProtoMessage ¶
func (*QueryAnchorByHashRequest) ProtoMessage()
func (*QueryAnchorByHashRequest) Reset ¶
func (m *QueryAnchorByHashRequest) Reset()
func (*QueryAnchorByHashRequest) Size ¶
func (m *QueryAnchorByHashRequest) Size() (n int)
func (*QueryAnchorByHashRequest) String ¶
func (m *QueryAnchorByHashRequest) String() string
func (*QueryAnchorByHashRequest) Unmarshal ¶
func (m *QueryAnchorByHashRequest) Unmarshal(dAtA []byte) error
func (*QueryAnchorByHashRequest) XXX_DiscardUnknown ¶
func (m *QueryAnchorByHashRequest) XXX_DiscardUnknown()
func (*QueryAnchorByHashRequest) XXX_Marshal ¶
func (m *QueryAnchorByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAnchorByHashRequest) XXX_Merge ¶
func (m *QueryAnchorByHashRequest) XXX_Merge(src proto.Message)
func (*QueryAnchorByHashRequest) XXX_Size ¶
func (m *QueryAnchorByHashRequest) XXX_Size() int
func (*QueryAnchorByHashRequest) XXX_Unmarshal ¶
func (m *QueryAnchorByHashRequest) XXX_Unmarshal(b []byte) error
type QueryAnchorByHashResponse ¶
type QueryAnchorByHashResponse struct { // anchor is information about the data anchor. Anchor *AnchorInfo `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` }
QueryAnchorByHashResponse is the Query/AnchorByHash response type.
func (*QueryAnchorByHashResponse) Descriptor ¶
func (*QueryAnchorByHashResponse) Descriptor() ([]byte, []int)
func (*QueryAnchorByHashResponse) GetAnchor ¶
func (m *QueryAnchorByHashResponse) GetAnchor() *AnchorInfo
func (*QueryAnchorByHashResponse) Marshal ¶
func (m *QueryAnchorByHashResponse) Marshal() (dAtA []byte, err error)
func (*QueryAnchorByHashResponse) MarshalTo ¶
func (m *QueryAnchorByHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAnchorByHashResponse) MarshalToSizedBuffer ¶
func (m *QueryAnchorByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAnchorByHashResponse) ProtoMessage ¶
func (*QueryAnchorByHashResponse) ProtoMessage()
func (*QueryAnchorByHashResponse) Reset ¶
func (m *QueryAnchorByHashResponse) Reset()
func (*QueryAnchorByHashResponse) Size ¶
func (m *QueryAnchorByHashResponse) Size() (n int)
func (*QueryAnchorByHashResponse) String ¶
func (m *QueryAnchorByHashResponse) String() string
func (*QueryAnchorByHashResponse) Unmarshal ¶
func (m *QueryAnchorByHashResponse) Unmarshal(dAtA []byte) error
func (*QueryAnchorByHashResponse) XXX_DiscardUnknown ¶
func (m *QueryAnchorByHashResponse) XXX_DiscardUnknown()
func (*QueryAnchorByHashResponse) XXX_Marshal ¶
func (m *QueryAnchorByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAnchorByHashResponse) XXX_Merge ¶
func (m *QueryAnchorByHashResponse) XXX_Merge(src proto.Message)
func (*QueryAnchorByHashResponse) XXX_Size ¶
func (m *QueryAnchorByHashResponse) XXX_Size() int
func (*QueryAnchorByHashResponse) XXX_Unmarshal ¶
func (m *QueryAnchorByHashResponse) XXX_Unmarshal(b []byte) error
type QueryAnchorByIRIRequest ¶
type QueryAnchorByIRIRequest struct { // iri is the IRI of the anchored data. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` }
QueryAnchorByIRIRequest is the Query/AnchorByIRI request type.
func (*QueryAnchorByIRIRequest) Descriptor ¶
func (*QueryAnchorByIRIRequest) Descriptor() ([]byte, []int)
func (*QueryAnchorByIRIRequest) GetIri ¶
func (m *QueryAnchorByIRIRequest) GetIri() string
func (*QueryAnchorByIRIRequest) Marshal ¶
func (m *QueryAnchorByIRIRequest) Marshal() (dAtA []byte, err error)
func (*QueryAnchorByIRIRequest) MarshalTo ¶
func (m *QueryAnchorByIRIRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAnchorByIRIRequest) MarshalToSizedBuffer ¶
func (m *QueryAnchorByIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAnchorByIRIRequest) ProtoMessage ¶
func (*QueryAnchorByIRIRequest) ProtoMessage()
func (*QueryAnchorByIRIRequest) Reset ¶
func (m *QueryAnchorByIRIRequest) Reset()
func (*QueryAnchorByIRIRequest) Size ¶
func (m *QueryAnchorByIRIRequest) Size() (n int)
func (*QueryAnchorByIRIRequest) String ¶
func (m *QueryAnchorByIRIRequest) String() string
func (*QueryAnchorByIRIRequest) Unmarshal ¶
func (m *QueryAnchorByIRIRequest) Unmarshal(dAtA []byte) error
func (*QueryAnchorByIRIRequest) XXX_DiscardUnknown ¶
func (m *QueryAnchorByIRIRequest) XXX_DiscardUnknown()
func (*QueryAnchorByIRIRequest) XXX_Marshal ¶
func (m *QueryAnchorByIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAnchorByIRIRequest) XXX_Merge ¶
func (m *QueryAnchorByIRIRequest) XXX_Merge(src proto.Message)
func (*QueryAnchorByIRIRequest) XXX_Size ¶
func (m *QueryAnchorByIRIRequest) XXX_Size() int
func (*QueryAnchorByIRIRequest) XXX_Unmarshal ¶
func (m *QueryAnchorByIRIRequest) XXX_Unmarshal(b []byte) error
type QueryAnchorByIRIResponse ¶
type QueryAnchorByIRIResponse struct { // anchor is information about the data anchor. Anchor *AnchorInfo `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` }
QueryAnchorByIRIResponse is the Query/AnchorByIRI response type.
func (*QueryAnchorByIRIResponse) Descriptor ¶
func (*QueryAnchorByIRIResponse) Descriptor() ([]byte, []int)
func (*QueryAnchorByIRIResponse) GetAnchor ¶
func (m *QueryAnchorByIRIResponse) GetAnchor() *AnchorInfo
func (*QueryAnchorByIRIResponse) Marshal ¶
func (m *QueryAnchorByIRIResponse) Marshal() (dAtA []byte, err error)
func (*QueryAnchorByIRIResponse) MarshalTo ¶
func (m *QueryAnchorByIRIResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAnchorByIRIResponse) MarshalToSizedBuffer ¶
func (m *QueryAnchorByIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAnchorByIRIResponse) ProtoMessage ¶
func (*QueryAnchorByIRIResponse) ProtoMessage()
func (*QueryAnchorByIRIResponse) Reset ¶
func (m *QueryAnchorByIRIResponse) Reset()
func (*QueryAnchorByIRIResponse) Size ¶
func (m *QueryAnchorByIRIResponse) Size() (n int)
func (*QueryAnchorByIRIResponse) String ¶
func (m *QueryAnchorByIRIResponse) String() string
func (*QueryAnchorByIRIResponse) Unmarshal ¶
func (m *QueryAnchorByIRIResponse) Unmarshal(dAtA []byte) error
func (*QueryAnchorByIRIResponse) XXX_DiscardUnknown ¶
func (m *QueryAnchorByIRIResponse) XXX_DiscardUnknown()
func (*QueryAnchorByIRIResponse) XXX_Marshal ¶
func (m *QueryAnchorByIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAnchorByIRIResponse) XXX_Merge ¶
func (m *QueryAnchorByIRIResponse) XXX_Merge(src proto.Message)
func (*QueryAnchorByIRIResponse) XXX_Size ¶
func (m *QueryAnchorByIRIResponse) XXX_Size() int
func (*QueryAnchorByIRIResponse) XXX_Unmarshal ¶
func (m *QueryAnchorByIRIResponse) XXX_Unmarshal(b []byte) error
type QueryAttestationsByAttestorRequest ¶
type QueryAttestationsByAttestorRequest struct { // attestor is the address of the attestor. Attestor string `protobuf:"bytes,1,opt,name=attestor,proto3" json:"attestor,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAttestationsByAttestorRequest is the Query/AttestationsByAttestor request type.
func (*QueryAttestationsByAttestorRequest) Descriptor ¶
func (*QueryAttestationsByAttestorRequest) Descriptor() ([]byte, []int)
func (*QueryAttestationsByAttestorRequest) GetAttestor ¶
func (m *QueryAttestationsByAttestorRequest) GetAttestor() string
func (*QueryAttestationsByAttestorRequest) GetPagination ¶
func (m *QueryAttestationsByAttestorRequest) GetPagination() *query.PageRequest
func (*QueryAttestationsByAttestorRequest) Marshal ¶
func (m *QueryAttestationsByAttestorRequest) Marshal() (dAtA []byte, err error)
func (*QueryAttestationsByAttestorRequest) MarshalTo ¶
func (m *QueryAttestationsByAttestorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationsByAttestorRequest) MarshalToSizedBuffer ¶
func (m *QueryAttestationsByAttestorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationsByAttestorRequest) ProtoMessage ¶
func (*QueryAttestationsByAttestorRequest) ProtoMessage()
func (*QueryAttestationsByAttestorRequest) Reset ¶
func (m *QueryAttestationsByAttestorRequest) Reset()
func (*QueryAttestationsByAttestorRequest) Size ¶
func (m *QueryAttestationsByAttestorRequest) Size() (n int)
func (*QueryAttestationsByAttestorRequest) String ¶
func (m *QueryAttestationsByAttestorRequest) String() string
func (*QueryAttestationsByAttestorRequest) Unmarshal ¶
func (m *QueryAttestationsByAttestorRequest) Unmarshal(dAtA []byte) error
func (*QueryAttestationsByAttestorRequest) XXX_DiscardUnknown ¶
func (m *QueryAttestationsByAttestorRequest) XXX_DiscardUnknown()
func (*QueryAttestationsByAttestorRequest) XXX_Marshal ¶
func (m *QueryAttestationsByAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationsByAttestorRequest) XXX_Merge ¶
func (m *QueryAttestationsByAttestorRequest) XXX_Merge(src proto.Message)
func (*QueryAttestationsByAttestorRequest) XXX_Size ¶
func (m *QueryAttestationsByAttestorRequest) XXX_Size() int
func (*QueryAttestationsByAttestorRequest) XXX_Unmarshal ¶
func (m *QueryAttestationsByAttestorRequest) XXX_Unmarshal(b []byte) error
type QueryAttestationsByAttestorResponse ¶
type QueryAttestationsByAttestorResponse struct { // attestations are the attestations by the attestor. Attestations []*AttestationInfo `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` // pagination is the pagination PageResponse. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAttestationsByAttestorResponse is the Query/AttestationsByAttestor response type.
func (*QueryAttestationsByAttestorResponse) Descriptor ¶
func (*QueryAttestationsByAttestorResponse) Descriptor() ([]byte, []int)
func (*QueryAttestationsByAttestorResponse) GetAttestations ¶
func (m *QueryAttestationsByAttestorResponse) GetAttestations() []*AttestationInfo
func (*QueryAttestationsByAttestorResponse) GetPagination ¶
func (m *QueryAttestationsByAttestorResponse) GetPagination() *query.PageResponse
func (*QueryAttestationsByAttestorResponse) Marshal ¶
func (m *QueryAttestationsByAttestorResponse) Marshal() (dAtA []byte, err error)
func (*QueryAttestationsByAttestorResponse) MarshalTo ¶
func (m *QueryAttestationsByAttestorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationsByAttestorResponse) MarshalToSizedBuffer ¶
func (m *QueryAttestationsByAttestorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationsByAttestorResponse) ProtoMessage ¶
func (*QueryAttestationsByAttestorResponse) ProtoMessage()
func (*QueryAttestationsByAttestorResponse) Reset ¶
func (m *QueryAttestationsByAttestorResponse) Reset()
func (*QueryAttestationsByAttestorResponse) Size ¶
func (m *QueryAttestationsByAttestorResponse) Size() (n int)
func (*QueryAttestationsByAttestorResponse) String ¶
func (m *QueryAttestationsByAttestorResponse) String() string
func (*QueryAttestationsByAttestorResponse) Unmarshal ¶
func (m *QueryAttestationsByAttestorResponse) Unmarshal(dAtA []byte) error
func (*QueryAttestationsByAttestorResponse) XXX_DiscardUnknown ¶
func (m *QueryAttestationsByAttestorResponse) XXX_DiscardUnknown()
func (*QueryAttestationsByAttestorResponse) XXX_Marshal ¶
func (m *QueryAttestationsByAttestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationsByAttestorResponse) XXX_Merge ¶
func (m *QueryAttestationsByAttestorResponse) XXX_Merge(src proto.Message)
func (*QueryAttestationsByAttestorResponse) XXX_Size ¶
func (m *QueryAttestationsByAttestorResponse) XXX_Size() int
func (*QueryAttestationsByAttestorResponse) XXX_Unmarshal ¶
func (m *QueryAttestationsByAttestorResponse) XXX_Unmarshal(b []byte) error
type QueryAttestationsByHashRequest ¶
type QueryAttestationsByHashRequest struct { // content_hash is the ContentHash of the anchored data. ContentHash *ContentHash `protobuf:"bytes,1,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAttestationsByHashRequest is the Query/AttestationsByHash request type.
func (*QueryAttestationsByHashRequest) Descriptor ¶
func (*QueryAttestationsByHashRequest) Descriptor() ([]byte, []int)
func (*QueryAttestationsByHashRequest) GetContentHash ¶
func (m *QueryAttestationsByHashRequest) GetContentHash() *ContentHash
func (*QueryAttestationsByHashRequest) GetPagination ¶
func (m *QueryAttestationsByHashRequest) GetPagination() *query.PageRequest
func (*QueryAttestationsByHashRequest) Marshal ¶
func (m *QueryAttestationsByHashRequest) Marshal() (dAtA []byte, err error)
func (*QueryAttestationsByHashRequest) MarshalTo ¶
func (m *QueryAttestationsByHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationsByHashRequest) MarshalToSizedBuffer ¶
func (m *QueryAttestationsByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationsByHashRequest) ProtoMessage ¶
func (*QueryAttestationsByHashRequest) ProtoMessage()
func (*QueryAttestationsByHashRequest) Reset ¶
func (m *QueryAttestationsByHashRequest) Reset()
func (*QueryAttestationsByHashRequest) Size ¶
func (m *QueryAttestationsByHashRequest) Size() (n int)
func (*QueryAttestationsByHashRequest) String ¶
func (m *QueryAttestationsByHashRequest) String() string
func (*QueryAttestationsByHashRequest) Unmarshal ¶
func (m *QueryAttestationsByHashRequest) Unmarshal(dAtA []byte) error
func (*QueryAttestationsByHashRequest) XXX_DiscardUnknown ¶
func (m *QueryAttestationsByHashRequest) XXX_DiscardUnknown()
func (*QueryAttestationsByHashRequest) XXX_Marshal ¶
func (m *QueryAttestationsByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationsByHashRequest) XXX_Merge ¶
func (m *QueryAttestationsByHashRequest) XXX_Merge(src proto.Message)
func (*QueryAttestationsByHashRequest) XXX_Size ¶
func (m *QueryAttestationsByHashRequest) XXX_Size() int
func (*QueryAttestationsByHashRequest) XXX_Unmarshal ¶
func (m *QueryAttestationsByHashRequest) XXX_Unmarshal(b []byte) error
type QueryAttestationsByHashResponse ¶
type QueryAttestationsByHashResponse struct { // attestations are the attestations that have been made to the anchored data. Attestations []*AttestationInfo `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` // pagination is the pagination PageResponse. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAttestationsByHashResponse is the Query/AttestationsByHash response type.
func (*QueryAttestationsByHashResponse) Descriptor ¶
func (*QueryAttestationsByHashResponse) Descriptor() ([]byte, []int)
func (*QueryAttestationsByHashResponse) GetAttestations ¶
func (m *QueryAttestationsByHashResponse) GetAttestations() []*AttestationInfo
func (*QueryAttestationsByHashResponse) GetPagination ¶
func (m *QueryAttestationsByHashResponse) GetPagination() *query.PageResponse
func (*QueryAttestationsByHashResponse) Marshal ¶
func (m *QueryAttestationsByHashResponse) Marshal() (dAtA []byte, err error)
func (*QueryAttestationsByHashResponse) MarshalTo ¶
func (m *QueryAttestationsByHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationsByHashResponse) MarshalToSizedBuffer ¶
func (m *QueryAttestationsByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationsByHashResponse) ProtoMessage ¶
func (*QueryAttestationsByHashResponse) ProtoMessage()
func (*QueryAttestationsByHashResponse) Reset ¶
func (m *QueryAttestationsByHashResponse) Reset()
func (*QueryAttestationsByHashResponse) Size ¶
func (m *QueryAttestationsByHashResponse) Size() (n int)
func (*QueryAttestationsByHashResponse) String ¶
func (m *QueryAttestationsByHashResponse) String() string
func (*QueryAttestationsByHashResponse) Unmarshal ¶
func (m *QueryAttestationsByHashResponse) Unmarshal(dAtA []byte) error
func (*QueryAttestationsByHashResponse) XXX_DiscardUnknown ¶
func (m *QueryAttestationsByHashResponse) XXX_DiscardUnknown()
func (*QueryAttestationsByHashResponse) XXX_Marshal ¶
func (m *QueryAttestationsByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationsByHashResponse) XXX_Merge ¶
func (m *QueryAttestationsByHashResponse) XXX_Merge(src proto.Message)
func (*QueryAttestationsByHashResponse) XXX_Size ¶
func (m *QueryAttestationsByHashResponse) XXX_Size() int
func (*QueryAttestationsByHashResponse) XXX_Unmarshal ¶
func (m *QueryAttestationsByHashResponse) XXX_Unmarshal(b []byte) error
type QueryAttestationsByIRIRequest ¶
type QueryAttestationsByIRIRequest struct { // iri is the IRI of the anchored data. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAttestationsByIRIRequest is the Query/AttestationsByIRI request type.
func (*QueryAttestationsByIRIRequest) Descriptor ¶
func (*QueryAttestationsByIRIRequest) Descriptor() ([]byte, []int)
func (*QueryAttestationsByIRIRequest) GetIri ¶
func (m *QueryAttestationsByIRIRequest) GetIri() string
func (*QueryAttestationsByIRIRequest) GetPagination ¶
func (m *QueryAttestationsByIRIRequest) GetPagination() *query.PageRequest
func (*QueryAttestationsByIRIRequest) Marshal ¶
func (m *QueryAttestationsByIRIRequest) Marshal() (dAtA []byte, err error)
func (*QueryAttestationsByIRIRequest) MarshalTo ¶
func (m *QueryAttestationsByIRIRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationsByIRIRequest) MarshalToSizedBuffer ¶
func (m *QueryAttestationsByIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationsByIRIRequest) ProtoMessage ¶
func (*QueryAttestationsByIRIRequest) ProtoMessage()
func (*QueryAttestationsByIRIRequest) Reset ¶
func (m *QueryAttestationsByIRIRequest) Reset()
func (*QueryAttestationsByIRIRequest) Size ¶
func (m *QueryAttestationsByIRIRequest) Size() (n int)
func (*QueryAttestationsByIRIRequest) String ¶
func (m *QueryAttestationsByIRIRequest) String() string
func (*QueryAttestationsByIRIRequest) Unmarshal ¶
func (m *QueryAttestationsByIRIRequest) Unmarshal(dAtA []byte) error
func (*QueryAttestationsByIRIRequest) XXX_DiscardUnknown ¶
func (m *QueryAttestationsByIRIRequest) XXX_DiscardUnknown()
func (*QueryAttestationsByIRIRequest) XXX_Marshal ¶
func (m *QueryAttestationsByIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationsByIRIRequest) XXX_Merge ¶
func (m *QueryAttestationsByIRIRequest) XXX_Merge(src proto.Message)
func (*QueryAttestationsByIRIRequest) XXX_Size ¶
func (m *QueryAttestationsByIRIRequest) XXX_Size() int
func (*QueryAttestationsByIRIRequest) XXX_Unmarshal ¶
func (m *QueryAttestationsByIRIRequest) XXX_Unmarshal(b []byte) error
type QueryAttestationsByIRIResponse ¶
type QueryAttestationsByIRIResponse struct { // attestations are the attestations that have been made to the anchored data. Attestations []*AttestationInfo `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` // pagination is the pagination PageResponse. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAttestationsByIRIResponse is the Query/AttestationsByIRI response type.
func (*QueryAttestationsByIRIResponse) Descriptor ¶
func (*QueryAttestationsByIRIResponse) Descriptor() ([]byte, []int)
func (*QueryAttestationsByIRIResponse) GetAttestations ¶
func (m *QueryAttestationsByIRIResponse) GetAttestations() []*AttestationInfo
func (*QueryAttestationsByIRIResponse) GetPagination ¶
func (m *QueryAttestationsByIRIResponse) GetPagination() *query.PageResponse
func (*QueryAttestationsByIRIResponse) Marshal ¶
func (m *QueryAttestationsByIRIResponse) Marshal() (dAtA []byte, err error)
func (*QueryAttestationsByIRIResponse) MarshalTo ¶
func (m *QueryAttestationsByIRIResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationsByIRIResponse) MarshalToSizedBuffer ¶
func (m *QueryAttestationsByIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationsByIRIResponse) ProtoMessage ¶
func (*QueryAttestationsByIRIResponse) ProtoMessage()
func (*QueryAttestationsByIRIResponse) Reset ¶
func (m *QueryAttestationsByIRIResponse) Reset()
func (*QueryAttestationsByIRIResponse) Size ¶
func (m *QueryAttestationsByIRIResponse) Size() (n int)
func (*QueryAttestationsByIRIResponse) String ¶
func (m *QueryAttestationsByIRIResponse) String() string
func (*QueryAttestationsByIRIResponse) Unmarshal ¶
func (m *QueryAttestationsByIRIResponse) Unmarshal(dAtA []byte) error
func (*QueryAttestationsByIRIResponse) XXX_DiscardUnknown ¶
func (m *QueryAttestationsByIRIResponse) XXX_DiscardUnknown()
func (*QueryAttestationsByIRIResponse) XXX_Marshal ¶
func (m *QueryAttestationsByIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationsByIRIResponse) XXX_Merge ¶
func (m *QueryAttestationsByIRIResponse) XXX_Merge(src proto.Message)
func (*QueryAttestationsByIRIResponse) XXX_Size ¶
func (m *QueryAttestationsByIRIResponse) XXX_Size() int
func (*QueryAttestationsByIRIResponse) XXX_Unmarshal ¶
func (m *QueryAttestationsByIRIResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // AnchorByIRI queries a data anchor by the IRI of the data. AnchorByIRI(ctx context.Context, in *QueryAnchorByIRIRequest, opts ...grpc.CallOption) (*QueryAnchorByIRIResponse, error) // AnchorByHash queries a data anchor by the ContentHash of the data. AnchorByHash(ctx context.Context, in *QueryAnchorByHashRequest, opts ...grpc.CallOption) (*QueryAnchorByHashResponse, error) // AttestationsByAttestor queries data attestations by an attestor. AttestationsByAttestor(ctx context.Context, in *QueryAttestationsByAttestorRequest, opts ...grpc.CallOption) (*QueryAttestationsByAttestorResponse, error) // AttestationsByIRI queries data attestations by the IRI of the data. AttestationsByIRI(ctx context.Context, in *QueryAttestationsByIRIRequest, opts ...grpc.CallOption) (*QueryAttestationsByIRIResponse, error) // AttestationsByHash queries data attestations by the ContentHash of the // data. AttestationsByHash(ctx context.Context, in *QueryAttestationsByHashRequest, opts ...grpc.CallOption) (*QueryAttestationsByHashResponse, error) // Resolver queries a resolver by its unique identifier. Resolver(ctx context.Context, in *QueryResolverRequest, opts ...grpc.CallOption) (*QueryResolverResponse, error) // ResolversByIRI queries resolvers with registered data by the IRI of the // data. ResolversByIRI(ctx context.Context, in *QueryResolversByIRIRequest, opts ...grpc.CallOption) (*QueryResolversByIRIResponse, error) // ResolversByHash queries resolvers with registered data by the ContentHash // of the data. ResolversByHash(ctx context.Context, in *QueryResolversByHashRequest, opts ...grpc.CallOption) (*QueryResolversByHashResponse, error) // ResolversByURL queries resolvers by URL. ResolversByURL(ctx context.Context, in *QueryResolversByURLRequest, opts ...grpc.CallOption) (*QueryResolversByURLResponse, error) // ConvertIRIToHash converts an IRI to a ContentHash. ConvertIRIToHash(ctx context.Context, in *ConvertIRIToHashRequest, opts ...grpc.CallOption) (*ConvertIRIToHashResponse, error) // ConvertHashToIRI converts a ContentHash to an IRI. ConvertHashToIRI(ctx context.Context, in *ConvertHashToIRIRequest, opts ...grpc.CallOption) (*ConvertHashToIRIResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryResolverRequest ¶
type QueryResolverRequest struct { // id is the ID of the resolver. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` }
QueryResolverRequest is the Query/Resolver request type.
func (*QueryResolverRequest) Descriptor ¶
func (*QueryResolverRequest) Descriptor() ([]byte, []int)
func (*QueryResolverRequest) GetId ¶
func (m *QueryResolverRequest) GetId() uint64
func (*QueryResolverRequest) Marshal ¶
func (m *QueryResolverRequest) Marshal() (dAtA []byte, err error)
func (*QueryResolverRequest) MarshalTo ¶
func (m *QueryResolverRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolverRequest) MarshalToSizedBuffer ¶
func (m *QueryResolverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolverRequest) ProtoMessage ¶
func (*QueryResolverRequest) ProtoMessage()
func (*QueryResolverRequest) Reset ¶
func (m *QueryResolverRequest) Reset()
func (*QueryResolverRequest) Size ¶
func (m *QueryResolverRequest) Size() (n int)
func (*QueryResolverRequest) String ¶
func (m *QueryResolverRequest) String() string
func (*QueryResolverRequest) Unmarshal ¶
func (m *QueryResolverRequest) Unmarshal(dAtA []byte) error
func (*QueryResolverRequest) XXX_DiscardUnknown ¶
func (m *QueryResolverRequest) XXX_DiscardUnknown()
func (*QueryResolverRequest) XXX_Marshal ¶
func (m *QueryResolverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolverRequest) XXX_Merge ¶
func (m *QueryResolverRequest) XXX_Merge(src proto.Message)
func (*QueryResolverRequest) XXX_Size ¶
func (m *QueryResolverRequest) XXX_Size() int
func (*QueryResolverRequest) XXX_Unmarshal ¶
func (m *QueryResolverRequest) XXX_Unmarshal(b []byte) error
type QueryResolverResponse ¶
type QueryResolverResponse struct { // resolver is information about the resolver. Resolver *ResolverInfo `protobuf:"bytes,1,opt,name=resolver,proto3" json:"resolver,omitempty"` }
QueryResolverResponse is the Query/Resolver response type.
func (*QueryResolverResponse) Descriptor ¶
func (*QueryResolverResponse) Descriptor() ([]byte, []int)
func (*QueryResolverResponse) GetResolver ¶
func (m *QueryResolverResponse) GetResolver() *ResolverInfo
func (*QueryResolverResponse) Marshal ¶
func (m *QueryResolverResponse) Marshal() (dAtA []byte, err error)
func (*QueryResolverResponse) MarshalTo ¶
func (m *QueryResolverResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolverResponse) MarshalToSizedBuffer ¶
func (m *QueryResolverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolverResponse) ProtoMessage ¶
func (*QueryResolverResponse) ProtoMessage()
func (*QueryResolverResponse) Reset ¶
func (m *QueryResolverResponse) Reset()
func (*QueryResolverResponse) Size ¶
func (m *QueryResolverResponse) Size() (n int)
func (*QueryResolverResponse) String ¶
func (m *QueryResolverResponse) String() string
func (*QueryResolverResponse) Unmarshal ¶
func (m *QueryResolverResponse) Unmarshal(dAtA []byte) error
func (*QueryResolverResponse) XXX_DiscardUnknown ¶
func (m *QueryResolverResponse) XXX_DiscardUnknown()
func (*QueryResolverResponse) XXX_Marshal ¶
func (m *QueryResolverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolverResponse) XXX_Merge ¶
func (m *QueryResolverResponse) XXX_Merge(src proto.Message)
func (*QueryResolverResponse) XXX_Size ¶
func (m *QueryResolverResponse) XXX_Size() int
func (*QueryResolverResponse) XXX_Unmarshal ¶
func (m *QueryResolverResponse) XXX_Unmarshal(b []byte) error
type QueryResolversByHashRequest ¶
type QueryResolversByHashRequest struct { // content_hash is the ContentHash of the anchored data. ContentHash *ContentHash `protobuf:"bytes,1,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryResolversByHashRequest is the Query/ResolversByHash request type.
func (*QueryResolversByHashRequest) Descriptor ¶
func (*QueryResolversByHashRequest) Descriptor() ([]byte, []int)
func (*QueryResolversByHashRequest) GetContentHash ¶
func (m *QueryResolversByHashRequest) GetContentHash() *ContentHash
func (*QueryResolversByHashRequest) GetPagination ¶
func (m *QueryResolversByHashRequest) GetPagination() *query.PageRequest
func (*QueryResolversByHashRequest) Marshal ¶
func (m *QueryResolversByHashRequest) Marshal() (dAtA []byte, err error)
func (*QueryResolversByHashRequest) MarshalTo ¶
func (m *QueryResolversByHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolversByHashRequest) MarshalToSizedBuffer ¶
func (m *QueryResolversByHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolversByHashRequest) ProtoMessage ¶
func (*QueryResolversByHashRequest) ProtoMessage()
func (*QueryResolversByHashRequest) Reset ¶
func (m *QueryResolversByHashRequest) Reset()
func (*QueryResolversByHashRequest) Size ¶
func (m *QueryResolversByHashRequest) Size() (n int)
func (*QueryResolversByHashRequest) String ¶
func (m *QueryResolversByHashRequest) String() string
func (*QueryResolversByHashRequest) Unmarshal ¶
func (m *QueryResolversByHashRequest) Unmarshal(dAtA []byte) error
func (*QueryResolversByHashRequest) XXX_DiscardUnknown ¶
func (m *QueryResolversByHashRequest) XXX_DiscardUnknown()
func (*QueryResolversByHashRequest) XXX_Marshal ¶
func (m *QueryResolversByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolversByHashRequest) XXX_Merge ¶
func (m *QueryResolversByHashRequest) XXX_Merge(src proto.Message)
func (*QueryResolversByHashRequest) XXX_Size ¶
func (m *QueryResolversByHashRequest) XXX_Size() int
func (*QueryResolversByHashRequest) XXX_Unmarshal ¶
func (m *QueryResolversByHashRequest) XXX_Unmarshal(b []byte) error
type QueryResolversByHashResponse ¶
type QueryResolversByHashResponse struct { // resolvers are the resolvers that have registered the data. Resolvers []*ResolverInfo `protobuf:"bytes,1,rep,name=resolvers,proto3" json:"resolvers,omitempty"` // pagination is the PageResponse to use for pagination. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryResolversByHashResponse is the Query/ResolversByHash response type.
func (*QueryResolversByHashResponse) Descriptor ¶
func (*QueryResolversByHashResponse) Descriptor() ([]byte, []int)
func (*QueryResolversByHashResponse) GetPagination ¶
func (m *QueryResolversByHashResponse) GetPagination() *query.PageResponse
func (*QueryResolversByHashResponse) GetResolvers ¶
func (m *QueryResolversByHashResponse) GetResolvers() []*ResolverInfo
func (*QueryResolversByHashResponse) Marshal ¶
func (m *QueryResolversByHashResponse) Marshal() (dAtA []byte, err error)
func (*QueryResolversByHashResponse) MarshalTo ¶
func (m *QueryResolversByHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolversByHashResponse) MarshalToSizedBuffer ¶
func (m *QueryResolversByHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolversByHashResponse) ProtoMessage ¶
func (*QueryResolversByHashResponse) ProtoMessage()
func (*QueryResolversByHashResponse) Reset ¶
func (m *QueryResolversByHashResponse) Reset()
func (*QueryResolversByHashResponse) Size ¶
func (m *QueryResolversByHashResponse) Size() (n int)
func (*QueryResolversByHashResponse) String ¶
func (m *QueryResolversByHashResponse) String() string
func (*QueryResolversByHashResponse) Unmarshal ¶
func (m *QueryResolversByHashResponse) Unmarshal(dAtA []byte) error
func (*QueryResolversByHashResponse) XXX_DiscardUnknown ¶
func (m *QueryResolversByHashResponse) XXX_DiscardUnknown()
func (*QueryResolversByHashResponse) XXX_Marshal ¶
func (m *QueryResolversByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolversByHashResponse) XXX_Merge ¶
func (m *QueryResolversByHashResponse) XXX_Merge(src proto.Message)
func (*QueryResolversByHashResponse) XXX_Size ¶
func (m *QueryResolversByHashResponse) XXX_Size() int
func (*QueryResolversByHashResponse) XXX_Unmarshal ¶
func (m *QueryResolversByHashResponse) XXX_Unmarshal(b []byte) error
type QueryResolversByIRIRequest ¶
type QueryResolversByIRIRequest struct { // iri is the IRI of the anchored data. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryResolversByIRIRequest is the Query/ResolversByIRI request type.
func (*QueryResolversByIRIRequest) Descriptor ¶
func (*QueryResolversByIRIRequest) Descriptor() ([]byte, []int)
func (*QueryResolversByIRIRequest) GetIri ¶
func (m *QueryResolversByIRIRequest) GetIri() string
func (*QueryResolversByIRIRequest) GetPagination ¶
func (m *QueryResolversByIRIRequest) GetPagination() *query.PageRequest
func (*QueryResolversByIRIRequest) Marshal ¶
func (m *QueryResolversByIRIRequest) Marshal() (dAtA []byte, err error)
func (*QueryResolversByIRIRequest) MarshalTo ¶
func (m *QueryResolversByIRIRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolversByIRIRequest) MarshalToSizedBuffer ¶
func (m *QueryResolversByIRIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolversByIRIRequest) ProtoMessage ¶
func (*QueryResolversByIRIRequest) ProtoMessage()
func (*QueryResolversByIRIRequest) Reset ¶
func (m *QueryResolversByIRIRequest) Reset()
func (*QueryResolversByIRIRequest) Size ¶
func (m *QueryResolversByIRIRequest) Size() (n int)
func (*QueryResolversByIRIRequest) String ¶
func (m *QueryResolversByIRIRequest) String() string
func (*QueryResolversByIRIRequest) Unmarshal ¶
func (m *QueryResolversByIRIRequest) Unmarshal(dAtA []byte) error
func (*QueryResolversByIRIRequest) XXX_DiscardUnknown ¶
func (m *QueryResolversByIRIRequest) XXX_DiscardUnknown()
func (*QueryResolversByIRIRequest) XXX_Marshal ¶
func (m *QueryResolversByIRIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolversByIRIRequest) XXX_Merge ¶
func (m *QueryResolversByIRIRequest) XXX_Merge(src proto.Message)
func (*QueryResolversByIRIRequest) XXX_Size ¶
func (m *QueryResolversByIRIRequest) XXX_Size() int
func (*QueryResolversByIRIRequest) XXX_Unmarshal ¶
func (m *QueryResolversByIRIRequest) XXX_Unmarshal(b []byte) error
type QueryResolversByIRIResponse ¶
type QueryResolversByIRIResponse struct { // resolvers are the resolvers that have registered the anchored data. Resolvers []*ResolverInfo `protobuf:"bytes,1,rep,name=resolvers,proto3" json:"resolvers,omitempty"` // pagination is the PageResponse to use for pagination. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryResolversByIRIResponse is the Query/ResolversByIRI response type.
func (*QueryResolversByIRIResponse) Descriptor ¶
func (*QueryResolversByIRIResponse) Descriptor() ([]byte, []int)
func (*QueryResolversByIRIResponse) GetPagination ¶
func (m *QueryResolversByIRIResponse) GetPagination() *query.PageResponse
func (*QueryResolversByIRIResponse) GetResolvers ¶
func (m *QueryResolversByIRIResponse) GetResolvers() []*ResolverInfo
func (*QueryResolversByIRIResponse) Marshal ¶
func (m *QueryResolversByIRIResponse) Marshal() (dAtA []byte, err error)
func (*QueryResolversByIRIResponse) MarshalTo ¶
func (m *QueryResolversByIRIResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolversByIRIResponse) MarshalToSizedBuffer ¶
func (m *QueryResolversByIRIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolversByIRIResponse) ProtoMessage ¶
func (*QueryResolversByIRIResponse) ProtoMessage()
func (*QueryResolversByIRIResponse) Reset ¶
func (m *QueryResolversByIRIResponse) Reset()
func (*QueryResolversByIRIResponse) Size ¶
func (m *QueryResolversByIRIResponse) Size() (n int)
func (*QueryResolversByIRIResponse) String ¶
func (m *QueryResolversByIRIResponse) String() string
func (*QueryResolversByIRIResponse) Unmarshal ¶
func (m *QueryResolversByIRIResponse) Unmarshal(dAtA []byte) error
func (*QueryResolversByIRIResponse) XXX_DiscardUnknown ¶
func (m *QueryResolversByIRIResponse) XXX_DiscardUnknown()
func (*QueryResolversByIRIResponse) XXX_Marshal ¶
func (m *QueryResolversByIRIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolversByIRIResponse) XXX_Merge ¶
func (m *QueryResolversByIRIResponse) XXX_Merge(src proto.Message)
func (*QueryResolversByIRIResponse) XXX_Size ¶
func (m *QueryResolversByIRIResponse) XXX_Size() int
func (*QueryResolversByIRIResponse) XXX_Unmarshal ¶
func (m *QueryResolversByIRIResponse) XXX_Unmarshal(b []byte) error
type QueryResolversByURLRequest ¶
type QueryResolversByURLRequest struct { // url is the URL of the resolver. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryResolversByURLRequest is the Query/ResolversByURL request type.
func (*QueryResolversByURLRequest) Descriptor ¶
func (*QueryResolversByURLRequest) Descriptor() ([]byte, []int)
func (*QueryResolversByURLRequest) GetPagination ¶
func (m *QueryResolversByURLRequest) GetPagination() *query.PageRequest
func (*QueryResolversByURLRequest) GetUrl ¶
func (m *QueryResolversByURLRequest) GetUrl() string
func (*QueryResolversByURLRequest) Marshal ¶
func (m *QueryResolversByURLRequest) Marshal() (dAtA []byte, err error)
func (*QueryResolversByURLRequest) MarshalTo ¶
func (m *QueryResolversByURLRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolversByURLRequest) MarshalToSizedBuffer ¶
func (m *QueryResolversByURLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolversByURLRequest) ProtoMessage ¶
func (*QueryResolversByURLRequest) ProtoMessage()
func (*QueryResolversByURLRequest) Reset ¶
func (m *QueryResolversByURLRequest) Reset()
func (*QueryResolversByURLRequest) Size ¶
func (m *QueryResolversByURLRequest) Size() (n int)
func (*QueryResolversByURLRequest) String ¶
func (m *QueryResolversByURLRequest) String() string
func (*QueryResolversByURLRequest) Unmarshal ¶
func (m *QueryResolversByURLRequest) Unmarshal(dAtA []byte) error
func (*QueryResolversByURLRequest) XXX_DiscardUnknown ¶
func (m *QueryResolversByURLRequest) XXX_DiscardUnknown()
func (*QueryResolversByURLRequest) XXX_Marshal ¶
func (m *QueryResolversByURLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolversByURLRequest) XXX_Merge ¶
func (m *QueryResolversByURLRequest) XXX_Merge(src proto.Message)
func (*QueryResolversByURLRequest) XXX_Size ¶
func (m *QueryResolversByURLRequest) XXX_Size() int
func (*QueryResolversByURLRequest) XXX_Unmarshal ¶
func (m *QueryResolversByURLRequest) XXX_Unmarshal(b []byte) error
type QueryResolversByURLResponse ¶
type QueryResolversByURLResponse struct { // resolvers are the resolvers that have a matching URL. Resolvers []*ResolverInfo `protobuf:"bytes,1,rep,name=resolvers,proto3" json:"resolvers,omitempty"` // pagination is the PageResponse to use for pagination. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryResolversByURLResponse is the Query/ResolversByURL response type.
func (*QueryResolversByURLResponse) Descriptor ¶
func (*QueryResolversByURLResponse) Descriptor() ([]byte, []int)
func (*QueryResolversByURLResponse) GetPagination ¶
func (m *QueryResolversByURLResponse) GetPagination() *query.PageResponse
func (*QueryResolversByURLResponse) GetResolvers ¶
func (m *QueryResolversByURLResponse) GetResolvers() []*ResolverInfo
func (*QueryResolversByURLResponse) Marshal ¶
func (m *QueryResolversByURLResponse) Marshal() (dAtA []byte, err error)
func (*QueryResolversByURLResponse) MarshalTo ¶
func (m *QueryResolversByURLResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResolversByURLResponse) MarshalToSizedBuffer ¶
func (m *QueryResolversByURLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResolversByURLResponse) ProtoMessage ¶
func (*QueryResolversByURLResponse) ProtoMessage()
func (*QueryResolversByURLResponse) Reset ¶
func (m *QueryResolversByURLResponse) Reset()
func (*QueryResolversByURLResponse) Size ¶
func (m *QueryResolversByURLResponse) Size() (n int)
func (*QueryResolversByURLResponse) String ¶
func (m *QueryResolversByURLResponse) String() string
func (*QueryResolversByURLResponse) Unmarshal ¶
func (m *QueryResolversByURLResponse) Unmarshal(dAtA []byte) error
func (*QueryResolversByURLResponse) XXX_DiscardUnknown ¶
func (m *QueryResolversByURLResponse) XXX_DiscardUnknown()
func (*QueryResolversByURLResponse) XXX_Marshal ¶
func (m *QueryResolversByURLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResolversByURLResponse) XXX_Merge ¶
func (m *QueryResolversByURLResponse) XXX_Merge(src proto.Message)
func (*QueryResolversByURLResponse) XXX_Size ¶
func (m *QueryResolversByURLResponse) XXX_Size() int
func (*QueryResolversByURLResponse) XXX_Unmarshal ¶
func (m *QueryResolversByURLResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // AnchorByIRI queries a data anchor by the IRI of the data. AnchorByIRI(context.Context, *QueryAnchorByIRIRequest) (*QueryAnchorByIRIResponse, error) // AnchorByHash queries a data anchor by the ContentHash of the data. AnchorByHash(context.Context, *QueryAnchorByHashRequest) (*QueryAnchorByHashResponse, error) // AttestationsByAttestor queries data attestations by an attestor. AttestationsByAttestor(context.Context, *QueryAttestationsByAttestorRequest) (*QueryAttestationsByAttestorResponse, error) // AttestationsByIRI queries data attestations by the IRI of the data. AttestationsByIRI(context.Context, *QueryAttestationsByIRIRequest) (*QueryAttestationsByIRIResponse, error) // AttestationsByHash queries data attestations by the ContentHash of the // data. AttestationsByHash(context.Context, *QueryAttestationsByHashRequest) (*QueryAttestationsByHashResponse, error) // Resolver queries a resolver by its unique identifier. Resolver(context.Context, *QueryResolverRequest) (*QueryResolverResponse, error) // ResolversByIRI queries resolvers with registered data by the IRI of the // data. ResolversByIRI(context.Context, *QueryResolversByIRIRequest) (*QueryResolversByIRIResponse, error) // ResolversByHash queries resolvers with registered data by the ContentHash // of the data. ResolversByHash(context.Context, *QueryResolversByHashRequest) (*QueryResolversByHashResponse, error) // ResolversByURL queries resolvers by URL. ResolversByURL(context.Context, *QueryResolversByURLRequest) (*QueryResolversByURLResponse, error) // ConvertIRIToHash converts an IRI to a ContentHash. ConvertIRIToHash(context.Context, *ConvertIRIToHashRequest) (*ConvertIRIToHashResponse, error) // ConvertHashToIRI converts a ContentHash to an IRI. ConvertHashToIRI(context.Context, *ConvertHashToIRIRequest) (*ConvertHashToIRIResponse, error) }
QueryServer is the server API for Query service.
type Resolver ¶
type Resolver struct { // id is the ID of the resolver. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // url is the URL of the resolver. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // manager is the bytes address of the resolver manager who defined // this resolver. If the resolver is public, then this field is empty. Manager []byte `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"` }
Resolver describes a data resolver.
func (*Resolver) Descriptor ¶
func (*Resolver) GetManager ¶
func (*Resolver) MarshalToSizedBuffer ¶
func (*Resolver) ProtoMessage ¶
func (*Resolver) ProtoMessage()
func (*Resolver) XXX_DiscardUnknown ¶
func (m *Resolver) XXX_DiscardUnknown()
func (*Resolver) XXX_Marshal ¶
func (*Resolver) XXX_Unmarshal ¶
type ResolverInfo ¶
type ResolverInfo struct { // id is the ID of the resolver. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // url is the URL of the resolver. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // manager is the address of the account that manages the resolver. // This will be empty if the resolver is public. Manager string `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"` }
ResolverInfo is the information for a resolver.
func (*ResolverInfo) Descriptor ¶
func (*ResolverInfo) Descriptor() ([]byte, []int)
func (*ResolverInfo) GetId ¶
func (m *ResolverInfo) GetId() uint64
func (*ResolverInfo) GetManager ¶
func (m *ResolverInfo) GetManager() string
func (*ResolverInfo) GetUrl ¶
func (m *ResolverInfo) GetUrl() string
func (*ResolverInfo) Marshal ¶
func (m *ResolverInfo) Marshal() (dAtA []byte, err error)
func (*ResolverInfo) MarshalToSizedBuffer ¶
func (m *ResolverInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResolverInfo) ProtoMessage ¶
func (*ResolverInfo) ProtoMessage()
func (*ResolverInfo) Reset ¶
func (m *ResolverInfo) Reset()
func (*ResolverInfo) Size ¶
func (m *ResolverInfo) Size() (n int)
func (*ResolverInfo) String ¶
func (m *ResolverInfo) String() string
func (*ResolverInfo) Unmarshal ¶
func (m *ResolverInfo) Unmarshal(dAtA []byte) error
func (*ResolverInfo) XXX_DiscardUnknown ¶
func (m *ResolverInfo) XXX_DiscardUnknown()
func (*ResolverInfo) XXX_Marshal ¶
func (m *ResolverInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResolverInfo) XXX_Merge ¶
func (m *ResolverInfo) XXX_Merge(src proto.Message)
func (*ResolverInfo) XXX_Size ¶
func (m *ResolverInfo) XXX_Size() int
func (*ResolverInfo) XXX_Unmarshal ¶
func (m *ResolverInfo) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Anchor ¶
func (*UnimplementedMsgServer) Anchor(ctx context.Context, req *MsgAnchor) (*MsgAnchorResponse, error)
func (*UnimplementedMsgServer) Attest ¶
func (*UnimplementedMsgServer) Attest(ctx context.Context, req *MsgAttest) (*MsgAttestResponse, error)
func (*UnimplementedMsgServer) DefineResolver ¶
func (*UnimplementedMsgServer) DefineResolver(ctx context.Context, req *MsgDefineResolver) (*MsgDefineResolverResponse, error)
func (*UnimplementedMsgServer) RegisterResolver ¶
func (*UnimplementedMsgServer) RegisterResolver(ctx context.Context, req *MsgRegisterResolver) (*MsgRegisterResolverResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AnchorByHash ¶
func (*UnimplementedQueryServer) AnchorByHash(ctx context.Context, req *QueryAnchorByHashRequest) (*QueryAnchorByHashResponse, error)
func (*UnimplementedQueryServer) AnchorByIRI ¶
func (*UnimplementedQueryServer) AnchorByIRI(ctx context.Context, req *QueryAnchorByIRIRequest) (*QueryAnchorByIRIResponse, error)
func (*UnimplementedQueryServer) AttestationsByAttestor ¶
func (*UnimplementedQueryServer) AttestationsByAttestor(ctx context.Context, req *QueryAttestationsByAttestorRequest) (*QueryAttestationsByAttestorResponse, error)
func (*UnimplementedQueryServer) AttestationsByHash ¶
func (*UnimplementedQueryServer) AttestationsByHash(ctx context.Context, req *QueryAttestationsByHashRequest) (*QueryAttestationsByHashResponse, error)
func (*UnimplementedQueryServer) AttestationsByIRI ¶
func (*UnimplementedQueryServer) AttestationsByIRI(ctx context.Context, req *QueryAttestationsByIRIRequest) (*QueryAttestationsByIRIResponse, error)
func (*UnimplementedQueryServer) ConvertHashToIRI ¶
func (*UnimplementedQueryServer) ConvertHashToIRI(ctx context.Context, req *ConvertHashToIRIRequest) (*ConvertHashToIRIResponse, error)
func (*UnimplementedQueryServer) ConvertIRIToHash ¶
func (*UnimplementedQueryServer) ConvertIRIToHash(ctx context.Context, req *ConvertIRIToHashRequest) (*ConvertIRIToHashResponse, error)
func (*UnimplementedQueryServer) Resolver ¶
func (*UnimplementedQueryServer) Resolver(ctx context.Context, req *QueryResolverRequest) (*QueryResolverResponse, error)
func (*UnimplementedQueryServer) ResolversByHash ¶
func (*UnimplementedQueryServer) ResolversByHash(ctx context.Context, req *QueryResolversByHashRequest) (*QueryResolversByHashResponse, error)
func (*UnimplementedQueryServer) ResolversByIRI ¶
func (*UnimplementedQueryServer) ResolversByIRI(ctx context.Context, req *QueryResolversByIRIRequest) (*QueryResolversByIRIResponse, error)
func (*UnimplementedQueryServer) ResolversByURL ¶
func (*UnimplementedQueryServer) ResolversByURL(ctx context.Context, req *QueryResolversByURLRequest) (*QueryResolversByURLResponse, error)
Source Files ¶
- codec.go
- config.go
- doc.pb.go
- errors.go
- events.pb.go
- expected_keepers.go
- gas.go
- iri.go
- keys.go
- msg_anchor.go
- msg_attest.go
- msg_define_resolver.go
- msg_register_resolver.go
- query.pb.go
- query.pb.gw.go
- state.pb.go
- state_data_anchor.go
- state_data_attestor.go
- state_data_id.go
- state_data_resolver.go
- state_resolver.go
- tx.pb.go
- types.go
- types.pb.go
Directories ¶
Path | Synopsis |
---|---|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
hasher
Package hasher generates a unique binary identifier for a longer piece of binary data using an efficient, non-cryptographic hash function.
|
Package hasher generates a unique binary identifier for a longer piece of binary data using an efficient, non-cryptographic hash function. |