midnight

package
v0.65.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var File_midnight_proto_midnight_state_proto protoreflect.FileDescriptor
View Source
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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBlockHash

func (x *Block) GetBlockHash() []byte

func (*Block) GetBlockNumber

func (x *Block) GetBlockNumber() uint32

func (*Block) GetBlockTimestampUnix

func (x *Block) GetBlockTimestampUnix() uint64

func (*Block) GetEpochNumber

func (x *Block) GetEpochNumber() uint32

func (*Block) GetSlotNumber

func (x *Block) GetSlotNumber() uint64

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

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 (*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.

type MidnightStateServer

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 (*TechnicalCommitteeDatumRequest) Reset

func (x *TechnicalCommitteeDatumRequest) Reset()

func (*TechnicalCommitteeDatumRequest) 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 (*TechnicalCommitteeDatumResponse) Reset

func (*TechnicalCommitteeDatumResponse) 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) GetAssetCreates

func (UnimplementedMidnightStateServer) GetAssetSpends

func (UnimplementedMidnightStateServer) GetBlockByHash

func (UnimplementedMidnightStateServer) GetCouncilDatum

func (UnimplementedMidnightStateServer) GetDeregistrations

func (UnimplementedMidnightStateServer) GetEpochCandidates

func (UnimplementedMidnightStateServer) GetEpochNonce

func (UnimplementedMidnightStateServer) GetLatestBlock

func (UnimplementedMidnightStateServer) GetLatestStableBlock

func (UnimplementedMidnightStateServer) GetRegistrations

func (UnimplementedMidnightStateServer) GetStableBlock

func (UnimplementedMidnightStateServer) GetUtxoEvents

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) Descriptor() ([]byte, []int)

Deprecated: Use UtxoEvent.ProtoReflect.Descriptor instead.

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) GetKind

func (x *UtxoEvent) GetKind() isUtxoEvent_Kind

func (*UtxoEvent) GetRegistration

func (x *UtxoEvent) GetRegistration() *Registration

func (*UtxoEvent) ProtoMessage

func (*UtxoEvent) ProtoMessage()

func (*UtxoEvent) ProtoReflect

func (x *UtxoEvent) ProtoReflect() protoreflect.Message

func (*UtxoEvent) Reset

func (x *UtxoEvent) Reset()

func (*UtxoEvent) String

func (x *UtxoEvent) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UtxoId.ProtoReflect.Descriptor instead.

func (*UtxoId) GetIndex

func (x *UtxoId) GetIndex() uint32

func (*UtxoId) GetTxHash

func (x *UtxoId) GetTxHash() []byte

func (*UtxoId) ProtoMessage

func (*UtxoId) ProtoMessage()

func (*UtxoId) ProtoReflect

func (x *UtxoId) ProtoReflect() protoreflect.Message

func (*UtxoId) Reset

func (x *UtxoId) Reset()

func (*UtxoId) String

func (x *UtxoId) String() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL