mempoolpbtypes

package
v0.0.0-...-9727c61 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchIDResponse

type BatchIDResponse struct {
	BatchId types3.BatchID
	Origin  *RequestBatchIDOrigin
}

func BatchIDResponseFromPb

func BatchIDResponseFromPb(pb *mempoolpb.BatchIDResponse) *BatchIDResponse

func (*BatchIDResponse) MirReflect

func (*BatchIDResponse) MirReflect() mirreflect.Type

func (*BatchIDResponse) Pb

type BatchTimeout

type BatchTimeout struct {
	BatchReqID uint64
}

func BatchTimeoutFromPb

func BatchTimeoutFromPb(pb *mempoolpb.BatchTimeout) *BatchTimeout

func (*BatchTimeout) MirReflect

func (*BatchTimeout) MirReflect() mirreflect.Type

func (*BatchTimeout) Pb

type Event

type Event struct {
	Type Event_Type
}

func EventFromPb

func EventFromPb(pb *mempoolpb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

func (m *Event) Pb() *mempoolpb.Event

type Event_BatchIdResponse

type Event_BatchIdResponse struct {
	BatchIdResponse *BatchIDResponse
}

func (*Event_BatchIdResponse) MirReflect

func (*Event_BatchIdResponse) MirReflect() mirreflect.Type

func (*Event_BatchIdResponse) Pb

func (*Event_BatchIdResponse) Unwrap

type Event_BatchTimeout

type Event_BatchTimeout struct {
	BatchTimeout *BatchTimeout
}

func (*Event_BatchTimeout) MirReflect

func (*Event_BatchTimeout) MirReflect() mirreflect.Type

func (*Event_BatchTimeout) Pb

func (*Event_BatchTimeout) Unwrap

func (w *Event_BatchTimeout) Unwrap() *BatchTimeout

type Event_NewBatch

type Event_NewBatch struct {
	NewBatch *NewBatch
}

func (*Event_NewBatch) MirReflect

func (*Event_NewBatch) MirReflect() mirreflect.Type

func (*Event_NewBatch) Pb

func (*Event_NewBatch) Unwrap

func (w *Event_NewBatch) Unwrap() *NewBatch

type Event_NewEpoch

type Event_NewEpoch struct {
	NewEpoch *NewEpoch
}

func (*Event_NewEpoch) MirReflect

func (*Event_NewEpoch) MirReflect() mirreflect.Type

func (*Event_NewEpoch) Pb

func (*Event_NewEpoch) Unwrap

func (w *Event_NewEpoch) Unwrap() *NewEpoch

type Event_NewTransactions

type Event_NewTransactions struct {
	NewTransactions *NewTransactions
}

func (*Event_NewTransactions) MirReflect

func (*Event_NewTransactions) MirReflect() mirreflect.Type

func (*Event_NewTransactions) Pb

func (*Event_NewTransactions) Unwrap

type Event_RequestBatch

type Event_RequestBatch struct {
	RequestBatch *RequestBatch
}

func (*Event_RequestBatch) MirReflect

func (*Event_RequestBatch) MirReflect() mirreflect.Type

func (*Event_RequestBatch) Pb

func (*Event_RequestBatch) Unwrap

func (w *Event_RequestBatch) Unwrap() *RequestBatch

type Event_RequestBatchId

type Event_RequestBatchId struct {
	RequestBatchId *RequestBatchID
}

func (*Event_RequestBatchId) MirReflect

func (*Event_RequestBatchId) MirReflect() mirreflect.Type

func (*Event_RequestBatchId) Pb

func (*Event_RequestBatchId) Unwrap

func (w *Event_RequestBatchId) Unwrap() *RequestBatchID

type Event_RequestTransactionIds

type Event_RequestTransactionIds struct {
	RequestTransactionIds *RequestTransactionIDs
}

func (*Event_RequestTransactionIds) MirReflect

func (*Event_RequestTransactionIds) Pb

func (*Event_RequestTransactionIds) Unwrap

type Event_RequestTransactions

type Event_RequestTransactions struct {
	RequestTransactions *RequestTransactions
}

func (*Event_RequestTransactions) MirReflect

func (*Event_RequestTransactions) Pb

func (*Event_RequestTransactions) Unwrap

type Event_TransactionIdsResponse

type Event_TransactionIdsResponse struct {
	TransactionIdsResponse *TransactionIDsResponse
}

func (*Event_TransactionIdsResponse) MirReflect

func (*Event_TransactionIdsResponse) Pb

func (*Event_TransactionIdsResponse) Unwrap

type Event_TransactionsResponse

type Event_TransactionsResponse struct {
	TransactionsResponse *TransactionsResponse
}

func (*Event_TransactionsResponse) MirReflect

func (*Event_TransactionsResponse) Pb

func (*Event_TransactionsResponse) Unwrap

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

	Pb() mempoolpb.Event_Type
	// contains filtered or unexported methods
}

func Event_TypeFromPb

func Event_TypeFromPb(pb mempoolpb.Event_Type) Event_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type NewBatch

type NewBatch struct {
	TxIds  []types.TxID
	Txs    []*types1.Transaction
	Origin *RequestBatchOrigin
}

func NewBatchFromPb

func NewBatchFromPb(pb *mempoolpb.NewBatch) *NewBatch

func (*NewBatch) MirReflect

func (*NewBatch) MirReflect() mirreflect.Type

func (*NewBatch) Pb

func (m *NewBatch) Pb() *mempoolpb.NewBatch

type NewEpoch

type NewEpoch struct {
	EpochNr        types.EpochNr
	ClientProgress *types1.ClientProgress
}

func NewEpochFromPb

func NewEpochFromPb(pb *mempoolpb.NewEpoch) *NewEpoch

func (*NewEpoch) MirReflect

func (*NewEpoch) MirReflect() mirreflect.Type

func (*NewEpoch) Pb

func (m *NewEpoch) Pb() *mempoolpb.NewEpoch

type NewTransactions

type NewTransactions struct {
	Transactions []*types1.Transaction
}

func NewTransactionsFromPb

func NewTransactionsFromPb(pb *mempoolpb.NewTransactions) *NewTransactions

func (*NewTransactions) MirReflect

func (*NewTransactions) MirReflect() mirreflect.Type

func (*NewTransactions) Pb

type RequestBatch

type RequestBatch struct {
	Epoch  types.EpochNr
	Origin *RequestBatchOrigin
}

func RequestBatchFromPb

func RequestBatchFromPb(pb *mempoolpb.RequestBatch) *RequestBatch

func (*RequestBatch) MirReflect

func (*RequestBatch) MirReflect() mirreflect.Type

func (*RequestBatch) Pb

type RequestBatchID

type RequestBatchID struct {
	TxIds  []types.TxID
	Origin *RequestBatchIDOrigin
}

func RequestBatchIDFromPb

func RequestBatchIDFromPb(pb *mempoolpb.RequestBatchID) *RequestBatchID

func (*RequestBatchID) MirReflect

func (*RequestBatchID) MirReflect() mirreflect.Type

func (*RequestBatchID) Pb

type RequestBatchIDOrigin

type RequestBatchIDOrigin struct {
	Module stdtypes.ModuleID
	Type   RequestBatchIDOrigin_Type
}

func (*RequestBatchIDOrigin) MirReflect

func (*RequestBatchIDOrigin) MirReflect() mirreflect.Type

func (*RequestBatchIDOrigin) Pb

type RequestBatchIDOrigin_ContextStore

type RequestBatchIDOrigin_ContextStore struct {
	ContextStore *types4.Origin
}

func (*RequestBatchIDOrigin_ContextStore) MirReflect

func (*RequestBatchIDOrigin_ContextStore) Pb

func (*RequestBatchIDOrigin_ContextStore) Unwrap

type RequestBatchIDOrigin_Dsl

type RequestBatchIDOrigin_Dsl struct {
	Dsl *types5.Origin
}

func (*RequestBatchIDOrigin_Dsl) MirReflect

func (*RequestBatchIDOrigin_Dsl) Pb

func (*RequestBatchIDOrigin_Dsl) Unwrap

func (w *RequestBatchIDOrigin_Dsl) Unwrap() *types5.Origin

type RequestBatchIDOrigin_Type

type RequestBatchIDOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() mempoolpb.RequestBatchIDOrigin_Type
	// contains filtered or unexported methods
}

type RequestBatchIDOrigin_TypeWrapper

type RequestBatchIDOrigin_TypeWrapper[T any] interface {
	RequestBatchIDOrigin_Type
	Unwrap() *T
}

type RequestBatchOrigin

type RequestBatchOrigin struct {
	Module stdtypes.ModuleID
	Type   RequestBatchOrigin_Type
}

func (*RequestBatchOrigin) MirReflect

func (*RequestBatchOrigin) MirReflect() mirreflect.Type

func (*RequestBatchOrigin) Pb

type RequestBatchOrigin_ContextStore

type RequestBatchOrigin_ContextStore struct {
	ContextStore *types4.Origin
}

func (*RequestBatchOrigin_ContextStore) MirReflect

func (*RequestBatchOrigin_ContextStore) Pb

func (*RequestBatchOrigin_ContextStore) Unwrap

type RequestBatchOrigin_Dsl

type RequestBatchOrigin_Dsl struct {
	Dsl *types5.Origin
}

func (*RequestBatchOrigin_Dsl) MirReflect

