mempoolpbtypes

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 9 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 []uint8
	Origin  *RequestBatchIDOrigin
}

func BatchIDResponseFromPb

func BatchIDResponseFromPb(pb *mempoolpb.BatchIDResponse) *BatchIDResponse

func (*BatchIDResponse) MirReflect

func (*BatchIDResponse) MirReflect() mirreflect.Type

func (*BatchIDResponse) 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_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_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  [][]uint8
	Txs    []*types.Request
	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 RequestBatch

type RequestBatch struct {
	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  [][]uint8
	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 types2.ModuleID
	Type   RequestBatchIDOrigin_Type
}

func (*RequestBatchIDOrigin) MirReflect

func (*RequestBatchIDOrigin) MirReflect() mirreflect.Type

func (*RequestBatchIDOrigin) Pb

type RequestBatchIDOrigin_ContextStore

type RequestBatchIDOrigin_ContextStore struct {
	ContextStore *types3.Origin
}

func (*RequestBatchIDOrigin_ContextStore) MirReflect

func (*RequestBatchIDOrigin_ContextStore) Pb

func (*RequestBatchIDOrigin_ContextStore) Unwrap

type RequestBatchIDOrigin_Dsl

type RequestBatchIDOrigin_Dsl struct {
	Dsl *types4.Origin
}

func (*RequestBatchIDOrigin_Dsl) MirReflect

func (*RequestBatchIDOrigin_Dsl) Pb

func (*RequestBatchIDOrigin_Dsl) Unwrap

func (w *RequestBatchIDOrigin_Dsl) Unwrap() *types4.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 types2.ModuleID
	Type   RequestBatchOrigin_Type
}

func (*RequestBatchOrigin) MirReflect

func (*RequestBatchOrigin) MirReflect() mirreflect.Type

func (*RequestBatchOrigin) Pb

type RequestBatchOrigin_ContextStore

type RequestBatchOrigin_ContextStore struct {
	ContextStore *types3.Origin
}

func (*RequestBatchOrigin_ContextStore) MirReflect

func (*RequestBatchOrigin_ContextStore) Pb

func (*RequestBatchOrigin_ContextStore) Unwrap

type RequestBatchOrigin_Dsl

type RequestBatchOrigin_Dsl struct {
	Dsl *types4.Origin
}

func (*RequestBatchOrigin_Dsl) MirReflect

func (*RequestBatchOrigin_Dsl) MirReflect() mirreflect.Type

func (*RequestBatchOrigin_Dsl) Pb

func (*RequestBatchOrigin_Dsl) Unwrap

func (w *RequestBatchOrigin_Dsl) Unwrap() *types4.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    []*types.Request
	Origin *RequestTransactionIDsOrigin
}

func (*RequestTransactionIDs) MirReflect

func (*RequestTransactionIDs) MirReflect() mirreflect.Type

func (*RequestTransactionIDs) Pb

type RequestTransactionIDsOrigin

type RequestTransactionIDsOrigin struct {
	Module types2.ModuleID
	Type   RequestTransactionIDsOrigin_Type
}

func (*RequestTransactionIDsOrigin) MirReflect

func (*RequestTransactionIDsOrigin) Pb

type RequestTransactionIDsOrigin_ContextStore

type RequestTransactionIDsOrigin_ContextStore struct {
	ContextStore *types3.Origin
}

func (*RequestTransactionIDsOrigin_ContextStore) MirReflect

func (*RequestTransactionIDsOrigin_ContextStore) Pb

func (*RequestTransactionIDsOrigin_ContextStore) Unwrap

type RequestTransactionIDsOrigin_Dsl

type RequestTransactionIDsOrigin_Dsl struct {
	Dsl *types4.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  [][]uint8
	Origin *RequestTransactionsOrigin
}

func (*RequestTransactions) MirReflect

func (*RequestTransactions) MirReflect() mirreflect.Type

func (*RequestTransactions) Pb

type RequestTransactionsOrigin

type RequestTransactionsOrigin struct {
	Module types2.ModuleID
	Type   RequestTransactionsOrigin_Type
}

func (*RequestTransactionsOrigin) MirReflect

func (*RequestTransactionsOrigin) Pb

type RequestTransactionsOrigin_ContextStore

type RequestTransactionsOrigin_ContextStore struct {
	ContextStore *types3.Origin
}

func (*RequestTransactionsOrigin_ContextStore) MirReflect

func (*RequestTransactionsOrigin_ContextStore) Pb

func (*RequestTransactionsOrigin_ContextStore) Unwrap

type RequestTransactionsOrigin_Dsl

type RequestTransactionsOrigin_Dsl struct {
	Dsl *types4.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  [][]uint8
	Origin *RequestTransactionIDsOrigin
}

func (*TransactionIDsResponse) MirReflect

func (*TransactionIDsResponse) MirReflect() mirreflect.Type

func (*TransactionIDsResponse) Pb

type TransactionsResponse

type TransactionsResponse struct {
	Present []bool
	Txs     []*types.Request
	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