pow

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_koinos_contracts_pow_pow_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DifficultyMetadata

type DifficultyMetadata struct {
	Target              []byte `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	LastBlockTime       uint64 `protobuf:"varint,2,opt,name=last_block_time,json=lastBlockTime,proto3" json:"last_block_time,omitempty"`
	Difficulty          []byte `protobuf:"bytes,3,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	TargetBlockInterval uint64 `protobuf:"varint,4,opt,name=target_block_interval,json=targetBlockInterval,proto3" json:"target_block_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*DifficultyMetadata) Descriptor deprecated

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

Deprecated: Use DifficultyMetadata.ProtoReflect.Descriptor instead.

func (*DifficultyMetadata) GetDifficulty

func (x *DifficultyMetadata) GetDifficulty() []byte

func (*DifficultyMetadata) GetLastBlockTime

func (x *DifficultyMetadata) GetLastBlockTime() uint64

func (*DifficultyMetadata) GetTarget

func (x *DifficultyMetadata) GetTarget() []byte

func (*DifficultyMetadata) GetTargetBlockInterval

func (x *DifficultyMetadata) GetTargetBlockInterval() uint64

func (*DifficultyMetadata) ProtoMessage

func (*DifficultyMetadata) ProtoMessage()

func (*DifficultyMetadata) ProtoReflect

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

func (*DifficultyMetadata) Reset

func (x *DifficultyMetadata) Reset()

func (*DifficultyMetadata) String

func (x *DifficultyMetadata) String() string

type GetDifficultyMetadataArguments

type GetDifficultyMetadataArguments struct {
	// contains filtered or unexported fields
}

func (*GetDifficultyMetadataArguments) Descriptor deprecated

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

Deprecated: Use GetDifficultyMetadataArguments.ProtoReflect.Descriptor instead.

func (*GetDifficultyMetadataArguments) ProtoMessage

func (*GetDifficultyMetadataArguments) ProtoMessage()

func (*GetDifficultyMetadataArguments) ProtoReflect

func (*GetDifficultyMetadataArguments) Reset

func (x *GetDifficultyMetadataArguments) Reset()

func (*GetDifficultyMetadataArguments) String

type GetDifficultyMetadataResult

type GetDifficultyMetadataResult struct {
	Value *DifficultyMetadata `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDifficultyMetadataResult) Descriptor deprecated

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

Deprecated: Use GetDifficultyMetadataResult.ProtoReflect.Descriptor instead.

func (*GetDifficultyMetadataResult) GetValue

func (*GetDifficultyMetadataResult) ProtoMessage

func (*GetDifficultyMetadataResult) ProtoMessage()

func (*GetDifficultyMetadataResult) ProtoReflect

func (*GetDifficultyMetadataResult) Reset

func (x *GetDifficultyMetadataResult) Reset()

func (*GetDifficultyMetadataResult) String

func (x *GetDifficultyMetadataResult) String() string

type PowSignatureData

type PowSignatureData struct {
	Nonce                []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	RecoverableSignature []byte `protobuf:"bytes,2,opt,name=recoverable_signature,json=recoverableSignature,proto3" json:"recoverable_signature,omitempty"`
	// contains filtered or unexported fields
}

func (*PowSignatureData) Descriptor deprecated

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

Deprecated: Use PowSignatureData.ProtoReflect.Descriptor instead.

func (*PowSignatureData) GetNonce

func (x *PowSignatureData) GetNonce() []byte

func (*PowSignatureData) GetRecoverableSignature

func (x *PowSignatureData) GetRecoverableSignature() []byte

func (*PowSignatureData) ProtoMessage

func (*PowSignatureData) ProtoMessage()

func (*PowSignatureData) ProtoReflect

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

func (*PowSignatureData) Reset

func (x *PowSignatureData) Reset()

func (*PowSignatureData) String

func (x *PowSignatureData) String() string

Jump to

Keyboard shortcuts

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