transactioncompiler

package
v0.0.0-...-916ecc0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_TransactionCompiler_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PreSigningOutput

type PreSigningOutput struct {

	/// Pre-image data hash that will be used for signing
	DataHash []byte `protobuf:"bytes,1,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
	/// Pre-image data
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	/// error code, 0 is ok, other codes will be treated as errors
	Error common.SigningError `protobuf:"varint,3,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"`
	/// error code description
	ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

/ Transaction pre-signing output

func (*PreSigningOutput) Descriptor deprecated

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

Deprecated: Use PreSigningOutput.ProtoReflect.Descriptor instead.

func (*PreSigningOutput) GetData

func (x *PreSigningOutput) GetData() []byte

func (*PreSigningOutput) GetDataHash

func (x *PreSigningOutput) GetDataHash() []byte

func (*PreSigningOutput) GetError

func (x *PreSigningOutput) GetError() common.SigningError

func (*PreSigningOutput) GetErrorMessage

func (x *PreSigningOutput) GetErrorMessage() string

func (*PreSigningOutput) ProtoMessage

func (*PreSigningOutput) ProtoMessage()

func (*PreSigningOutput) ProtoReflect

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

func (*PreSigningOutput) Reset

func (x *PreSigningOutput) Reset()

func (*PreSigningOutput) String

func (x *PreSigningOutput) String() string

Jump to

Keyboard shortcuts

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