Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterMidnightStateServer(s grpc.ServiceRegistrar, srv MidnightStateServer)
- type AriadneParametersRequest
- func (*AriadneParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AriadneParametersRequest) GetEpoch() uint64
- func (*AriadneParametersRequest) ProtoMessage()
- func (x *AriadneParametersRequest) ProtoReflect() protoreflect.Message
- func (x *AriadneParametersRequest) Reset()
- func (x *AriadneParametersRequest) String() string
- type AriadneParametersResponse
- func (*AriadneParametersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AriadneParametersResponse) GetDatum() []byte
- func (x *AriadneParametersResponse) GetSourceEpoch() uint64
- func (*AriadneParametersResponse) ProtoMessage()
- func (x *AriadneParametersResponse) ProtoReflect() protoreflect.Message
- func (x *AriadneParametersResponse) Reset()
- func (x *AriadneParametersResponse) String() string
- type AssetCreate
- func (*AssetCreate) Descriptor() ([]byte, []int)deprecated
- func (x *AssetCreate) GetAddress() []byte
- func (x *AssetCreate) GetBlockHash() []byte
- func (x *AssetCreate) GetBlockNumber() uint64
- func (x *AssetCreate) GetBlockTimestampUnixMillis() int64
- func (x *AssetCreate) GetOutputIndex() uint32
- func (x *AssetCreate) GetQuantity() uint64
- func (x *AssetCreate) GetTxHash() []byte
- func (x *AssetCreate) GetTxIndex() uint32
- func (*AssetCreate) ProtoMessage()
- func (x *AssetCreate) ProtoReflect() protoreflect.Message
- func (x *AssetCreate) Reset()
- func (x *AssetCreate) String() string
- type AssetCreatesRequest
- func (*AssetCreatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssetCreatesRequest) GetStartBlock() uint32
- func (x *AssetCreatesRequest) GetStartTxIndex() uint32
- func (x *AssetCreatesRequest) GetUtxoCapacity() uint32
- func (*AssetCreatesRequest) ProtoMessage()
- func (x *AssetCreatesRequest) ProtoReflect() protoreflect.Message
- func (x *AssetCreatesRequest) Reset()
- func (x *AssetCreatesRequest) String() string
- type AssetCreatesResponse
- func (*AssetCreatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssetCreatesResponse) GetCreates() []*AssetCreate
- func (*AssetCreatesResponse) ProtoMessage()
- func (x *AssetCreatesResponse) ProtoReflect() protoreflect.Message
- func (x *AssetCreatesResponse) Reset()
- func (x *AssetCreatesResponse) String() string
- type AssetSpend
- func (*AssetSpend) Descriptor() ([]byte, []int)deprecated
- func (x *AssetSpend) GetAddress() []byte
- func (x *AssetSpend) GetBlockHash() []byte
- func (x *AssetSpend) GetBlockNumber() uint64
- func (x *AssetSpend) GetBlockTimestampUnixMillis() int64
- func (x *AssetSpend) GetQuantity() uint64
- func (x *AssetSpend) GetSpendingTxHash() []byte
- func (x *AssetSpend) GetTxIndex() uint32
- func (x *AssetSpend) GetUtxoIndex() uint32
- func (x *AssetSpend) GetUtxoTxHash() []byte
- func (*AssetSpend) ProtoMessage()
- func (x *AssetSpend) ProtoReflect() protoreflect.Message
- func (x *AssetSpend) Reset()
- func (x *AssetSpend) String() string
- type AssetSpendsRequest
- func (*AssetSpendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssetSpendsRequest) GetStartBlock() uint32
- func (x *AssetSpendsRequest) GetStartTxIndex() uint32
- func (x *AssetSpendsRequest) GetUtxoCapacity() uint32
- func (*AssetSpendsRequest) ProtoMessage()
- func (x *AssetSpendsRequest) ProtoReflect() protoreflect.Message
- func (x *AssetSpendsRequest) Reset()
- func (x *AssetSpendsRequest) String() string
- type AssetSpendsResponse
- func (*AssetSpendsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssetSpendsResponse) GetSpends() []*AssetSpend
- func (*AssetSpendsResponse) ProtoMessage()
- func (x *AssetSpendsResponse) ProtoReflect() protoreflect.Message
- func (x *AssetSpendsResponse) Reset()
- func (x *AssetSpendsResponse) String() string
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBlockHash() []byte
- func (x *Block) GetBlockNumber() uint32
- func (x *Block) GetBlockTimestampUnix() uint64
- func (x *Block) GetEpochNumber() uint32
- func (x *Block) GetSlotNumber() uint64
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockByHashRequest
- func (*BlockByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockByHashRequest) GetBlockHash() []byte
- func (*BlockByHashRequest) ProtoMessage()
- func (x *BlockByHashRequest) ProtoReflect() protoreflect.Message
- func (x *BlockByHashRequest) Reset()
- func (x *BlockByHashRequest) String() string
- type BlockByHashResponse
- func (*BlockByHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockByHashResponse) GetBlockNumber() uint32
- func (x *BlockByHashResponse) GetBlockTimestampUnix() int64
- func (x *BlockByHashResponse) GetEpochNumber() uint32
- func (x *BlockByHashResponse) GetSlotNumber() uint64
- func (x *BlockByHashResponse) GetTxCount() uint32
- func (*BlockByHashResponse) ProtoMessage()
- func (x *BlockByHashResponse) ProtoReflect() protoreflect.Message
- func (x *BlockByHashResponse) Reset()
- func (x *BlockByHashResponse) String() string
- type CardanoPosition
- func (*CardanoPosition) Descriptor() ([]byte, []int)deprecated
- func (x *CardanoPosition) GetBlockHash() []byte
- func (x *CardanoPosition) GetBlockNumber() uint32
- func (x *CardanoPosition) GetBlockTimestampUnixMillis() int64
- func (x *CardanoPosition) GetTxIndex() uint32
- func (*CardanoPosition) ProtoMessage()
- func (x *CardanoPosition) ProtoReflect() protoreflect.Message
- func (x *CardanoPosition) Reset()
- func (x *CardanoPosition) String() string
- type CouncilDatumRequest
- func (*CouncilDatumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CouncilDatumRequest) GetBlockNumber() uint64
- func (*CouncilDatumRequest) ProtoMessage()
- func (x *CouncilDatumRequest) ProtoReflect() protoreflect.Message
- func (x *CouncilDatumRequest) Reset()
- func (x *CouncilDatumRequest) String() string
- type CouncilDatumResponse
- func (*CouncilDatumResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CouncilDatumResponse) GetDatum() []byte
- func (x *CouncilDatumResponse) GetSourceBlockNumber() uint64
- func (*CouncilDatumResponse) ProtoMessage()
- func (x *CouncilDatumResponse) ProtoReflect() protoreflect.Message
- func (x *CouncilDatumResponse) Reset()
- func (x *CouncilDatumResponse) String() string
- type Deregistration
- func (*Deregistration) Descriptor() ([]byte, []int)deprecated
- func (x *Deregistration) GetBlockHash() []byte
- func (x *Deregistration) GetBlockNumber() uint64
- func (x *Deregistration) GetBlockTimestampUnixMillis() int64
- func (x *Deregistration) GetFullDatum() []byte
- func (x *Deregistration) GetTxHash() []byte
- func (x *Deregistration) GetTxIndex() uint32
- func (x *Deregistration) GetUtxoIndex() uint32
- func (x *Deregistration) GetUtxoTxHash() []byte
- func (*Deregistration) ProtoMessage()
- func (x *Deregistration) ProtoReflect() protoreflect.Message
- func (x *Deregistration) Reset()
- func (x *Deregistration) String() string
- type DeregistrationsRequest
- func (*DeregistrationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeregistrationsRequest) GetStartBlock() uint32
- func (x *DeregistrationsRequest) GetStartTxIndex() uint32
- func (x *DeregistrationsRequest) GetUtxoCapacity() uint32
- func (*DeregistrationsRequest) ProtoMessage()
- func (x *DeregistrationsRequest) ProtoReflect() protoreflect.Message
- func (x *DeregistrationsRequest) Reset()
- func (x *DeregistrationsRequest) String() string
- type DeregistrationsResponse
- func (*DeregistrationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeregistrationsResponse) GetDeregistrations() []*Deregistration
- func (*DeregistrationsResponse) ProtoMessage()
- func (x *DeregistrationsResponse) ProtoReflect() protoreflect.Message
- func (x *DeregistrationsResponse) Reset()
- func (x *DeregistrationsResponse) String() string
- type EpochCandidate
- func (*EpochCandidate) Descriptor() ([]byte, []int)deprecated
- func (x *EpochCandidate) GetBlockNumber() uint64
- func (x *EpochCandidate) GetEpochNumber() uint64
- func (x *EpochCandidate) GetFullDatum() []byte
- func (x *EpochCandidate) GetSlotNumber() uint64
- func (x *EpochCandidate) GetTxIndex() uint32
- func (x *EpochCandidate) GetTxInputs() []*UtxoId
- func (x *EpochCandidate) GetUtxoIndex() uint32
- func (x *EpochCandidate) GetUtxoTxHash() []byte
- func (*EpochCandidate) ProtoMessage()
- func (x *EpochCandidate) ProtoReflect() protoreflect.Message
- func (x *EpochCandidate) Reset()
- func (x *EpochCandidate) String() string
- type EpochCandidatesRequest
- func (*EpochCandidatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EpochCandidatesRequest) GetEpoch() uint64
- func (*EpochCandidatesRequest) ProtoMessage()
- func (x *EpochCandidatesRequest) ProtoReflect() protoreflect.Message
- func (x *EpochCandidatesRequest) Reset()
- func (x *EpochCandidatesRequest) String() string
- type EpochCandidatesResponse
- func (*EpochCandidatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EpochCandidatesResponse) GetCandidates() []*EpochCandidate
- func (x *EpochCandidatesResponse) GetStakeDistribution() []*StakePoolEntry
- func (*EpochCandidatesResponse) ProtoMessage()
- func (x *EpochCandidatesResponse) ProtoReflect() protoreflect.Message
- func (x *EpochCandidatesResponse) Reset()
- func (x *EpochCandidatesResponse) String() string
- type EpochNonceRequest
- type EpochNonceResponse
- func (*EpochNonceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EpochNonceResponse) GetNonce() []byte
- func (*EpochNonceResponse) ProtoMessage()
- func (x *EpochNonceResponse) ProtoReflect() protoreflect.Message
- func (x *EpochNonceResponse) Reset()
- func (x *EpochNonceResponse) String() string
- type LatestBlockRequest
- type LatestBlockResponse
- func (*LatestBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LatestBlockResponse) GetBlock() *Block
- func (*LatestBlockResponse) ProtoMessage()
- func (x *LatestBlockResponse) ProtoReflect() protoreflect.Message
- func (x *LatestBlockResponse) Reset()
- func (x *LatestBlockResponse) String() string
- type LatestStableBlockRequest
- func (*LatestStableBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LatestStableBlockRequest) GetAsOfTimestampUnixMillis() uint64
- func (x *LatestStableBlockRequest) GetStabilityOffset() uint32
- func (*LatestStableBlockRequest) ProtoMessage()
- func (x *LatestStableBlockRequest) ProtoReflect() protoreflect.Message
- func (x *LatestStableBlockRequest) Reset()
- func (x *LatestStableBlockRequest) String() string
- type LatestStableBlockResponse
- func (*LatestStableBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LatestStableBlockResponse) GetBlock() *Block
- func (*LatestStableBlockResponse) ProtoMessage()
- func (x *LatestStableBlockResponse) ProtoReflect() protoreflect.Message
- func (x *LatestStableBlockResponse) Reset()
- func (x *LatestStableBlockResponse) String() string
- type MidnightStateClient
- type MidnightStateServer
- type Registration
- func (*Registration) Descriptor() ([]byte, []int)deprecated
- func (x *Registration) GetBlockHash() []byte
- func (x *Registration) GetBlockNumber() uint64
- func (x *Registration) GetBlockTimestampUnixMillis() int64
- func (x *Registration) GetFullDatum() []byte
- func (x *Registration) GetOutputIndex() uint32
- func (x *Registration) GetTxHash() []byte
- func (x *Registration) GetTxIndex() uint32
- func (*Registration) ProtoMessage()
- func (x *Registration) ProtoReflect() protoreflect.Message
- func (x *Registration) Reset()
- func (x *Registration) String() string
- type RegistrationsRequest
- func (*RegistrationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationsRequest) GetStartBlock() uint32
- func (x *RegistrationsRequest) GetStartTxIndex() uint32
- func (x *RegistrationsRequest) GetUtxoCapacity() uint32
- func (*RegistrationsRequest) ProtoMessage()
- func (x *RegistrationsRequest) ProtoReflect() protoreflect.Message
- func (x *RegistrationsRequest) Reset()
- func (x *RegistrationsRequest) String() string
- type RegistrationsResponse
- func (*RegistrationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationsResponse) GetRegistrations() []*Registration
- func (*RegistrationsResponse) ProtoMessage()
- func (x *RegistrationsResponse) ProtoReflect() protoreflect.Message
- func (x *RegistrationsResponse) Reset()
- func (x *RegistrationsResponse) String() string
- type StableBlockRequest
- func (*StableBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StableBlockRequest) GetAsOfTimestampUnixMillis() uint64
- func (x *StableBlockRequest) GetBlockHash() []byte
- func (x *StableBlockRequest) GetStabilityOffset() uint32
- func (*StableBlockRequest) ProtoMessage()
- func (x *StableBlockRequest) ProtoReflect() protoreflect.Message
- func (x *StableBlockRequest) Reset()
- func (x *StableBlockRequest) String() string
- type StableBlockResponse
- func (*StableBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StableBlockResponse) GetBlock() *Block
- func (*StableBlockResponse) ProtoMessage()
- func (x *StableBlockResponse) ProtoReflect() protoreflect.Message
- func (x *StableBlockResponse) Reset()
- func (x *StableBlockResponse) String() string
- type StakePoolEntry
- func (*StakePoolEntry) Descriptor() ([]byte, []int)deprecated
- func (x *StakePoolEntry) GetPoolHash() []byte
- func (x *StakePoolEntry) GetStake() uint64
- func (*StakePoolEntry) ProtoMessage()
- func (x *StakePoolEntry) ProtoReflect() protoreflect.Message
- func (x *StakePoolEntry) Reset()
- func (x *StakePoolEntry) String() string
- type TechnicalCommitteeDatumRequest
- func (*TechnicalCommitteeDatumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TechnicalCommitteeDatumRequest) GetBlockNumber() uint64
- func (*TechnicalCommitteeDatumRequest) ProtoMessage()
- func (x *TechnicalCommitteeDatumRequest) ProtoReflect() protoreflect.Message
- func (x *TechnicalCommitteeDatumRequest) Reset()
- func (x *TechnicalCommitteeDatumRequest) String() string
- type TechnicalCommitteeDatumResponse
- func (*TechnicalCommitteeDatumResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TechnicalCommitteeDatumResponse) GetDatum() []byte
- func (x *TechnicalCommitteeDatumResponse) GetSourceBlockNumber() uint64
- func (*TechnicalCommitteeDatumResponse) ProtoMessage()
- func (x *TechnicalCommitteeDatumResponse) ProtoReflect() protoreflect.Message
- func (x *TechnicalCommitteeDatumResponse) Reset()
- func (x *TechnicalCommitteeDatumResponse) String() string
- type UnimplementedMidnightStateServer
- func (UnimplementedMidnightStateServer) GetAriadneParameters(context.Context, *AriadneParametersRequest) (*AriadneParametersResponse, error)
- func (UnimplementedMidnightStateServer) GetAssetCreates(context.Context, *AssetCreatesRequest) (*AssetCreatesResponse, error)
- func (UnimplementedMidnightStateServer) GetAssetSpends(context.Context, *AssetSpendsRequest) (*AssetSpendsResponse, error)
- func (UnimplementedMidnightStateServer) GetBlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error)
- func (UnimplementedMidnightStateServer) GetCouncilDatum(context.Context, *CouncilDatumRequest) (*CouncilDatumResponse, error)
- func (UnimplementedMidnightStateServer) GetDeregistrations(context.Context, *DeregistrationsRequest) (*DeregistrationsResponse, error)
- func (UnimplementedMidnightStateServer) GetEpochCandidates(context.Context, *EpochCandidatesRequest) (*EpochCandidatesResponse, error)
- func (UnimplementedMidnightStateServer) GetEpochNonce(context.Context, *EpochNonceRequest) (*EpochNonceResponse, error)
- func (UnimplementedMidnightStateServer) GetLatestBlock(context.Context, *LatestBlockRequest) (*LatestBlockResponse, error)
- func (UnimplementedMidnightStateServer) GetLatestStableBlock(context.Context, *LatestStableBlockRequest) (*LatestStableBlockResponse, error)
- func (UnimplementedMidnightStateServer) GetRegistrations(context.Context, *RegistrationsRequest) (*RegistrationsResponse, error)
- func (UnimplementedMidnightStateServer) GetStableBlock(context.Context, *StableBlockRequest) (*StableBlockResponse, error)
- func (UnimplementedMidnightStateServer) GetTechnicalCommitteeDatum(context.Context, *TechnicalCommitteeDatumRequest) (*TechnicalCommitteeDatumResponse, error)
- func (UnimplementedMidnightStateServer) GetUtxoEvents(context.Context, *UtxoEventsRequest) (*UtxoEventsResponse, error)
- type UnsafeMidnightStateServer
- type UtxoEvent
- func (*UtxoEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UtxoEvent) GetAssetCreate() *AssetCreate
- func (x *UtxoEvent) GetAssetSpend() *AssetSpend
- func (x *UtxoEvent) GetDeregistration() *Deregistration
- func (x *UtxoEvent) GetKind() isUtxoEvent_Kind
- func (x *UtxoEvent) GetRegistration() *Registration
- func (*UtxoEvent) ProtoMessage()
- func (x *UtxoEvent) ProtoReflect() protoreflect.Message
- func (x *UtxoEvent) Reset()
- func (x *UtxoEvent) String() string
- type UtxoEvent_AssetCreate
- type UtxoEvent_AssetSpend
- type UtxoEvent_Deregistration
- type UtxoEvent_Registration
- type UtxoEventsRequest
- func (*UtxoEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UtxoEventsRequest) GetEndBlockHash() []byte
- func (x *UtxoEventsRequest) GetStartPosition() *CardanoPosition
- func (x *UtxoEventsRequest) GetTxCapacity() uint32
- func (*UtxoEventsRequest) ProtoMessage()
- func (x *UtxoEventsRequest) ProtoReflect() protoreflect.Message
- func (x *UtxoEventsRequest) Reset()
- func (x *UtxoEventsRequest) String() string
- type UtxoEventsResponse
- func (*UtxoEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UtxoEventsResponse) GetEvents() []*UtxoEvent
- func (x *UtxoEventsResponse) GetNextPosition() *CardanoPosition
- func (*UtxoEventsResponse) ProtoMessage()
- func (x *UtxoEventsResponse) ProtoReflect() protoreflect.Message
- func (x *UtxoEventsResponse) Reset()
- func (x *UtxoEventsResponse) String() string
- type UtxoId
Constants ¶
const ( MidnightState_GetAssetCreates_FullMethodName = "/midnight_state.MidnightState/GetAssetCreates" MidnightState_GetAssetSpends_FullMethodName = "/midnight_state.MidnightState/GetAssetSpends" MidnightState_GetRegistrations_FullMethodName = "/midnight_state.MidnightState/GetRegistrations" MidnightState_GetDeregistrations_FullMethodName = "/midnight_state.MidnightState/GetDeregistrations" MidnightState_GetTechnicalCommitteeDatum_FullMethodName = "/midnight_state.MidnightState/GetTechnicalCommitteeDatum" MidnightState_GetCouncilDatum_FullMethodName = "/midnight_state.MidnightState/GetCouncilDatum" MidnightState_GetAriadneParameters_FullMethodName = "/midnight_state.MidnightState/GetAriadneParameters" MidnightState_GetBlockByHash_FullMethodName = "/midnight_state.MidnightState/GetBlockByHash" MidnightState_GetUtxoEvents_FullMethodName = "/midnight_state.MidnightState/GetUtxoEvents" MidnightState_GetEpochNonce_FullMethodName = "/midnight_state.MidnightState/GetEpochNonce" MidnightState_GetEpochCandidates_FullMethodName = "/midnight_state.MidnightState/GetEpochCandidates" MidnightState_GetStableBlock_FullMethodName = "/midnight_state.MidnightState/GetStableBlock" MidnightState_GetLatestStableBlock_FullMethodName = "/midnight_state.MidnightState/GetLatestStableBlock" MidnightState_GetLatestBlock_FullMethodName = "/midnight_state.MidnightState/GetLatestBlock" )
Variables ¶
var File_midnight_proto_midnight_state_proto protoreflect.FileDescriptor
var MidnightState_ServiceDesc = grpc.ServiceDesc{ ServiceName: "midnight_state.MidnightState", HandlerType: (*MidnightStateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAssetCreates", Handler: _MidnightState_GetAssetCreates_Handler, }, { MethodName: "GetAssetSpends", Handler: _MidnightState_GetAssetSpends_Handler, }, { MethodName: "GetRegistrations", Handler: _MidnightState_GetRegistrations_Handler, }, { MethodName: "GetDeregistrations", Handler: _MidnightState_GetDeregistrations_Handler, }, { MethodName: "GetTechnicalCommitteeDatum", Handler: _MidnightState_GetTechnicalCommitteeDatum_Handler, }, { MethodName: "GetCouncilDatum", Handler: _MidnightState_GetCouncilDatum_Handler, }, { MethodName: "GetAriadneParameters", Handler: _MidnightState_GetAriadneParameters_Handler, }, { MethodName: "GetBlockByHash", Handler: _MidnightState_GetBlockByHash_Handler, }, { MethodName: "GetUtxoEvents", Handler: _MidnightState_GetUtxoEvents_Handler, }, { MethodName: "GetEpochNonce", Handler: _MidnightState_GetEpochNonce_Handler, }, { MethodName: "GetEpochCandidates", Handler: _MidnightState_GetEpochCandidates_Handler, }, { MethodName: "GetStableBlock", Handler: _MidnightState_GetStableBlock_Handler, }, { MethodName: "GetLatestStableBlock", Handler: _MidnightState_GetLatestStableBlock_Handler, }, { MethodName: "GetLatestBlock", Handler: _MidnightState_GetLatestBlock_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "midnight/proto/midnight_state.proto", }
MidnightState_ServiceDesc is the grpc.ServiceDesc for MidnightState service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMidnightStateServer ¶
func RegisterMidnightStateServer(s grpc.ServiceRegistrar, srv MidnightStateServer)
Types ¶
type AriadneParametersRequest ¶
type AriadneParametersRequest struct {
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
// contains filtered or unexported fields
}
func (*AriadneParametersRequest) Descriptor
deprecated
func (*AriadneParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AriadneParametersRequest.ProtoReflect.Descriptor instead.
func (*AriadneParametersRequest) GetEpoch ¶
func (x *AriadneParametersRequest) GetEpoch() uint64
func (*AriadneParametersRequest) ProtoMessage ¶
func (*AriadneParametersRequest) ProtoMessage()
func (*AriadneParametersRequest) ProtoReflect ¶
func (x *AriadneParametersRequest) ProtoReflect() protoreflect.Message
func (*AriadneParametersRequest) Reset ¶
func (x *AriadneParametersRequest) Reset()
func (*AriadneParametersRequest) String ¶
func (x *AriadneParametersRequest) String() string
type AriadneParametersResponse ¶
type AriadneParametersResponse struct {
SourceEpoch uint64 `protobuf:"varint,1,opt,name=source_epoch,json=sourceEpoch,proto3" json:"source_epoch,omitempty"`
Datum []byte `protobuf:"bytes,2,opt,name=datum,proto3" json:"datum,omitempty"`
// contains filtered or unexported fields
}
func (*AriadneParametersResponse) Descriptor
deprecated
func (*AriadneParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use AriadneParametersResponse.ProtoReflect.Descriptor instead.
func (*AriadneParametersResponse) GetDatum ¶
func (x *AriadneParametersResponse) GetDatum() []byte
func (*AriadneParametersResponse) GetSourceEpoch ¶
func (x *AriadneParametersResponse) GetSourceEpoch() uint64
func (*AriadneParametersResponse) ProtoMessage ¶
func (*AriadneParametersResponse) ProtoMessage()
func (*AriadneParametersResponse) ProtoReflect ¶
func (x *AriadneParametersResponse) ProtoReflect() protoreflect.Message
func (*AriadneParametersResponse) Reset ¶
func (x *AriadneParametersResponse) Reset()
func (*AriadneParametersResponse) String ¶
func (x *AriadneParametersResponse) String() string
type AssetCreate ¶
type AssetCreate struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
TxHash []byte `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
OutputIndex uint32 `protobuf:"varint,4,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
BlockNumber uint64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockHash []byte `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
TxIndex uint32 `protobuf:"varint,7,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
BlockTimestampUnixMillis int64 `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*AssetCreate) Descriptor
deprecated
func (*AssetCreate) Descriptor() ([]byte, []int)
Deprecated: Use AssetCreate.ProtoReflect.Descriptor instead.
func (*AssetCreate) GetAddress ¶
func (x *AssetCreate) GetAddress() []byte
func (*AssetCreate) GetBlockHash ¶
func (x *AssetCreate) GetBlockHash() []byte
func (*AssetCreate) GetBlockNumber ¶
func (x *AssetCreate) GetBlockNumber() uint64
func (*AssetCreate) GetBlockTimestampUnixMillis ¶
func (x *AssetCreate) GetBlockTimestampUnixMillis() int64
func (*AssetCreate) GetOutputIndex ¶
func (x *AssetCreate) GetOutputIndex() uint32
func (*AssetCreate) GetQuantity ¶
func (x *AssetCreate) GetQuantity() uint64
func (*AssetCreate) GetTxHash ¶
func (x *AssetCreate) GetTxHash() []byte
func (*AssetCreate) GetTxIndex ¶
func (x *AssetCreate) GetTxIndex() uint32
func (*AssetCreate) ProtoMessage ¶
func (*AssetCreate) ProtoMessage()
func (*AssetCreate) ProtoReflect ¶
func (x *AssetCreate) ProtoReflect() protoreflect.Message
func (*AssetCreate) Reset ¶
func (x *AssetCreate) Reset()
func (*AssetCreate) String ¶
func (x *AssetCreate) String() string
type AssetCreatesRequest ¶
type AssetCreatesRequest struct {
StartBlock uint32 `protobuf:"varint,1,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
StartTxIndex uint32 `protobuf:"varint,2,opt,name=start_tx_index,json=startTxIndex,proto3" json:"start_tx_index,omitempty"`
UtxoCapacity uint32 `protobuf:"varint,3,opt,name=utxo_capacity,json=utxoCapacity,proto3" json:"utxo_capacity,omitempty"`
// contains filtered or unexported fields
}
func (*AssetCreatesRequest) Descriptor
deprecated
func (*AssetCreatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssetCreatesRequest.ProtoReflect.Descriptor instead.
func (*AssetCreatesRequest) GetStartBlock ¶
func (x *AssetCreatesRequest) GetStartBlock() uint32
func (*AssetCreatesRequest) GetStartTxIndex ¶
func (x *AssetCreatesRequest) GetStartTxIndex() uint32
func (*AssetCreatesRequest) GetUtxoCapacity ¶
func (x *AssetCreatesRequest) GetUtxoCapacity() uint32
func (*AssetCreatesRequest) ProtoMessage ¶
func (*AssetCreatesRequest) ProtoMessage()
func (*AssetCreatesRequest) ProtoReflect ¶
func (x *AssetCreatesRequest) ProtoReflect() protoreflect.Message
func (*AssetCreatesRequest) Reset ¶
func (x *AssetCreatesRequest) Reset()
func (*AssetCreatesRequest) String ¶
func (x *AssetCreatesRequest) String() string
type AssetCreatesResponse ¶
type AssetCreatesResponse struct {
Creates []*AssetCreate `protobuf:"bytes,1,rep,name=creates,proto3" json:"creates,omitempty"`
// contains filtered or unexported fields
}
func (*AssetCreatesResponse) Descriptor
deprecated
func (*AssetCreatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssetCreatesResponse.ProtoReflect.Descriptor instead.
func (*AssetCreatesResponse) GetCreates ¶
func (x *AssetCreatesResponse) GetCreates() []*AssetCreate
func (*AssetCreatesResponse) ProtoMessage ¶
func (*AssetCreatesResponse) ProtoMessage()
func (*AssetCreatesResponse) ProtoReflect ¶
func (x *AssetCreatesResponse) ProtoReflect() protoreflect.Message
func (*AssetCreatesResponse) Reset ¶
func (x *AssetCreatesResponse) Reset()
func (*AssetCreatesResponse) String ¶
func (x *AssetCreatesResponse) String() string
type AssetSpend ¶
type AssetSpend struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
SpendingTxHash []byte `protobuf:"bytes,3,opt,name=spending_tx_hash,json=spendingTxHash,proto3" json:"spending_tx_hash,omitempty"`
BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockHash []byte `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
TxIndex uint32 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
UtxoTxHash []byte `protobuf:"bytes,7,opt,name=utxo_tx_hash,json=utxoTxHash,proto3" json:"utxo_tx_hash,omitempty"`
UtxoIndex uint32 `protobuf:"varint,8,opt,name=utxo_index,json=utxoIndex,proto3" json:"utxo_index,omitempty"`
BlockTimestampUnixMillis int64 `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*AssetSpend) Descriptor
deprecated
func (*AssetSpend) Descriptor() ([]byte, []int)
Deprecated: Use AssetSpend.ProtoReflect.Descriptor instead.
func (*AssetSpend) GetAddress ¶
func (x *AssetSpend) GetAddress() []byte
func (*AssetSpend) GetBlockHash ¶
func (x *AssetSpend) GetBlockHash() []byte
func (*AssetSpend) GetBlockNumber ¶
func (x *AssetSpend) GetBlockNumber() uint64
func (*AssetSpend) GetBlockTimestampUnixMillis ¶
func (x *AssetSpend) GetBlockTimestampUnixMillis() int64
func (*AssetSpend) GetQuantity ¶
func (x *AssetSpend) GetQuantity() uint64
func (*AssetSpend) GetSpendingTxHash ¶
func (x *AssetSpend) GetSpendingTxHash() []byte
func (*AssetSpend) GetTxIndex ¶
func (x *AssetSpend) GetTxIndex() uint32
func (*AssetSpend) GetUtxoIndex ¶
func (x *AssetSpend) GetUtxoIndex() uint32
func (*AssetSpend) GetUtxoTxHash ¶
func (x *AssetSpend) GetUtxoTxHash() []byte
func (*AssetSpend) ProtoMessage ¶
func (*AssetSpend) ProtoMessage()
func (*AssetSpend) ProtoReflect ¶
func (x *AssetSpend) ProtoReflect() protoreflect.Message
func (*AssetSpend) Reset ¶
func (x *AssetSpend) Reset()
func (*AssetSpend) String ¶
func (x *AssetSpend) String() string
type AssetSpendsRequest ¶
type AssetSpendsRequest struct {
StartBlock uint32 `protobuf:"varint,1,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
StartTxIndex uint32 `protobuf:"varint,2,opt,name=start_tx_index,json=startTxIndex,proto3" json:"start_tx_index,omitempty"`
UtxoCapacity uint32 `protobuf:"varint,3,opt,name=utxo_capacity,json=utxoCapacity,proto3" json:"utxo_capacity,omitempty"`
// contains filtered or unexported fields
}
func (*AssetSpendsRequest) Descriptor
deprecated
func (*AssetSpendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssetSpendsRequest.ProtoReflect.Descriptor instead.
func (*AssetSpendsRequest) GetStartBlock ¶
func (x *AssetSpendsRequest) GetStartBlock() uint32
func (*AssetSpendsRequest) GetStartTxIndex ¶
func (x *AssetSpendsRequest) GetStartTxIndex() uint32
func (*AssetSpendsRequest) GetUtxoCapacity ¶
func (x *AssetSpendsRequest) GetUtxoCapacity() uint32
func (*AssetSpendsRequest) ProtoMessage ¶
func (*AssetSpendsRequest) ProtoMessage()
func (*AssetSpendsRequest) ProtoReflect ¶
func (x *AssetSpendsRequest) ProtoReflect() protoreflect.Message
func (*AssetSpendsRequest) Reset ¶
func (x *AssetSpendsRequest) Reset()
func (*AssetSpendsRequest) String ¶
func (x *AssetSpendsRequest) String() string
type AssetSpendsResponse ¶
type AssetSpendsResponse struct {
Spends []*AssetSpend `protobuf:"bytes,1,rep,name=spends,proto3" json:"spends,omitempty"`
// contains filtered or unexported fields
}
func (*AssetSpendsResponse) Descriptor
deprecated
func (*AssetSpendsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssetSpendsResponse.ProtoReflect.Descriptor instead.
func (*AssetSpendsResponse) GetSpends ¶
func (x *AssetSpendsResponse) GetSpends() []*AssetSpend
func (*AssetSpendsResponse) ProtoMessage ¶
func (*AssetSpendsResponse) ProtoMessage()
func (*AssetSpendsResponse) ProtoReflect ¶
func (x *AssetSpendsResponse) ProtoReflect() protoreflect.Message
func (*AssetSpendsResponse) Reset ¶
func (x *AssetSpendsResponse) Reset()
func (*AssetSpendsResponse) String ¶
func (x *AssetSpendsResponse) String() string
type Block ¶
type Block struct {
BlockNumber uint32 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
EpochNumber uint32 `protobuf:"varint,3,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
SlotNumber uint64 `protobuf:"varint,4,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
BlockTimestampUnix uint64 `protobuf:"varint,5,opt,name=block_timestamp_unix,json=blockTimestampUnix,proto3" json:"block_timestamp_unix,omitempty"`
// contains filtered or unexported fields
}
func (*Block) Descriptor
deprecated
func (*Block) GetBlockHash ¶
func (*Block) GetBlockNumber ¶
func (*Block) GetBlockTimestampUnix ¶
func (*Block) GetEpochNumber ¶
func (*Block) GetSlotNumber ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockByHashRequest ¶
type BlockByHashRequest struct {
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
// contains filtered or unexported fields
}
func (*BlockByHashRequest) Descriptor
deprecated
func (*BlockByHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockByHashRequest.ProtoReflect.Descriptor instead.
func (*BlockByHashRequest) GetBlockHash ¶
func (x *BlockByHashRequest) GetBlockHash() []byte
func (*BlockByHashRequest) ProtoMessage ¶
func (*BlockByHashRequest) ProtoMessage()
func (*BlockByHashRequest) ProtoReflect ¶
func (x *BlockByHashRequest) ProtoReflect() protoreflect.Message
func (*BlockByHashRequest) Reset ¶
func (x *BlockByHashRequest) Reset()
func (*BlockByHashRequest) String ¶
func (x *BlockByHashRequest) String() string
type BlockByHashResponse ¶
type BlockByHashResponse struct {
BlockNumber uint32 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
TxCount uint32 `protobuf:"varint,2,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
BlockTimestampUnix int64 `protobuf:"varint,3,opt,name=block_timestamp_unix,json=blockTimestampUnix,proto3" json:"block_timestamp_unix,omitempty"`
EpochNumber uint32 `protobuf:"varint,4,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
SlotNumber uint64 `protobuf:"varint,5,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
// contains filtered or unexported fields
}
func (*BlockByHashResponse) Descriptor
deprecated
func (*BlockByHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockByHashResponse.ProtoReflect.Descriptor instead.
func (*BlockByHashResponse) GetBlockNumber ¶
func (x *BlockByHashResponse) GetBlockNumber() uint32
func (*BlockByHashResponse) GetBlockTimestampUnix ¶
func (x *BlockByHashResponse) GetBlockTimestampUnix() int64
func (*BlockByHashResponse) GetEpochNumber ¶
func (x *BlockByHashResponse) GetEpochNumber() uint32
func (*BlockByHashResponse) GetSlotNumber ¶
func (x *BlockByHashResponse) GetSlotNumber() uint64
func (*BlockByHashResponse) GetTxCount ¶
func (x *BlockByHashResponse) GetTxCount() uint32
func (*BlockByHashResponse) ProtoMessage ¶
func (*BlockByHashResponse) ProtoMessage()
func (*BlockByHashResponse) ProtoReflect ¶
func (x *BlockByHashResponse) ProtoReflect() protoreflect.Message
func (*BlockByHashResponse) Reset ¶
func (x *BlockByHashResponse) Reset()
func (*BlockByHashResponse) String ¶
func (x *BlockByHashResponse) String() string
type CardanoPosition ¶
type CardanoPosition struct {
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
BlockNumber uint32 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
TxIndex uint32 `protobuf:"varint,3,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
BlockTimestampUnixMillis int64 `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CardanoPosition) Descriptor
deprecated
func (*CardanoPosition) Descriptor() ([]byte, []int)
Deprecated: Use CardanoPosition.ProtoReflect.Descriptor instead.
func (*CardanoPosition) GetBlockHash ¶
func (x *CardanoPosition) GetBlockHash() []byte
func (*CardanoPosition) GetBlockNumber ¶
func (x *CardanoPosition) GetBlockNumber() uint32
func (*CardanoPosition) GetBlockTimestampUnixMillis ¶
func (x *CardanoPosition) GetBlockTimestampUnixMillis() int64
func (*CardanoPosition) GetTxIndex ¶
func (x *CardanoPosition) GetTxIndex() uint32
func (*CardanoPosition) ProtoMessage ¶
func (*CardanoPosition) ProtoMessage()
func (*CardanoPosition) ProtoReflect ¶
func (x *CardanoPosition) ProtoReflect() protoreflect.Message
func (*CardanoPosition) Reset ¶
func (x *CardanoPosition) Reset()
func (*CardanoPosition) String ¶
func (x *CardanoPosition) String() string
type CouncilDatumRequest ¶
type CouncilDatumRequest struct {
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
// contains filtered or unexported fields
}
func (*CouncilDatumRequest) Descriptor
deprecated
func (*CouncilDatumRequest) Descriptor() ([]byte, []int)
Deprecated: Use CouncilDatumRequest.ProtoReflect.Descriptor instead.
func (*CouncilDatumRequest) GetBlockNumber ¶
func (x *CouncilDatumRequest) GetBlockNumber() uint64
func (*CouncilDatumRequest) ProtoMessage ¶
func (*CouncilDatumRequest) ProtoMessage()
func (*CouncilDatumRequest) ProtoReflect ¶
func (x *CouncilDatumRequest) ProtoReflect() protoreflect.Message
func (*CouncilDatumRequest) Reset ¶
func (x *CouncilDatumRequest) Reset()
func (*CouncilDatumRequest) String ¶
func (x *CouncilDatumRequest) String() string
type CouncilDatumResponse ¶
type CouncilDatumResponse struct {
SourceBlockNumber uint64 `protobuf:"varint,1,opt,name=source_block_number,json=sourceBlockNumber,proto3" json:"source_block_number,omitempty"`
Datum []byte `protobuf:"bytes,2,opt,name=datum,proto3" json:"datum,omitempty"`
// contains filtered or unexported fields
}
func (*CouncilDatumResponse) Descriptor
deprecated
func (*CouncilDatumResponse) Descriptor() ([]byte, []int)
Deprecated: Use CouncilDatumResponse.ProtoReflect.Descriptor instead.
func (*CouncilDatumResponse) GetDatum ¶
func (x *CouncilDatumResponse) GetDatum() []byte
func (*CouncilDatumResponse) GetSourceBlockNumber ¶
func (x *CouncilDatumResponse) GetSourceBlockNumber() uint64
func (*CouncilDatumResponse) ProtoMessage ¶
func (*CouncilDatumResponse) ProtoMessage()
func (*CouncilDatumResponse) ProtoReflect ¶
func (x *CouncilDatumResponse) ProtoReflect() protoreflect.Message
func (*CouncilDatumResponse) Reset ¶
func (x *CouncilDatumResponse) Reset()
func (*CouncilDatumResponse) String ¶
func (x *CouncilDatumResponse) String() string
type Deregistration ¶
type Deregistration struct {
FullDatum []byte `protobuf:"bytes,1,opt,name=full_datum,json=fullDatum,proto3" json:"full_datum,omitempty"`
TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
BlockNumber uint64 `protobuf:"varint,3,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockHash []byte `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
TxIndex uint32 `protobuf:"varint,5,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
UtxoTxHash []byte `protobuf:"bytes,6,opt,name=utxo_tx_hash,json=utxoTxHash,proto3" json:"utxo_tx_hash,omitempty"`
UtxoIndex uint32 `protobuf:"varint,7,opt,name=utxo_index,json=utxoIndex,proto3" json:"utxo_index,omitempty"`
BlockTimestampUnixMillis int64 `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Deregistration) Descriptor
deprecated
func (*Deregistration) Descriptor() ([]byte, []int)
Deprecated: Use Deregistration.ProtoReflect.Descriptor instead.
func (*Deregistration) GetBlockHash ¶
func (x *Deregistration) GetBlockHash() []byte
func (*Deregistration) GetBlockNumber ¶
func (x *Deregistration) GetBlockNumber() uint64
func (*Deregistration) GetBlockTimestampUnixMillis ¶
func (x *Deregistration) GetBlockTimestampUnixMillis() int64
func (*Deregistration) GetFullDatum ¶
func (x *Deregistration) GetFullDatum() []byte
func (*Deregistration) GetTxHash ¶
func (x *Deregistration) GetTxHash() []byte
func (*Deregistration) GetTxIndex ¶
func (x *Deregistration) GetTxIndex() uint32
func (*Deregistration) GetUtxoIndex ¶
func (x *Deregistration) GetUtxoIndex() uint32
func (*Deregistration) GetUtxoTxHash ¶
func (x *Deregistration) GetUtxoTxHash() []byte
func (*Deregistration) ProtoMessage ¶
func (*Deregistration) ProtoMessage()
func (*Deregistration) ProtoReflect ¶
func (x *Deregistration) ProtoReflect() protoreflect.Message
func (*Deregistration) Reset ¶
func (x *Deregistration) Reset()
func (*Deregistration) String ¶
func (x *Deregistration) String() string
type DeregistrationsRequest ¶
type DeregistrationsRequest struct {
StartBlock uint32 `protobuf:"varint,1,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
StartTxIndex uint32 `protobuf:"varint,2,opt,name=start_tx_index,json=startTxIndex,proto3" json:"start_tx_index,omitempty"`
UtxoCapacity uint32 `protobuf:"varint,3,opt,name=utxo_capacity,json=utxoCapacity,proto3" json:"utxo_capacity,omitempty"`
// contains filtered or unexported fields
}
func (*DeregistrationsRequest) Descriptor
deprecated
func (*DeregistrationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeregistrationsRequest.ProtoReflect.Descriptor instead.
func (*DeregistrationsRequest) GetStartBlock ¶
func (x *DeregistrationsRequest) GetStartBlock() uint32
func (*DeregistrationsRequest) GetStartTxIndex ¶
func (x *DeregistrationsRequest) GetStartTxIndex() uint32
func (*DeregistrationsRequest) GetUtxoCapacity ¶
func (x *DeregistrationsRequest) GetUtxoCapacity() uint32
func (*DeregistrationsRequest) ProtoMessage ¶
func (*DeregistrationsRequest) ProtoMessage()
func (*DeregistrationsRequest) ProtoReflect ¶
func (x *DeregistrationsRequest) ProtoReflect() protoreflect.Message
func (*DeregistrationsRequest) Reset ¶
func (x *DeregistrationsRequest) Reset()
func (*DeregistrationsRequest) String ¶
func (x *DeregistrationsRequest) String() string
type DeregistrationsResponse ¶
type DeregistrationsResponse struct {
Deregistrations []*Deregistration `protobuf:"bytes,1,rep,name=deregistrations,proto3" json:"deregistrations,omitempty"`
// contains filtered or unexported fields
}
func (*DeregistrationsResponse) Descriptor
deprecated
func (*DeregistrationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeregistrationsResponse.ProtoReflect.Descriptor instead.
func (*DeregistrationsResponse) GetDeregistrations ¶
func (x *DeregistrationsResponse) GetDeregistrations() []*Deregistration
func (*DeregistrationsResponse) ProtoMessage ¶
func (*DeregistrationsResponse) ProtoMessage()
func (*DeregistrationsResponse) ProtoReflect ¶
func (x *DeregistrationsResponse) ProtoReflect() protoreflect.Message
func (*DeregistrationsResponse) Reset ¶
func (x *DeregistrationsResponse) Reset()
func (*DeregistrationsResponse) String ¶
func (x *DeregistrationsResponse) String() string
type EpochCandidate ¶
type EpochCandidate struct {
FullDatum []byte `protobuf:"bytes,1,opt,name=full_datum,json=fullDatum,proto3" json:"full_datum,omitempty"`
UtxoTxHash []byte `protobuf:"bytes,2,opt,name=utxo_tx_hash,json=utxoTxHash,proto3" json:"utxo_tx_hash,omitempty"`
UtxoIndex uint32 `protobuf:"varint,3,opt,name=utxo_index,json=utxoIndex,proto3" json:"utxo_index,omitempty"`
TxInputs []*UtxoId `protobuf:"bytes,4,rep,name=tx_inputs,json=txInputs,proto3" json:"tx_inputs,omitempty"`
EpochNumber uint64 `protobuf:"varint,5,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
BlockNumber uint64 `protobuf:"varint,6,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
SlotNumber uint64 `protobuf:"varint,7,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
TxIndex uint32 `protobuf:"varint,8,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
// contains filtered or unexported fields
}
func (*EpochCandidate) Descriptor
deprecated
func (*EpochCandidate) Descriptor() ([]byte, []int)
Deprecated: Use EpochCandidate.ProtoReflect.Descriptor instead.
func (*EpochCandidate) GetBlockNumber ¶
func (x *EpochCandidate) GetBlockNumber() uint64
func (*EpochCandidate) GetEpochNumber ¶
func (x *EpochCandidate) GetEpochNumber() uint64
func (*EpochCandidate) GetFullDatum ¶
func (x *EpochCandidate) GetFullDatum() []byte
func (*EpochCandidate) GetSlotNumber ¶
func (x *EpochCandidate) GetSlotNumber() uint64
func (*EpochCandidate) GetTxIndex ¶
func (x *EpochCandidate) GetTxIndex() uint32
func (*EpochCandidate) GetTxInputs ¶
func (x *EpochCandidate) GetTxInputs() []*UtxoId
func (*EpochCandidate) GetUtxoIndex ¶
func (x *EpochCandidate) GetUtxoIndex() uint32
func (*EpochCandidate) GetUtxoTxHash ¶
func (x *EpochCandidate) GetUtxoTxHash() []byte
func (*EpochCandidate) ProtoMessage ¶
func (*EpochCandidate) ProtoMessage()
func (*EpochCandidate) ProtoReflect ¶
func (x *EpochCandidate) ProtoReflect() protoreflect.Message
func (*EpochCandidate) Reset ¶
func (x *EpochCandidate) Reset()
func (*EpochCandidate) String ¶
func (x *EpochCandidate) String() string
type EpochCandidatesRequest ¶
type EpochCandidatesRequest struct {
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
// contains filtered or unexported fields
}
func (*EpochCandidatesRequest) Descriptor
deprecated
func (*EpochCandidatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EpochCandidatesRequest.ProtoReflect.Descriptor instead.
func (*EpochCandidatesRequest) GetEpoch ¶
func (x *EpochCandidatesRequest) GetEpoch() uint64
func (*EpochCandidatesRequest) ProtoMessage ¶
func (*EpochCandidatesRequest) ProtoMessage()
func (*EpochCandidatesRequest) ProtoReflect ¶
func (x *EpochCandidatesRequest) ProtoReflect() protoreflect.Message
func (*EpochCandidatesRequest) Reset ¶
func (x *EpochCandidatesRequest) Reset()
func (*EpochCandidatesRequest) String ¶
func (x *EpochCandidatesRequest) String() string
type EpochCandidatesResponse ¶
type EpochCandidatesResponse struct {
Candidates []*EpochCandidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
StakeDistribution []*StakePoolEntry `protobuf:"bytes,2,rep,name=stake_distribution,json=stakeDistribution,proto3" json:"stake_distribution,omitempty"`
// contains filtered or unexported fields
}
func (*EpochCandidatesResponse) Descriptor
deprecated
func (*EpochCandidatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EpochCandidatesResponse.ProtoReflect.Descriptor instead.
func (*EpochCandidatesResponse) GetCandidates ¶
func (x *EpochCandidatesResponse) GetCandidates() []*EpochCandidate
func (*EpochCandidatesResponse) GetStakeDistribution ¶
func (x *EpochCandidatesResponse) GetStakeDistribution() []*StakePoolEntry
func (*EpochCandidatesResponse) ProtoMessage ¶
func (*EpochCandidatesResponse) ProtoMessage()
func (*EpochCandidatesResponse) ProtoReflect ¶
func (x *EpochCandidatesResponse) ProtoReflect() protoreflect.Message
func (*EpochCandidatesResponse) Reset ¶
func (x *EpochCandidatesResponse) Reset()
func (*EpochCandidatesResponse) String ¶
func (x *EpochCandidatesResponse) String() string
type EpochNonceRequest ¶
type EpochNonceRequest struct {
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
// contains filtered or unexported fields
}
func (*EpochNonceRequest) Descriptor
deprecated
func (*EpochNonceRequest) Descriptor() ([]byte, []int)
Deprecated: Use EpochNonceRequest.ProtoReflect.Descriptor instead.
func (*EpochNonceRequest) GetEpoch ¶
func (x *EpochNonceRequest) GetEpoch() uint64
func (*EpochNonceRequest) ProtoMessage ¶
func (*EpochNonceRequest) ProtoMessage()
func (*EpochNonceRequest) ProtoReflect ¶
func (x *EpochNonceRequest) ProtoReflect() protoreflect.Message
func (*EpochNonceRequest) Reset ¶
func (x *EpochNonceRequest) Reset()
func (*EpochNonceRequest) String ¶
func (x *EpochNonceRequest) String() string
type EpochNonceResponse ¶
type EpochNonceResponse struct {
Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3,oneof" json:"nonce,omitempty"`
// contains filtered or unexported fields
}
func (*EpochNonceResponse) Descriptor
deprecated
func (*EpochNonceResponse) Descriptor() ([]byte, []int)
Deprecated: Use EpochNonceResponse.ProtoReflect.Descriptor instead.
func (*EpochNonceResponse) GetNonce ¶
func (x *EpochNonceResponse) GetNonce() []byte
func (*EpochNonceResponse) ProtoMessage ¶
func (*EpochNonceResponse) ProtoMessage()
func (*EpochNonceResponse) ProtoReflect ¶
func (x *EpochNonceResponse) ProtoReflect() protoreflect.Message
func (*EpochNonceResponse) Reset ¶
func (x *EpochNonceResponse) Reset()
func (*EpochNonceResponse) String ¶
func (x *EpochNonceResponse) String() string
type LatestBlockRequest ¶
type LatestBlockRequest struct {
// contains filtered or unexported fields
}
func (*LatestBlockRequest) Descriptor
deprecated
func (*LatestBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use LatestBlockRequest.ProtoReflect.Descriptor instead.
func (*LatestBlockRequest) ProtoMessage ¶
func (*LatestBlockRequest) ProtoMessage()
func (*LatestBlockRequest) ProtoReflect ¶
func (x *LatestBlockRequest) ProtoReflect() protoreflect.Message
func (*LatestBlockRequest) Reset ¶
func (x *LatestBlockRequest) Reset()
func (*LatestBlockRequest) String ¶
func (x *LatestBlockRequest) String() string
type LatestBlockResponse ¶
type LatestBlockResponse struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
// contains filtered or unexported fields
}
func (*LatestBlockResponse) Descriptor
deprecated
func (*LatestBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use LatestBlockResponse.ProtoReflect.Descriptor instead.
func (*LatestBlockResponse) GetBlock ¶
func (x *LatestBlockResponse) GetBlock() *Block
func (*LatestBlockResponse) ProtoMessage ¶
func (*LatestBlockResponse) ProtoMessage()
func (*LatestBlockResponse) ProtoReflect ¶
func (x *LatestBlockResponse) ProtoReflect() protoreflect.Message
func (*LatestBlockResponse) Reset ¶
func (x *LatestBlockResponse) Reset()
func (*LatestBlockResponse) String ¶
func (x *LatestBlockResponse) String() string
type LatestStableBlockRequest ¶
type LatestStableBlockRequest struct {
StabilityOffset uint32 `protobuf:"varint,1,opt,name=stability_offset,json=stabilityOffset,proto3" json:"stability_offset,omitempty"`
AsOfTimestampUnixMillis uint64 `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*LatestStableBlockRequest) Descriptor
deprecated
func (*LatestStableBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use LatestStableBlockRequest.ProtoReflect.Descriptor instead.
func (*LatestStableBlockRequest) GetAsOfTimestampUnixMillis ¶
func (x *LatestStableBlockRequest) GetAsOfTimestampUnixMillis() uint64
func (*LatestStableBlockRequest) GetStabilityOffset ¶
func (x *LatestStableBlockRequest) GetStabilityOffset() uint32
func (*LatestStableBlockRequest) ProtoMessage ¶
func (*LatestStableBlockRequest) ProtoMessage()
func (*LatestStableBlockRequest) ProtoReflect ¶
func (x *LatestStableBlockRequest) ProtoReflect() protoreflect.Message
func (*LatestStableBlockRequest) Reset ¶
func (x *LatestStableBlockRequest) Reset()
func (*LatestStableBlockRequest) String ¶
func (x *LatestStableBlockRequest) String() string
type LatestStableBlockResponse ¶
type LatestStableBlockResponse struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3,oneof" json:"block,omitempty"`
// contains filtered or unexported fields
}
func (*LatestStableBlockResponse) Descriptor
deprecated
func (*LatestStableBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use LatestStableBlockResponse.ProtoReflect.Descriptor instead.
func (*LatestStableBlockResponse) GetBlock ¶
func (x *LatestStableBlockResponse) GetBlock() *Block
func (*LatestStableBlockResponse) ProtoMessage ¶
func (*LatestStableBlockResponse) ProtoMessage()
func (*LatestStableBlockResponse) ProtoReflect ¶
func (x *LatestStableBlockResponse) ProtoReflect() protoreflect.Message
func (*LatestStableBlockResponse) Reset ¶
func (x *LatestStableBlockResponse) Reset()
func (*LatestStableBlockResponse) String ¶
func (x *LatestStableBlockResponse) String() string
type MidnightStateClient ¶
type MidnightStateClient interface {
GetAssetCreates(ctx context.Context, in *AssetCreatesRequest, opts ...grpc.CallOption) (*AssetCreatesResponse, error)
GetAssetSpends(ctx context.Context, in *AssetSpendsRequest, opts ...grpc.CallOption) (*AssetSpendsResponse, error)
GetRegistrations(ctx context.Context, in *RegistrationsRequest, opts ...grpc.CallOption) (*RegistrationsResponse, error)
GetDeregistrations(ctx context.Context, in *DeregistrationsRequest, opts ...grpc.CallOption) (*DeregistrationsResponse, error)
GetTechnicalCommitteeDatum(ctx context.Context, in *TechnicalCommitteeDatumRequest, opts ...grpc.CallOption) (*TechnicalCommitteeDatumResponse, error)
GetCouncilDatum(ctx context.Context, in *CouncilDatumRequest, opts ...grpc.CallOption) (*CouncilDatumResponse, error)
GetAriadneParameters(ctx context.Context, in *AriadneParametersRequest, opts ...grpc.CallOption) (*AriadneParametersResponse, error)
GetBlockByHash(ctx context.Context, in *BlockByHashRequest, opts ...grpc.CallOption) (*BlockByHashResponse, error)
GetUtxoEvents(ctx context.Context, in *UtxoEventsRequest, opts ...grpc.CallOption) (*UtxoEventsResponse, error)
GetEpochNonce(ctx context.Context, in *EpochNonceRequest, opts ...grpc.CallOption) (*EpochNonceResponse, error)
GetEpochCandidates(ctx context.Context, in *EpochCandidatesRequest, opts ...grpc.CallOption) (*EpochCandidatesResponse, error)
GetStableBlock(ctx context.Context, in *StableBlockRequest, opts ...grpc.CallOption) (*StableBlockResponse, error)
GetLatestStableBlock(ctx context.Context, in *LatestStableBlockRequest, opts ...grpc.CallOption) (*LatestStableBlockResponse, error)
GetLatestBlock(ctx context.Context, in *LatestBlockRequest, opts ...grpc.CallOption) (*LatestBlockResponse, error)
}
MidnightStateClient is the client API for MidnightState service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMidnightStateClient ¶
func NewMidnightStateClient(cc grpc.ClientConnInterface) MidnightStateClient
type MidnightStateServer ¶
type MidnightStateServer interface {
GetAssetCreates(context.Context, *AssetCreatesRequest) (*AssetCreatesResponse, error)
GetAssetSpends(context.Context, *AssetSpendsRequest) (*AssetSpendsResponse, error)
GetRegistrations(context.Context, *RegistrationsRequest) (*RegistrationsResponse, error)
GetDeregistrations(context.Context, *DeregistrationsRequest) (*DeregistrationsResponse, error)
GetTechnicalCommitteeDatum(context.Context, *TechnicalCommitteeDatumRequest) (*TechnicalCommitteeDatumResponse, error)
GetCouncilDatum(context.Context, *CouncilDatumRequest) (*CouncilDatumResponse, error)
GetAriadneParameters(context.Context, *AriadneParametersRequest) (*AriadneParametersResponse, error)
GetBlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error)
GetUtxoEvents(context.Context, *UtxoEventsRequest) (*UtxoEventsResponse, error)
GetEpochNonce(context.Context, *EpochNonceRequest) (*EpochNonceResponse, error)
GetEpochCandidates(context.Context, *EpochCandidatesRequest) (*EpochCandidatesResponse, error)
GetStableBlock(context.Context, *StableBlockRequest) (*StableBlockResponse, error)
GetLatestStableBlock(context.Context, *LatestStableBlockRequest) (*LatestStableBlockResponse, error)
GetLatestBlock(context.Context, *LatestBlockRequest) (*LatestBlockResponse, error)
// contains filtered or unexported methods
}
MidnightStateServer is the server API for MidnightState service. All implementations must embed UnimplementedMidnightStateServer for forward compatibility.
type Registration ¶
type Registration struct {
FullDatum []byte `protobuf:"bytes,1,opt,name=full_datum,json=fullDatum,proto3" json:"full_datum,omitempty"`
TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
BlockHash []byte `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
TxIndex uint32 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
BlockTimestampUnixMillis int64 `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Registration) Descriptor
deprecated
func (*Registration) Descriptor() ([]byte, []int)
Deprecated: Use Registration.ProtoReflect.Descriptor instead.
func (*Registration) GetBlockHash ¶
func (x *Registration) GetBlockHash() []byte
func (*Registration) GetBlockNumber ¶
func (x *Registration) GetBlockNumber() uint64
func (*Registration) GetBlockTimestampUnixMillis ¶
func (x *Registration) GetBlockTimestampUnixMillis() int64
func (*Registration) GetFullDatum ¶
func (x *Registration) GetFullDatum() []byte
func (*Registration) GetOutputIndex ¶
func (x *Registration) GetOutputIndex() uint32
func (*Registration) GetTxHash ¶
func (x *Registration) GetTxHash() []byte
func (*Registration) GetTxIndex ¶
func (x *Registration) GetTxIndex() uint32
func (*Registration) ProtoMessage ¶
func (*Registration) ProtoMessage()
func (*Registration) ProtoReflect ¶
func (x *Registration) ProtoReflect() protoreflect.Message
func (*Registration) Reset ¶
func (x *Registration) Reset()
func (*Registration) String ¶
func (x *Registration) String() string
type RegistrationsRequest ¶
type RegistrationsRequest struct {
StartBlock uint32 `protobuf:"varint,1,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
StartTxIndex uint32 `protobuf:"varint,2,opt,name=start_tx_index,json=startTxIndex,proto3" json:"start_tx_index,omitempty"`
UtxoCapacity uint32 `protobuf:"varint,3,opt,name=utxo_capacity,json=utxoCapacity,proto3" json:"utxo_capacity,omitempty"`
// contains filtered or unexported fields
}
func (*RegistrationsRequest) Descriptor
deprecated
func (*RegistrationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegistrationsRequest.ProtoReflect.Descriptor instead.
func (*RegistrationsRequest) GetStartBlock ¶
func (x *RegistrationsRequest) GetStartBlock() uint32
func (*RegistrationsRequest) GetStartTxIndex ¶
func (x *RegistrationsRequest) GetStartTxIndex() uint32
func (*RegistrationsRequest) GetUtxoCapacity ¶
func (x *RegistrationsRequest) GetUtxoCapacity() uint32
func (*RegistrationsRequest) ProtoMessage ¶
func (*RegistrationsRequest) ProtoMessage()
func (*RegistrationsRequest) ProtoReflect ¶
func (x *RegistrationsRequest) ProtoReflect() protoreflect.Message
func (*RegistrationsRequest) Reset ¶
func (x *RegistrationsRequest) Reset()
func (*RegistrationsRequest) String ¶
func (x *RegistrationsRequest) String() string
type RegistrationsResponse ¶
type RegistrationsResponse struct {
Registrations []*Registration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"`
// contains filtered or unexported fields
}
func (*RegistrationsResponse) Descriptor
deprecated
func (*RegistrationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegistrationsResponse.ProtoReflect.Descriptor instead.
func (*RegistrationsResponse) GetRegistrations ¶
func (x *RegistrationsResponse) GetRegistrations() []*Registration
func (*RegistrationsResponse) ProtoMessage ¶
func (*RegistrationsResponse) ProtoMessage()
func (*RegistrationsResponse) ProtoReflect ¶
func (x *RegistrationsResponse) ProtoReflect() protoreflect.Message
func (*RegistrationsResponse) Reset ¶
func (x *RegistrationsResponse) Reset()
func (*RegistrationsResponse) String ¶
func (x *RegistrationsResponse) String() string
type StableBlockRequest ¶
type StableBlockRequest struct {
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
StabilityOffset uint32 `protobuf:"varint,2,opt,name=stability_offset,json=stabilityOffset,proto3" json:"stability_offset,omitempty"`
AsOfTimestampUnixMillis uint64 `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StableBlockRequest) Descriptor
deprecated
func (*StableBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use StableBlockRequest.ProtoReflect.Descriptor instead.
func (*StableBlockRequest) GetAsOfTimestampUnixMillis ¶
func (x *StableBlockRequest) GetAsOfTimestampUnixMillis() uint64
func (*StableBlockRequest) GetBlockHash ¶
func (x *StableBlockRequest) GetBlockHash() []byte
func (*StableBlockRequest) GetStabilityOffset ¶
func (x *StableBlockRequest) GetStabilityOffset() uint32
func (*StableBlockRequest) ProtoMessage ¶
func (*StableBlockRequest) ProtoMessage()
func (*StableBlockRequest) ProtoReflect ¶
func (x *StableBlockRequest) ProtoReflect() protoreflect.Message
func (*StableBlockRequest) Reset ¶
func (x *StableBlockRequest) Reset()
func (*StableBlockRequest) String ¶
func (x *StableBlockRequest) String() string
type StableBlockResponse ¶
type StableBlockResponse struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3,oneof" json:"block,omitempty"`
// contains filtered or unexported fields
}
func (*StableBlockResponse) Descriptor
deprecated
func (*StableBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use StableBlockResponse.ProtoReflect.Descriptor instead.
func (*StableBlockResponse) GetBlock ¶
func (x *StableBlockResponse) GetBlock() *Block
func (*StableBlockResponse) ProtoMessage ¶
func (*StableBlockResponse) ProtoMessage()
func (*StableBlockResponse) ProtoReflect ¶
func (x *StableBlockResponse) ProtoReflect() protoreflect.Message
func (*StableBlockResponse) Reset ¶
func (x *StableBlockResponse) Reset()
func (*StableBlockResponse) String ¶
func (x *StableBlockResponse) String() string
type StakePoolEntry ¶
type StakePoolEntry struct {
PoolHash []byte `protobuf:"bytes,1,opt,name=pool_hash,json=poolHash,proto3" json:"pool_hash,omitempty"`
Stake uint64 `protobuf:"varint,2,opt,name=stake,proto3" json:"stake,omitempty"`
// contains filtered or unexported fields
}
func (*StakePoolEntry) Descriptor
deprecated
func (*StakePoolEntry) Descriptor() ([]byte, []int)
Deprecated: Use StakePoolEntry.ProtoReflect.Descriptor instead.
func (*StakePoolEntry) GetPoolHash ¶
func (x *StakePoolEntry) GetPoolHash() []byte
func (*StakePoolEntry) GetStake ¶
func (x *StakePoolEntry) GetStake() uint64
func (*StakePoolEntry) ProtoMessage ¶
func (*StakePoolEntry) ProtoMessage()
func (*StakePoolEntry) ProtoReflect ¶
func (x *StakePoolEntry) ProtoReflect() protoreflect.Message
func (*StakePoolEntry) Reset ¶
func (x *StakePoolEntry) Reset()
func (*StakePoolEntry) String ¶
func (x *StakePoolEntry) String() string
type TechnicalCommitteeDatumRequest ¶
type TechnicalCommitteeDatumRequest struct {
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
// contains filtered or unexported fields
}
func (*TechnicalCommitteeDatumRequest) Descriptor
deprecated
func (*TechnicalCommitteeDatumRequest) Descriptor() ([]byte, []int)
Deprecated: Use TechnicalCommitteeDatumRequest.ProtoReflect.Descriptor instead.
func (*TechnicalCommitteeDatumRequest) GetBlockNumber ¶
func (x *TechnicalCommitteeDatumRequest) GetBlockNumber() uint64
func (*TechnicalCommitteeDatumRequest) ProtoMessage ¶
func (*TechnicalCommitteeDatumRequest) ProtoMessage()
func (*TechnicalCommitteeDatumRequest) ProtoReflect ¶
func (x *TechnicalCommitteeDatumRequest) ProtoReflect() protoreflect.Message
func (*TechnicalCommitteeDatumRequest) Reset ¶
func (x *TechnicalCommitteeDatumRequest) Reset()
func (*TechnicalCommitteeDatumRequest) String ¶
func (x *TechnicalCommitteeDatumRequest) String() string
type TechnicalCommitteeDatumResponse ¶
type TechnicalCommitteeDatumResponse struct {
SourceBlockNumber uint64 `protobuf:"varint,1,opt,name=source_block_number,json=sourceBlockNumber,proto3" json:"source_block_number,omitempty"`
Datum []byte `protobuf:"bytes,2,opt,name=datum,proto3" json:"datum,omitempty"`
// contains filtered or unexported fields
}
func (*TechnicalCommitteeDatumResponse) Descriptor
deprecated
func (*TechnicalCommitteeDatumResponse) Descriptor() ([]byte, []int)
Deprecated: Use TechnicalCommitteeDatumResponse.ProtoReflect.Descriptor instead.
func (*TechnicalCommitteeDatumResponse) GetDatum ¶
func (x *TechnicalCommitteeDatumResponse) GetDatum() []byte
func (*TechnicalCommitteeDatumResponse) GetSourceBlockNumber ¶
func (x *TechnicalCommitteeDatumResponse) GetSourceBlockNumber() uint64
func (*TechnicalCommitteeDatumResponse) ProtoMessage ¶
func (*TechnicalCommitteeDatumResponse) ProtoMessage()
func (*TechnicalCommitteeDatumResponse) ProtoReflect ¶
func (x *TechnicalCommitteeDatumResponse) ProtoReflect() protoreflect.Message
func (*TechnicalCommitteeDatumResponse) Reset ¶
func (x *TechnicalCommitteeDatumResponse) Reset()
func (*TechnicalCommitteeDatumResponse) String ¶
func (x *TechnicalCommitteeDatumResponse) String() string
type UnimplementedMidnightStateServer ¶
type UnimplementedMidnightStateServer struct{}
UnimplementedMidnightStateServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMidnightStateServer) GetAriadneParameters ¶
func (UnimplementedMidnightStateServer) GetAriadneParameters(context.Context, *AriadneParametersRequest) (*AriadneParametersResponse, error)
func (UnimplementedMidnightStateServer) GetAssetCreates ¶
func (UnimplementedMidnightStateServer) GetAssetCreates(context.Context, *AssetCreatesRequest) (*AssetCreatesResponse, error)
func (UnimplementedMidnightStateServer) GetAssetSpends ¶
func (UnimplementedMidnightStateServer) GetAssetSpends(context.Context, *AssetSpendsRequest) (*AssetSpendsResponse, error)
func (UnimplementedMidnightStateServer) GetBlockByHash ¶
func (UnimplementedMidnightStateServer) GetBlockByHash(context.Context, *BlockByHashRequest) (*BlockByHashResponse, error)
func (UnimplementedMidnightStateServer) GetCouncilDatum ¶
func (UnimplementedMidnightStateServer) GetCouncilDatum(context.Context, *CouncilDatumRequest) (*CouncilDatumResponse, error)
func (UnimplementedMidnightStateServer) GetDeregistrations ¶
func (UnimplementedMidnightStateServer) GetDeregistrations(context.Context, *DeregistrationsRequest) (*DeregistrationsResponse, error)
func (UnimplementedMidnightStateServer) GetEpochCandidates ¶
func (UnimplementedMidnightStateServer) GetEpochCandidates(context.Context, *EpochCandidatesRequest) (*EpochCandidatesResponse, error)
func (UnimplementedMidnightStateServer) GetEpochNonce ¶
func (UnimplementedMidnightStateServer) GetEpochNonce(context.Context, *EpochNonceRequest) (*EpochNonceResponse, error)
func (UnimplementedMidnightStateServer) GetLatestBlock ¶
func (UnimplementedMidnightStateServer) GetLatestBlock(context.Context, *LatestBlockRequest) (*LatestBlockResponse, error)
func (UnimplementedMidnightStateServer) GetLatestStableBlock ¶
func (UnimplementedMidnightStateServer) GetLatestStableBlock(context.Context, *LatestStableBlockRequest) (*LatestStableBlockResponse, error)
func (UnimplementedMidnightStateServer) GetRegistrations ¶
func (UnimplementedMidnightStateServer) GetRegistrations(context.Context, *RegistrationsRequest) (*RegistrationsResponse, error)
func (UnimplementedMidnightStateServer) GetStableBlock ¶
func (UnimplementedMidnightStateServer) GetStableBlock(context.Context, *StableBlockRequest) (*StableBlockResponse, error)
func (UnimplementedMidnightStateServer) GetTechnicalCommitteeDatum ¶
func (UnimplementedMidnightStateServer) GetTechnicalCommitteeDatum(context.Context, *TechnicalCommitteeDatumRequest) (*TechnicalCommitteeDatumResponse, error)
func (UnimplementedMidnightStateServer) GetUtxoEvents ¶
func (UnimplementedMidnightStateServer) GetUtxoEvents(context.Context, *UtxoEventsRequest) (*UtxoEventsResponse, error)
type UnsafeMidnightStateServer ¶
type UnsafeMidnightStateServer interface {
// contains filtered or unexported methods
}
UnsafeMidnightStateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MidnightStateServer will result in compilation errors.
type UtxoEvent ¶
type UtxoEvent struct {
// Types that are valid to be assigned to Kind:
//
// *UtxoEvent_AssetCreate
// *UtxoEvent_AssetSpend
// *UtxoEvent_Registration
// *UtxoEvent_Deregistration
Kind isUtxoEvent_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
func (*UtxoEvent) Descriptor
deprecated
func (*UtxoEvent) GetAssetCreate ¶
func (x *UtxoEvent) GetAssetCreate() *AssetCreate
func (*UtxoEvent) GetAssetSpend ¶
func (x *UtxoEvent) GetAssetSpend() *AssetSpend
func (*UtxoEvent) GetDeregistration ¶
func (x *UtxoEvent) GetDeregistration() *Deregistration
func (*UtxoEvent) GetRegistration ¶
func (x *UtxoEvent) GetRegistration() *Registration
func (*UtxoEvent) ProtoMessage ¶
func (*UtxoEvent) ProtoMessage()
func (*UtxoEvent) ProtoReflect ¶
func (x *UtxoEvent) ProtoReflect() protoreflect.Message
type UtxoEvent_AssetCreate ¶
type UtxoEvent_AssetCreate struct {
AssetCreate *AssetCreate `protobuf:"bytes,1,opt,name=asset_create,json=assetCreate,proto3,oneof"`
}
type UtxoEvent_AssetSpend ¶
type UtxoEvent_AssetSpend struct {
AssetSpend *AssetSpend `protobuf:"bytes,2,opt,name=asset_spend,json=assetSpend,proto3,oneof"`
}
type UtxoEvent_Deregistration ¶
type UtxoEvent_Deregistration struct {
Deregistration *Deregistration `protobuf:"bytes,4,opt,name=deregistration,proto3,oneof"`
}
type UtxoEvent_Registration ¶
type UtxoEvent_Registration struct {
Registration *Registration `protobuf:"bytes,3,opt,name=registration,proto3,oneof"`
}
type UtxoEventsRequest ¶
type UtxoEventsRequest struct {
TxCapacity uint32 `protobuf:"varint,1,opt,name=tx_capacity,json=txCapacity,proto3" json:"tx_capacity,omitempty"`
EndBlockHash []byte `protobuf:"bytes,2,opt,name=end_block_hash,json=endBlockHash,proto3" json:"end_block_hash,omitempty"`
StartPosition *CardanoPosition `protobuf:"bytes,3,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
// contains filtered or unexported fields
}
func (*UtxoEventsRequest) Descriptor
deprecated
func (*UtxoEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UtxoEventsRequest.ProtoReflect.Descriptor instead.
func (*UtxoEventsRequest) GetEndBlockHash ¶
func (x *UtxoEventsRequest) GetEndBlockHash() []byte
func (*UtxoEventsRequest) GetStartPosition ¶
func (x *UtxoEventsRequest) GetStartPosition() *CardanoPosition
func (*UtxoEventsRequest) GetTxCapacity ¶
func (x *UtxoEventsRequest) GetTxCapacity() uint32
func (*UtxoEventsRequest) ProtoMessage ¶
func (*UtxoEventsRequest) ProtoMessage()
func (*UtxoEventsRequest) ProtoReflect ¶
func (x *UtxoEventsRequest) ProtoReflect() protoreflect.Message
func (*UtxoEventsRequest) Reset ¶
func (x *UtxoEventsRequest) Reset()
func (*UtxoEventsRequest) String ¶
func (x *UtxoEventsRequest) String() string
type UtxoEventsResponse ¶
type UtxoEventsResponse struct {
Events []*UtxoEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
NextPosition *CardanoPosition `protobuf:"bytes,2,opt,name=next_position,json=nextPosition,proto3" json:"next_position,omitempty"`
// contains filtered or unexported fields
}
func (*UtxoEventsResponse) Descriptor
deprecated
func (*UtxoEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UtxoEventsResponse.ProtoReflect.Descriptor instead.
func (*UtxoEventsResponse) GetEvents ¶
func (x *UtxoEventsResponse) GetEvents() []*UtxoEvent
func (*UtxoEventsResponse) GetNextPosition ¶
func (x *UtxoEventsResponse) GetNextPosition() *CardanoPosition
func (*UtxoEventsResponse) ProtoMessage ¶
func (*UtxoEventsResponse) ProtoMessage()
func (*UtxoEventsResponse) ProtoReflect ¶
func (x *UtxoEventsResponse) ProtoReflect() protoreflect.Message
func (*UtxoEventsResponse) Reset ¶
func (x *UtxoEventsResponse) Reset()
func (*UtxoEventsResponse) String ¶
func (x *UtxoEventsResponse) String() string
type UtxoId ¶
type UtxoId struct {
TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
func (*UtxoId) Descriptor
deprecated
func (*UtxoId) ProtoMessage ¶
func (*UtxoId) ProtoMessage()
func (*UtxoId) ProtoReflect ¶
func (x *UtxoId) ProtoReflect() protoreflect.Message
Directories
¶
| Path | Synopsis |
|---|---|
|
Package indexer subscribes to ledger block events and indexes Midnight-relevant transactions (cNIGHT creates/spends, mapping-validator registrations/deregistrations, Technical Committee / Council governance datums, Ariadne permissioned-candidate parameters, and committee-candidate UTxO snapshots) into the database.
|
Package indexer subscribes to ledger block events and indexes Midnight-relevant transactions (cNIGHT creates/spends, mapping-validator registrations/deregistrations, Technical Committee / Council governance datums, Ariadne permissioned-candidate parameters, and committee-candidate UTxO snapshots) into the database. |
|
Package server runs the MidnightState gRPC service.
|
Package server runs the MidnightState gRPC service. |