koinos

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: 5 Imported by: 4

Documentation

Index

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
const (
	BytesType_BASE64         BytesType = 0
	BytesType_BASE58         BytesType = 1
	BytesType_HEX            BytesType = 2
	BytesType_BLOCK_ID       BytesType = 3
	BytesType_TRANSACTION_ID BytesType = 4
	BytesType_CONTRACT_ID    BytesType = 5
	BytesType_ADDRESS        BytesType = 6
)

func (BytesType) Descriptor

func (BytesType) Descriptor() protoreflect.EnumDescriptor

func (BytesType) Enum

func (x BytesType) Enum() *BytesType

func (BytesType) EnumDescriptor deprecated

func (BytesType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BytesType.Descriptor instead.

func (BytesType) Number

func (x BytesType) Number() protoreflect.EnumNumber

func (BytesType) String

func (x BytesType) String() string

func (BytesType) Type

Jump to

Keyboard shortcuts

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