Documentation ¶
Index ¶
- Variables
- type DifficultyMetadata
- func (*DifficultyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DifficultyMetadata) GetDifficulty() []byte
- func (x *DifficultyMetadata) GetLastBlockTime() uint64
- func (x *DifficultyMetadata) GetTarget() []byte
- func (x *DifficultyMetadata) GetTargetBlockInterval() uint64
- func (*DifficultyMetadata) ProtoMessage()
- func (x *DifficultyMetadata) ProtoReflect() protoreflect.Message
- func (x *DifficultyMetadata) Reset()
- func (x *DifficultyMetadata) String() string
- type GetDifficultyMetadataArguments
- func (*GetDifficultyMetadataArguments) Descriptor() ([]byte, []int)deprecated
- func (*GetDifficultyMetadataArguments) ProtoMessage()
- func (x *GetDifficultyMetadataArguments) ProtoReflect() protoreflect.Message
- func (x *GetDifficultyMetadataArguments) Reset()
- func (x *GetDifficultyMetadataArguments) String() string
- type GetDifficultyMetadataResult
- func (*GetDifficultyMetadataResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetDifficultyMetadataResult) GetValue() *DifficultyMetadata
- func (*GetDifficultyMetadataResult) ProtoMessage()
- func (x *GetDifficultyMetadataResult) ProtoReflect() protoreflect.Message
- func (x *GetDifficultyMetadataResult) Reset()
- func (x *GetDifficultyMetadataResult) String() string
- type PowSignatureData
- func (*PowSignatureData) Descriptor() ([]byte, []int)deprecated
- func (x *PowSignatureData) GetNonce() []byte
- func (x *PowSignatureData) GetRecoverableSignature() []byte
- func (*PowSignatureData) ProtoMessage()
- func (x *PowSignatureData) ProtoReflect() protoreflect.Message
- func (x *PowSignatureData) Reset()
- func (x *PowSignatureData) String() string
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 (x *GetDifficultyMetadataArguments) ProtoReflect() protoreflect.Message
func (*GetDifficultyMetadataArguments) Reset ¶
func (x *GetDifficultyMetadataArguments) Reset()
func (*GetDifficultyMetadataArguments) String ¶
func (x *GetDifficultyMetadataArguments) String() 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 (x *GetDifficultyMetadataResult) GetValue() *DifficultyMetadata
func (*GetDifficultyMetadataResult) ProtoMessage ¶
func (*GetDifficultyMetadataResult) ProtoMessage()
func (*GetDifficultyMetadataResult) ProtoReflect ¶
func (x *GetDifficultyMetadataResult) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.