Documentation ¶
Index ¶
- Variables
- type BlockTopology
- func (*BlockTopology) Descriptor() ([]byte, []int)deprecated
- func (x *BlockTopology) GetHeight() uint64
- func (x *BlockTopology) GetId() []byte
- func (x *BlockTopology) GetPrevious() []byte
- func (*BlockTopology) ProtoMessage()
- func (x *BlockTopology) ProtoReflect() protoreflect.Message
- func (x *BlockTopology) Reset()
- func (x *BlockTopology) String() string
- type BytesType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BytesType_name = map[int32]string{ 0: "BASE64", 1: "BASE58", 2: "HEX", 3: "BLOCK_ID", 4: "TRANSACTION_ID", 5: "CONTRACT_ID", 6: "ADDRESS", } BytesType_value = map[string]int32{ "BASE64": 0, "BASE58": 1, "HEX": 2, "BLOCK_ID": 3, "TRANSACTION_ID": 4, "CONTRACT_ID": 5, "ADDRESS": 6, } )
Enum value maps for BytesType.
View Source
var (
// optional koinos.bytes_type btype = 50000;
E_Btype = &file_koinos_options_proto_extTypes[0]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_koinos_common_proto protoreflect.FileDescriptor
View Source
var File_koinos_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockTopology ¶
type BlockTopology struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Previous []byte `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"` // contains filtered or unexported fields }
func (*BlockTopology) Descriptor
deprecated
func (*BlockTopology) Descriptor() ([]byte, []int)
Deprecated: Use BlockTopology.ProtoReflect.Descriptor instead.
func (*BlockTopology) GetHeight ¶
func (x *BlockTopology) GetHeight() uint64
func (*BlockTopology) GetId ¶
func (x *BlockTopology) GetId() []byte
func (*BlockTopology) GetPrevious ¶
func (x *BlockTopology) GetPrevious() []byte
func (*BlockTopology) ProtoMessage ¶
func (*BlockTopology) ProtoMessage()
func (*BlockTopology) ProtoReflect ¶
func (x *BlockTopology) ProtoReflect() protoreflect.Message
func (*BlockTopology) Reset ¶
func (x *BlockTopology) Reset()
func (*BlockTopology) String ¶
func (x *BlockTopology) String() string
type BytesType ¶
type BytesType int32
func (BytesType) Descriptor ¶
func (BytesType) Descriptor() protoreflect.EnumDescriptor
func (BytesType) EnumDescriptor
deprecated
func (BytesType) Number ¶
func (x BytesType) Number() protoreflect.EnumNumber
func (BytesType) Type ¶
func (BytesType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.