broadcast

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_koinos_broadcast_broadcast_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlockAccepted

type BlockAccepted struct {
	Block   *protocol.Block        `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Receipt *protocol.BlockReceipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	Live    bool                   `protobuf:"varint,3,opt,name=live,proto3" json:"live,omitempty"`
	Head    bool                   `protobuf:"varint,4,opt,name=head,proto3" json:"head,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockAccepted) Descriptor deprecated

func (*BlockAccepted) Descriptor() ([]byte, []int)

Deprecated: Use BlockAccepted.ProtoReflect.Descriptor instead.

func (*BlockAccepted) GetBlock

func (x *BlockAccepted) GetBlock() *protocol.Block

func (*BlockAccepted) GetHead

func (x *BlockAccepted) GetHead() bool

func (*BlockAccepted) GetLive

func (x *BlockAccepted) GetLive() bool

func (*BlockAccepted) GetReceipt

func (x *BlockAccepted) GetReceipt() *protocol.BlockReceipt

func (*BlockAccepted) ProtoMessage

func (*BlockAccepted) ProtoMessage()

func (*BlockAccepted) ProtoReflect

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

func (*BlockAccepted) Reset

func (x *BlockAccepted) Reset()

func (*BlockAccepted) String

func (x *BlockAccepted) String() string

type BlockIrreversible

type BlockIrreversible struct {
	Topology *koinos.BlockTopology `protobuf:"bytes,1,opt,name=topology,proto3" json:"topology,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockIrreversible) Descriptor deprecated

func (*BlockIrreversible) Descriptor() ([]byte, []int)

Deprecated: Use BlockIrreversible.ProtoReflect.Descriptor instead.

func (*BlockIrreversible) GetTopology

func (x *BlockIrreversible) GetTopology() *koinos.BlockTopology

func (*BlockIrreversible) ProtoMessage

func (*BlockIrreversible) ProtoMessage()

func (*BlockIrreversible) ProtoReflect

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

func (*BlockIrreversible) Reset

func (x *BlockIrreversible) Reset()

func (*BlockIrreversible) String

func (x *BlockIrreversible) String() string

type EventParcel

type EventParcel struct {
	BlockId       []byte              `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	Height        uint64              `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	TransactionId []byte              `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3,oneof" json:"transaction_id,omitempty"`
	Event         *protocol.EventData `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*EventParcel) Descriptor deprecated

func (*EventParcel) Descriptor() ([]byte, []int)

Deprecated: Use EventParcel.ProtoReflect.Descriptor instead.

func (*EventParcel) GetBlockId

func (x *EventParcel) GetBlockId() []byte

func (*EventParcel) GetEvent

func (x *EventParcel) GetEvent() *protocol.EventData

func (*EventParcel) GetHeight

func (x *EventParcel) GetHeight() uint64

func (*EventParcel) GetTransactionId

func (x *EventParcel) GetTransactionId() []byte

func (*EventParcel) ProtoMessage

func (*EventParcel) ProtoMessage()

func (*EventParcel) ProtoReflect

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

func (*EventParcel) Reset

func (x *EventParcel) Reset()

func (*EventParcel) String

func (x *EventParcel) String() string

type ForkHeads

type ForkHeads struct {
	LastIrreversibleBlock *koinos.BlockTopology   `` /* 126-byte string literal not displayed */
	Heads                 []*koinos.BlockTopology `protobuf:"bytes,2,rep,name=heads,proto3" json:"heads,omitempty"`
	// contains filtered or unexported fields
}

func (*ForkHeads) Descriptor deprecated

func (*ForkHeads) Descriptor() ([]byte, []int)

Deprecated: Use ForkHeads.ProtoReflect.Descriptor instead.

func (*ForkHeads) GetHeads

func (x *ForkHeads) GetHeads() []*koinos.BlockTopology

func (*ForkHeads) GetLastIrreversibleBlock

func (x *ForkHeads) GetLastIrreversibleBlock() *koinos.BlockTopology

func (*ForkHeads) ProtoMessage

func (*ForkHeads) ProtoMessage()

func (*ForkHeads) ProtoReflect

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

func (*ForkHeads) Reset

func (x *ForkHeads) Reset()

func (*ForkHeads) String

func (x *ForkHeads) String() string

type GossipStatus

type GossipStatus struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipStatus) Descriptor deprecated

func (*GossipStatus) Descriptor() ([]byte, []int)

Deprecated: Use GossipStatus.ProtoReflect.Descriptor instead.

func (*GossipStatus) GetEnabled

func (x *GossipStatus) GetEnabled() bool

func (*GossipStatus) ProtoMessage

func (*GossipStatus) ProtoMessage()

func (*GossipStatus) ProtoReflect

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

func (*GossipStatus) Reset

func (x *GossipStatus) Reset()

func (*GossipStatus) String

func (x *GossipStatus) String() string

type MempoolAccepted

type MempoolAccepted struct {
	Transaction   *protocol.Transaction        `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Receipt       *protocol.TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	Height        uint64                       `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	PendingRcUsed uint64                       `protobuf:"varint,4,opt,name=pending_rc_used,json=pendingRcUsed,proto3" json:"pending_rc_used,omitempty"`
	// contains filtered or unexported fields
}

func (*MempoolAccepted) Descriptor deprecated

func (*MempoolAccepted) Descriptor() ([]byte, []int)

Deprecated: Use MempoolAccepted.ProtoReflect.Descriptor instead.

func (*MempoolAccepted) GetHeight

func (x *MempoolAccepted) GetHeight() uint64

func (*MempoolAccepted) GetPendingRcUsed

func (x *MempoolAccepted) GetPendingRcUsed() uint64

func (*MempoolAccepted) GetReceipt

func (x *MempoolAccepted) GetReceipt() *protocol.TransactionReceipt

func (*MempoolAccepted) GetTransaction

func (x *MempoolAccepted) GetTransaction() *protocol.Transaction

func (*MempoolAccepted) ProtoMessage

func (*MempoolAccepted) ProtoMessage()

func (*MempoolAccepted) ProtoReflect

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

func (*MempoolAccepted) Reset

func (x *MempoolAccepted) Reset()

func (*MempoolAccepted) String

func (x *MempoolAccepted) String() string

type TransactionAccepted

type TransactionAccepted struct {
	Transaction *protocol.Transaction        `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Receipt     *protocol.TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	Height      uint64                       `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionAccepted) Descriptor deprecated

func (*TransactionAccepted) Descriptor() ([]byte, []int)

Deprecated: Use TransactionAccepted.ProtoReflect.Descriptor instead.

func (*TransactionAccepted) GetHeight

func (x *TransactionAccepted) GetHeight() uint64

func (*TransactionAccepted) GetReceipt

func (*TransactionAccepted) GetTransaction

func (x *TransactionAccepted) GetTransaction() *protocol.Transaction

func (*TransactionAccepted) ProtoMessage

func (*TransactionAccepted) ProtoMessage()

func (*TransactionAccepted) ProtoReflect

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

func (*TransactionAccepted) Reset

func (x *TransactionAccepted) Reset()

func (*TransactionAccepted) String

func (x *TransactionAccepted) String() string

type TransactionFailed

type TransactionFailed struct {
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionFailed) Descriptor deprecated

func (*TransactionFailed) Descriptor() ([]byte, []int)

Deprecated: Use TransactionFailed.ProtoReflect.Descriptor instead.

func (*TransactionFailed) GetId

func (x *TransactionFailed) GetId() []byte

func (*TransactionFailed) ProtoMessage

func (*TransactionFailed) ProtoMessage()

func (*TransactionFailed) ProtoReflect

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

func (*TransactionFailed) Reset

func (x *TransactionFailed) Reset()

func (*TransactionFailed) String

func (x *TransactionFailed) String() string

Jump to

Keyboard shortcuts

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