func (*RequestBatchOrigin_Dsl) MirReflect() mirreflect.Type

func (*RequestBatchOrigin_Dsl) Pb

func (*RequestBatchOrigin_Dsl) Unwrap

func (w *RequestBatchOrigin_Dsl) Unwrap() *types5.Origin

type RequestBatchOrigin_Type

type RequestBatchOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() mempoolpb.RequestBatchOrigin_Type
	// contains filtered or unexported methods
}

type RequestBatchOrigin_TypeWrapper

type RequestBatchOrigin_TypeWrapper[T any] interface {
	RequestBatchOrigin_Type
	Unwrap() *T
}

type RequestTransactionIDs

type RequestTransactionIDs struct {
	Txs    []*types1.Transaction
	Origin *RequestTransactionIDsOrigin
}

func (*RequestTransactionIDs) MirReflect

func (*RequestTransactionIDs) MirReflect() mirreflect.Type

func (*RequestTransactionIDs) Pb

type RequestTransactionIDsOrigin

type RequestTransactionIDsOrigin struct {
	Module stdtypes.ModuleID
	Type   RequestTransactionIDsOrigin_Type
}

func (*RequestTransactionIDsOrigin) MirReflect

func (*RequestTransactionIDsOrigin) Pb

type RequestTransactionIDsOrigin_ContextStore

type RequestTransactionIDsOrigin_ContextStore struct {
	ContextStore *types4.Origin
}

func (*RequestTransactionIDsOrigin_ContextStore) MirReflect

func (*RequestTransactionIDsOrigin_ContextStore) Pb

func (*RequestTransactionIDsOrigin_ContextStore) Unwrap

type RequestTransactionIDsOrigin_Dsl

type RequestTransactionIDsOrigin_Dsl struct {
	Dsl *types5.Origin
}

func (*RequestTransactionIDsOrigin_Dsl) MirReflect

func (*RequestTransactionIDsOrigin_Dsl) Pb

func (*RequestTransactionIDsOrigin_Dsl) Unwrap

type RequestTransactionIDsOrigin_Type

type RequestTransactionIDsOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() mempoolpb.RequestTransactionIDsOrigin_Type
	// contains filtered or unexported methods
}

type RequestTransactionIDsOrigin_TypeWrapper

type RequestTransactionIDsOrigin_TypeWrapper[T any] interface {
	RequestTransactionIDsOrigin_Type
	Unwrap() *T
}

type RequestTransactions

type RequestTransactions struct {
	TxIds  []types.TxID
	Origin *RequestTransactionsOrigin
}

func (*RequestTransactions) MirReflect

func (*RequestTransactions) MirReflect() mirreflect.Type

func (*RequestTransactions) Pb

type RequestTransactionsOrigin

type RequestTransactionsOrigin struct {
	Module stdtypes.ModuleID
	Type   RequestTransactionsOrigin_Type
}

func (*RequestTransactionsOrigin) MirReflect

func (*RequestTransactionsOrigin) Pb

type RequestTransactionsOrigin_ContextStore

type RequestTransactionsOrigin_ContextStore struct {
	ContextStore *types4.Origin
}

func (*RequestTransactionsOrigin_ContextStore) MirReflect

func (*RequestTransactionsOrigin_ContextStore) Pb

func (*RequestTransactionsOrigin_ContextStore) Unwrap

type RequestTransactionsOrigin_Dsl

type RequestTransactionsOrigin_Dsl struct {
	Dsl *types5.Origin
}

func (*RequestTransactionsOrigin_Dsl) MirReflect

func (*RequestTransactionsOrigin_Dsl) Pb

func (*RequestTransactionsOrigin_Dsl) Unwrap

type RequestTransactionsOrigin_Type

type RequestTransactionsOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() mempoolpb.RequestTransactionsOrigin_Type
	// contains filtered or unexported methods
}

type RequestTransactionsOrigin_TypeWrapper

type RequestTransactionsOrigin_TypeWrapper[T any] interface {
	RequestTransactionsOrigin_Type
	Unwrap() *T
}

type TransactionIDsResponse

type TransactionIDsResponse struct {
	TxIds  []types.TxID
	Origin *RequestTransactionIDsOrigin
}

func (*TransactionIDsResponse) MirReflect

func (*TransactionIDsResponse) MirReflect() mirreflect.Type

func (*TransactionIDsResponse) Pb

type TransactionsResponse

type TransactionsResponse struct {
	FoundIds   []types.TxID
	FoundTxs   []*types1.Transaction
	MissingIds []types.TxID
	Origin     *RequestTransactionsOrigin
}

func (*TransactionsResponse) MirReflect

func (*TransactionsResponse) MirReflect() mirreflect.Type

func (*TransactionsResponse) Pb

Jump to

Keyboard shortcuts

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