Documentation ¶
Index ¶
- Variables
- type Accepted
- type Bundle
- type BundleResult
- func (*BundleResult) Descriptor() ([]byte, []int)deprecated
- func (x *BundleResult) GetAccepted() *Accepted
- func (x *BundleResult) GetBundleId() string
- func (x *BundleResult) GetDropped() *Dropped
- func (x *BundleResult) GetFinalized() *Finalized
- func (x *BundleResult) GetProcessed() *Processed
- func (x *BundleResult) GetRejected() *Rejected
- func (m *BundleResult) GetResult() isBundleResult_Result
- func (*BundleResult) ProtoMessage()
- func (x *BundleResult) ProtoReflect() protoreflect.Message
- func (x *BundleResult) Reset()
- func (x *BundleResult) String() string
- type BundleResult_Accepted
- type BundleResult_Dropped
- type BundleResult_Finalized
- type BundleResult_Processed
- type BundleResult_Rejected
- type BundleUuid
- type Dropped
- type DroppedBundle
- type DroppedReason
- func (DroppedReason) Descriptor() protoreflect.EnumDescriptor
- func (x DroppedReason) Enum() *DroppedReason
- func (DroppedReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x DroppedReason) Number() protoreflect.EnumNumber
- func (x DroppedReason) String() string
- func (DroppedReason) Type() protoreflect.EnumType
- type Finalized
- type InternalError
- type Processed
- func (*Processed) Descriptor() ([]byte, []int)deprecated
- func (x *Processed) GetBundleIndex() uint64
- func (x *Processed) GetSlot() uint64
- func (x *Processed) GetValidatorIdentity() string
- func (*Processed) ProtoMessage()
- func (x *Processed) ProtoReflect() protoreflect.Message
- func (x *Processed) Reset()
- func (x *Processed) String() string
- type Rejected
- func (*Rejected) Descriptor() ([]byte, []int)deprecated
- func (x *Rejected) GetDroppedBundle() *DroppedBundle
- func (x *Rejected) GetInternalError() *InternalError
- func (m *Rejected) GetReason() isRejected_Reason
- func (x *Rejected) GetSimulationFailure() *SimulationFailure
- func (x *Rejected) GetStateAuctionBidRejected() *StateAuctionBidRejected
- func (x *Rejected) GetWinningBatchBidRejected() *WinningBatchBidRejected
- func (*Rejected) ProtoMessage()
- func (x *Rejected) ProtoReflect() protoreflect.Message
- func (x *Rejected) Reset()
- func (x *Rejected) String() string
- type Rejected_DroppedBundle
- type Rejected_InternalError
- type Rejected_SimulationFailure
- type Rejected_StateAuctionBidRejected
- type Rejected_WinningBatchBidRejected
- type SimulationFailure
- func (*SimulationFailure) Descriptor() ([]byte, []int)deprecated
- func (x *SimulationFailure) GetMsg() string
- func (x *SimulationFailure) GetTxSignature() string
- func (*SimulationFailure) ProtoMessage()
- func (x *SimulationFailure) ProtoReflect() protoreflect.Message
- func (x *SimulationFailure) Reset()
- func (x *SimulationFailure) String() string
- type StateAuctionBidRejected
- func (*StateAuctionBidRejected) Descriptor() ([]byte, []int)deprecated
- func (x *StateAuctionBidRejected) GetAuctionId() string
- func (x *StateAuctionBidRejected) GetMsg() string
- func (x *StateAuctionBidRejected) GetSimulatedBidLamports() uint64
- func (*StateAuctionBidRejected) ProtoMessage()
- func (x *StateAuctionBidRejected) ProtoReflect() protoreflect.Message
- func (x *StateAuctionBidRejected) Reset()
- func (x *StateAuctionBidRejected) String() string
- type WinningBatchBidRejected
- func (*WinningBatchBidRejected) Descriptor() ([]byte, []int)deprecated
- func (x *WinningBatchBidRejected) GetAuctionId() string
- func (x *WinningBatchBidRejected) GetMsg() string
- func (x *WinningBatchBidRejected) GetSimulatedBidLamports() uint64
- func (*WinningBatchBidRejected) ProtoMessage()
- func (x *WinningBatchBidRejected) ProtoReflect() protoreflect.Message
- func (x *WinningBatchBidRejected) Reset()
- func (x *WinningBatchBidRejected) String() string
Constants ¶
This section is empty.
Variables ¶
var ( DroppedReason_name = map[int32]string{ 0: "BlockhashExpired", 1: "PartiallyProcessed", 2: "NotFinalized", } DroppedReason_value = map[string]int32{ "BlockhashExpired": 0, "PartiallyProcessed": 1, "NotFinalized": 2, } )
Enum value maps for DroppedReason.
var File_bundle_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Accepted ¶
type Accepted struct { // Slot at which bundle was forwarded. Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // Validator identity bundle was forwarded to. ValidatorIdentity string `protobuf:"bytes,2,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"` // contains filtered or unexported fields }
Indicates the bundle was accepted and forwarded to a validator. NOTE: A single bundle may have multiple events emitted if forwarded to many validators.
func (*Accepted) Descriptor
deprecated
func (*Accepted) GetValidatorIdentity ¶
func (*Accepted) ProtoMessage ¶
func (*Accepted) ProtoMessage()
func (*Accepted) ProtoReflect ¶
func (x *Accepted) ProtoReflect() protoreflect.Message
type Bundle ¶
type Bundle struct { Header *shared.Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` Packets []*packet.Packet `protobuf:"bytes,3,rep,name=packets,proto3" json:"packets,omitempty"` // contains filtered or unexported fields }
func (*Bundle) Descriptor
deprecated
func (*Bundle) GetPackets ¶
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
func (*Bundle) ProtoReflect ¶
func (x *Bundle) ProtoReflect() protoreflect.Message
type BundleResult ¶
type BundleResult struct { // Bundle's Uuid. BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` // Types that are assignable to Result: // // *BundleResult_Accepted // *BundleResult_Rejected // *BundleResult_Finalized // *BundleResult_Processed // *BundleResult_Dropped Result isBundleResult_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*BundleResult) Descriptor
deprecated
func (*BundleResult) Descriptor() ([]byte, []int)
Deprecated: Use BundleResult.ProtoReflect.Descriptor instead.
func (*BundleResult) GetAccepted ¶
func (x *BundleResult) GetAccepted() *Accepted
func (*BundleResult) GetBundleId ¶
func (x *BundleResult) GetBundleId() string
func (*BundleResult) GetDropped ¶
func (x *BundleResult) GetDropped() *Dropped
func (*BundleResult) GetFinalized ¶
func (x *BundleResult) GetFinalized() *Finalized
func (*BundleResult) GetProcessed ¶
func (x *BundleResult) GetProcessed() *Processed
func (*BundleResult) GetRejected ¶
func (x *BundleResult) GetRejected() *Rejected
func (*BundleResult) GetResult ¶
func (m *BundleResult) GetResult() isBundleResult_Result
func (*BundleResult) ProtoMessage ¶
func (*BundleResult) ProtoMessage()
func (*BundleResult) ProtoReflect ¶
func (x *BundleResult) ProtoReflect() protoreflect.Message
func (*BundleResult) Reset ¶
func (x *BundleResult) Reset()
func (*BundleResult) String ¶
func (x *BundleResult) String() string
type BundleResult_Accepted ¶
type BundleResult_Accepted struct { // Indicated accepted by the block-engine and forwarded to a jito-solana validator. Accepted *Accepted `protobuf:"bytes,2,opt,name=accepted,proto3,oneof"` }
type BundleResult_Dropped ¶
type BundleResult_Dropped struct { // Was accepted and forwarded by the block-engine but never landed on-chain. Dropped *Dropped `protobuf:"bytes,6,opt,name=dropped,proto3,oneof"` }
type BundleResult_Finalized ¶
type BundleResult_Finalized struct { // Reached finalized commitment level. Finalized *Finalized `protobuf:"bytes,4,opt,name=finalized,proto3,oneof"` }
type BundleResult_Processed ¶
type BundleResult_Processed struct { // Reached a processed commitment level. Processed *Processed `protobuf:"bytes,5,opt,name=processed,proto3,oneof"` }
type BundleResult_Rejected ¶
type BundleResult_Rejected struct { // Rejected by the block-engine. Rejected *Rejected `protobuf:"bytes,3,opt,name=rejected,proto3,oneof"` }
type BundleUuid ¶
type BundleUuid struct { Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*BundleUuid) Descriptor
deprecated
func (*BundleUuid) Descriptor() ([]byte, []int)
Deprecated: Use BundleUuid.ProtoReflect.Descriptor instead.
func (*BundleUuid) GetBundle ¶
func (x *BundleUuid) GetBundle() *Bundle
func (*BundleUuid) GetUuid ¶
func (x *BundleUuid) GetUuid() string
func (*BundleUuid) ProtoMessage ¶
func (*BundleUuid) ProtoMessage()
func (*BundleUuid) ProtoReflect ¶
func (x *BundleUuid) ProtoReflect() protoreflect.Message
func (*BundleUuid) Reset ¶
func (x *BundleUuid) Reset()
func (*BundleUuid) String ¶
func (x *BundleUuid) String() string
type Dropped ¶
type Dropped struct { Reason DroppedReason `protobuf:"varint,1,opt,name=reason,proto3,enum=bundle.DroppedReason" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Dropped) Descriptor
deprecated
func (*Dropped) GetReason ¶
func (x *Dropped) GetReason() DroppedReason
func (*Dropped) ProtoMessage ¶
func (*Dropped) ProtoMessage()
func (*Dropped) ProtoReflect ¶
func (x *Dropped) ProtoReflect() protoreflect.Message
type DroppedBundle ¶
type DroppedBundle struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
Bundle dropped (e.g. because no leader upcoming)
func (*DroppedBundle) Descriptor
deprecated
func (*DroppedBundle) Descriptor() ([]byte, []int)
Deprecated: Use DroppedBundle.ProtoReflect.Descriptor instead.
func (*DroppedBundle) GetMsg ¶
func (x *DroppedBundle) GetMsg() string
func (*DroppedBundle) ProtoMessage ¶
func (*DroppedBundle) ProtoMessage()
func (*DroppedBundle) ProtoReflect ¶
func (x *DroppedBundle) ProtoReflect() protoreflect.Message
func (*DroppedBundle) Reset ¶
func (x *DroppedBundle) Reset()
func (*DroppedBundle) String ¶
func (x *DroppedBundle) String() string
type DroppedReason ¶
type DroppedReason int32
const ( DroppedReason_BlockhashExpired DroppedReason = 0 // One or more transactions in the bundle landed on-chain, invalidating the bundle. DroppedReason_PartiallyProcessed DroppedReason = 1 // This indicates bundle was processed but not finalized. This could occur during forks. DroppedReason_NotFinalized DroppedReason = 2 )
func (DroppedReason) Descriptor ¶
func (DroppedReason) Descriptor() protoreflect.EnumDescriptor
func (DroppedReason) Enum ¶
func (x DroppedReason) Enum() *DroppedReason
func (DroppedReason) EnumDescriptor
deprecated
func (DroppedReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use DroppedReason.Descriptor instead.
func (DroppedReason) Number ¶
func (x DroppedReason) Number() protoreflect.EnumNumber
func (DroppedReason) String ¶
func (x DroppedReason) String() string
func (DroppedReason) Type ¶
func (DroppedReason) Type() protoreflect.EnumType
type Finalized ¶
type Finalized struct {
// contains filtered or unexported fields
}
func (*Finalized) Descriptor
deprecated
func (*Finalized) ProtoMessage ¶
func (*Finalized) ProtoMessage()
func (*Finalized) ProtoReflect ¶
func (x *Finalized) ProtoReflect() protoreflect.Message
type InternalError ¶
type InternalError struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
Bundle dropped due to an internal error.
func (*InternalError) Descriptor
deprecated
func (*InternalError) Descriptor() ([]byte, []int)
Deprecated: Use InternalError.ProtoReflect.Descriptor instead.
func (*InternalError) GetMsg ¶
func (x *InternalError) GetMsg() string
func (*InternalError) ProtoMessage ¶
func (*InternalError) ProtoMessage()
func (*InternalError) ProtoReflect ¶
func (x *InternalError) ProtoReflect() protoreflect.Message
func (*InternalError) Reset ¶
func (x *InternalError) Reset()
func (*InternalError) String ¶
func (x *InternalError) String() string
type Processed ¶
type Processed struct { ValidatorIdentity string `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"` Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"` // / Index within the block. BundleIndex uint64 `protobuf:"varint,3,opt,name=bundle_index,json=bundleIndex,proto3" json:"bundle_index,omitempty"` // contains filtered or unexported fields }
func (*Processed) Descriptor
deprecated
func (*Processed) GetBundleIndex ¶
func (*Processed) GetValidatorIdentity ¶
func (*Processed) ProtoMessage ¶
func (*Processed) ProtoMessage()
func (*Processed) ProtoReflect ¶
func (x *Processed) ProtoReflect() protoreflect.Message
type Rejected ¶
type Rejected struct { // Types that are assignable to Reason: // // *Rejected_StateAuctionBidRejected // *Rejected_WinningBatchBidRejected // *Rejected_SimulationFailure // *Rejected_InternalError // *Rejected_DroppedBundle Reason isRejected_Reason `protobuf_oneof:"reason"` // contains filtered or unexported fields }
Indicates the bundle was dropped and therefore not forwarded to any validator.
func (*Rejected) Descriptor
deprecated
func (*Rejected) GetDroppedBundle ¶
func (x *Rejected) GetDroppedBundle() *DroppedBundle
func (*Rejected) GetInternalError ¶
func (x *Rejected) GetInternalError() *InternalError
func (*Rejected) GetSimulationFailure ¶
func (x *Rejected) GetSimulationFailure() *SimulationFailure
func (*Rejected) GetStateAuctionBidRejected ¶
func (x *Rejected) GetStateAuctionBidRejected() *StateAuctionBidRejected
func (*Rejected) GetWinningBatchBidRejected ¶
func (x *Rejected) GetWinningBatchBidRejected() *WinningBatchBidRejected
func (*Rejected) ProtoMessage ¶
func (*Rejected) ProtoMessage()
func (*Rejected) ProtoReflect ¶
func (x *Rejected) ProtoReflect() protoreflect.Message
type Rejected_DroppedBundle ¶
type Rejected_DroppedBundle struct {
DroppedBundle *DroppedBundle `protobuf:"bytes,5,opt,name=dropped_bundle,json=droppedBundle,proto3,oneof"`
}
type Rejected_InternalError ¶
type Rejected_InternalError struct {
InternalError *InternalError `protobuf:"bytes,4,opt,name=internal_error,json=internalError,proto3,oneof"`
}
type Rejected_SimulationFailure ¶
type Rejected_SimulationFailure struct {
SimulationFailure *SimulationFailure `protobuf:"bytes,3,opt,name=simulation_failure,json=simulationFailure,proto3,oneof"`
}
type Rejected_StateAuctionBidRejected ¶
type Rejected_StateAuctionBidRejected struct {
StateAuctionBidRejected *StateAuctionBidRejected `protobuf:"bytes,1,opt,name=state_auction_bid_rejected,json=stateAuctionBidRejected,proto3,oneof"`
}
type Rejected_WinningBatchBidRejected ¶
type Rejected_WinningBatchBidRejected struct {
WinningBatchBidRejected *WinningBatchBidRejected `protobuf:"bytes,2,opt,name=winning_batch_bid_rejected,json=winningBatchBidRejected,proto3,oneof"`
}
type SimulationFailure ¶
type SimulationFailure struct { // Signature of the offending transaction. TxSignature string `protobuf:"bytes,1,opt,name=tx_signature,json=txSignature,proto3" json:"tx_signature,omitempty"` Msg *string `protobuf:"bytes,2,opt,name=msg,proto3,oneof" json:"msg,omitempty"` // contains filtered or unexported fields }
Bundle dropped due to simulation failure.
func (*SimulationFailure) Descriptor
deprecated
func (*SimulationFailure) Descriptor() ([]byte, []int)
Deprecated: Use SimulationFailure.ProtoReflect.Descriptor instead.
func (*SimulationFailure) GetMsg ¶
func (x *SimulationFailure) GetMsg() string
func (*SimulationFailure) GetTxSignature ¶
func (x *SimulationFailure) GetTxSignature() string
func (*SimulationFailure) ProtoMessage ¶
func (*SimulationFailure) ProtoMessage()
func (*SimulationFailure) ProtoReflect ¶
func (x *SimulationFailure) ProtoReflect() protoreflect.Message
func (*SimulationFailure) Reset ¶
func (x *SimulationFailure) Reset()
func (*SimulationFailure) String ¶
func (x *SimulationFailure) String() string
type StateAuctionBidRejected ¶
type StateAuctionBidRejected struct { // Auction's unique identifier. AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // Bundle's simulated bid. SimulatedBidLamports uint64 `protobuf:"varint,2,opt,name=simulated_bid_lamports,json=simulatedBidLamports,proto3" json:"simulated_bid_lamports,omitempty"` Msg *string `protobuf:"bytes,3,opt,name=msg,proto3,oneof" json:"msg,omitempty"` // contains filtered or unexported fields }
Indicates the bundle's bid was __not__ high enough to be included in its state auction's set of winners.
func (*StateAuctionBidRejected) Descriptor
deprecated
func (*StateAuctionBidRejected) Descriptor() ([]byte, []int)
Deprecated: Use StateAuctionBidRejected.ProtoReflect.Descriptor instead.
func (*StateAuctionBidRejected) GetAuctionId ¶
func (x *StateAuctionBidRejected) GetAuctionId() string
func (*StateAuctionBidRejected) GetMsg ¶
func (x *StateAuctionBidRejected) GetMsg() string
func (*StateAuctionBidRejected) GetSimulatedBidLamports ¶
func (x *StateAuctionBidRejected) GetSimulatedBidLamports() uint64
func (*StateAuctionBidRejected) ProtoMessage ¶
func (*StateAuctionBidRejected) ProtoMessage()
func (*StateAuctionBidRejected) ProtoReflect ¶
func (x *StateAuctionBidRejected) ProtoReflect() protoreflect.Message
func (*StateAuctionBidRejected) Reset ¶
func (x *StateAuctionBidRejected) Reset()
func (*StateAuctionBidRejected) String ¶
func (x *StateAuctionBidRejected) String() string
type WinningBatchBidRejected ¶
type WinningBatchBidRejected struct { // Auction's unique identifier. AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // Bundle's simulated bid. SimulatedBidLamports uint64 `protobuf:"varint,2,opt,name=simulated_bid_lamports,json=simulatedBidLamports,proto3" json:"simulated_bid_lamports,omitempty"` Msg *string `protobuf:"bytes,3,opt,name=msg,proto3,oneof" json:"msg,omitempty"` // contains filtered or unexported fields }
Indicates the bundle's bid was high enough to win its state auction. However, not high enough relative to other state auction winners and therefore excluded from being forwarded.
func (*WinningBatchBidRejected) Descriptor
deprecated
func (*WinningBatchBidRejected) Descriptor() ([]byte, []int)
Deprecated: Use WinningBatchBidRejected.ProtoReflect.Descriptor instead.
func (*WinningBatchBidRejected) GetAuctionId ¶
func (x *WinningBatchBidRejected) GetAuctionId() string
func (*WinningBatchBidRejected) GetMsg ¶
func (x *WinningBatchBidRejected) GetMsg() string
func (*WinningBatchBidRejected) GetSimulatedBidLamports ¶
func (x *WinningBatchBidRejected) GetSimulatedBidLamports() uint64
func (*WinningBatchBidRejected) ProtoMessage ¶
func (*WinningBatchBidRejected) ProtoMessage()
func (*WinningBatchBidRejected) ProtoReflect ¶
func (x *WinningBatchBidRejected) ProtoReflect() protoreflect.Message
func (*WinningBatchBidRejected) Reset ¶
func (x *WinningBatchBidRejected) Reset()
func (*WinningBatchBidRejected) String ¶
func (x *WinningBatchBidRejected) String() string