protoserialization

package
v0.0.0-...-86cabe3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wallet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Outpoint

type Outpoint struct {
	TransactionId *TransactionId `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	Index         uint32         `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*Outpoint) Descriptor deprecated

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

Deprecated: Use Outpoint.ProtoReflect.Descriptor instead.

func (*Outpoint) GetIndex

func (x *Outpoint) GetIndex() uint32

func (*Outpoint) GetTransactionId

func (x *Outpoint) GetTransactionId() *TransactionId

func (*Outpoint) ProtoMessage

func (*Outpoint) ProtoMessage()

func (*Outpoint) ProtoReflect

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

func (*Outpoint) Reset

func (x *Outpoint) Reset()

func (*Outpoint) String

func (x *Outpoint) String() string

type PartiallySignedInput

type PartiallySignedInput struct {
	RedeemScript         []byte                 `protobuf:"bytes,1,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"`
	PrevOutput           *TransactionOutput     `protobuf:"bytes,2,opt,name=prevOutput,proto3" json:"prevOutput,omitempty"`
	MinimumSignatures    uint32                 `protobuf:"varint,3,opt,name=minimumSignatures,proto3" json:"minimumSignatures,omitempty"`
	PubKeySignaturePairs []*PubKeySignaturePair `protobuf:"bytes,4,rep,name=pubKeySignaturePairs,proto3" json:"pubKeySignaturePairs,omitempty"`
	DerivationPath       string                 `protobuf:"bytes,5,opt,name=derivationPath,proto3" json:"derivationPath,omitempty"`
	// contains filtered or unexported fields
}

func (*PartiallySignedInput) Descriptor deprecated

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

Deprecated: Use PartiallySignedInput.ProtoReflect.Descriptor instead.

func (*PartiallySignedInput) GetDerivationPath

func (x *PartiallySignedInput) GetDerivationPath() string

func (*PartiallySignedInput) GetMinimumSignatures

func (x *PartiallySignedInput) GetMinimumSignatures() uint32

func (*PartiallySignedInput) GetPrevOutput

func (x *PartiallySignedInput) GetPrevOutput() *TransactionOutput

func (*PartiallySignedInput) GetPubKeySignaturePairs

func (x *PartiallySignedInput) GetPubKeySignaturePairs() []*PubKeySignaturePair

func (*PartiallySignedInput) GetRedeemScript

func (x *PartiallySignedInput) GetRedeemScript() []byte

func (*PartiallySignedInput) ProtoMessage

func (*PartiallySignedInput) ProtoMessage()

func (*PartiallySignedInput) ProtoReflect

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

func (*PartiallySignedInput) Reset

func (x *PartiallySignedInput) Reset()

func (*PartiallySignedInput) String

func (x *PartiallySignedInput) String() string

type PartiallySignedTransaction

type PartiallySignedTransaction struct {
	Tx                    *TransactionMessage     `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	PartiallySignedInputs []*PartiallySignedInput `protobuf:"bytes,2,rep,name=partiallySignedInputs,proto3" json:"partiallySignedInputs,omitempty"`
	// contains filtered or unexported fields
}

func (*PartiallySignedTransaction) Descriptor deprecated

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

Deprecated: Use PartiallySignedTransaction.ProtoReflect.Descriptor instead.

func (*PartiallySignedTransaction) GetPartiallySignedInputs

func (x *PartiallySignedTransaction) GetPartiallySignedInputs() []*PartiallySignedInput

func (*PartiallySignedTransaction) GetTx

func (*PartiallySignedTransaction) ProtoMessage

func (*PartiallySignedTransaction) ProtoMessage()

func (*PartiallySignedTransaction) ProtoReflect

func (*PartiallySignedTransaction) Reset

func (x *PartiallySignedTransaction) Reset()

func (*PartiallySignedTransaction) String

func (x *PartiallySignedTransaction) String() string

type PubKeySignaturePair

type PubKeySignaturePair struct {
	ExtendedPubKey string `protobuf:"bytes,1,opt,name=extendedPubKey,proto3" json:"extendedPubKey,omitempty"`
	Signature      []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*PubKeySignaturePair) Descriptor deprecated

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

Deprecated: Use PubKeySignaturePair.ProtoReflect.Descriptor instead.

func (*PubKeySignaturePair) GetExtendedPubKey

func (x *PubKeySignaturePair) GetExtendedPubKey() string

func (*PubKeySignaturePair) GetSignature

func (x *PubKeySignaturePair) GetSignature() []byte

func (*PubKeySignaturePair) ProtoMessage

func (*PubKeySignaturePair) ProtoMessage()

func (*PubKeySignaturePair) ProtoReflect

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

func (*PubKeySignaturePair) Reset

func (x *PubKeySignaturePair) Reset()

func (*PubKeySignaturePair) String

func (x *PubKeySignaturePair) String() string

type ScriptPublicKey

type ScriptPublicKey struct {
	Script  []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptPublicKey) Descriptor deprecated

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

Deprecated: Use ScriptPublicKey.ProtoReflect.Descriptor instead.

func (*ScriptPublicKey) GetScript

func (x *ScriptPublicKey) GetScript() []byte

func (*ScriptPublicKey) GetVersion

func (x *ScriptPublicKey) GetVersion() uint32

func (*ScriptPublicKey) ProtoMessage

func (*ScriptPublicKey) ProtoMessage()

func (*ScriptPublicKey) ProtoReflect

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

func (*ScriptPublicKey) Reset

func (x *ScriptPublicKey) Reset()

func (*ScriptPublicKey) String

func (x *ScriptPublicKey) String() string

type SubnetworkId

type SubnetworkId struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SubnetworkId) Descriptor deprecated

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

Deprecated: Use SubnetworkId.ProtoReflect.Descriptor instead.

func (*SubnetworkId) GetBytes

func (x *SubnetworkId) GetBytes() []byte

func (*SubnetworkId) ProtoMessage

func (*SubnetworkId) ProtoMessage()

func (*SubnetworkId) ProtoReflect

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

func (*SubnetworkId) Reset

func (x *SubnetworkId) Reset()

func (*SubnetworkId) String

func (x *SubnetworkId) String() string

type TransactionId

type TransactionId struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionId) Descriptor deprecated

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

Deprecated: Use TransactionId.ProtoReflect.Descriptor instead.

func (*TransactionId) GetBytes

func (x *TransactionId) GetBytes() []byte

func (*TransactionId) ProtoMessage

func (*TransactionId) ProtoMessage()

func (*TransactionId) ProtoReflect

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

func (*TransactionId) Reset

func (x *TransactionId) Reset()

func (*TransactionId) String

func (x *TransactionId) String() string

type TransactionInput

type TransactionInput struct {
	PreviousOutpoint *Outpoint `protobuf:"bytes,1,opt,name=previousOutpoint,proto3" json:"previousOutpoint,omitempty"`
	SignatureScript  []byte    `protobuf:"bytes,2,opt,name=signatureScript,proto3" json:"signatureScript,omitempty"`
	Sequence         uint64    `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	SigOpCount       uint32    `protobuf:"varint,4,opt,name=sigOpCount,proto3" json:"sigOpCount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInput) Descriptor deprecated

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

Deprecated: Use TransactionInput.ProtoReflect.Descriptor instead.

func (*TransactionInput) GetPreviousOutpoint

func (x *TransactionInput) GetPreviousOutpoint() *Outpoint

func (*TransactionInput) GetSequence

func (x *TransactionInput) GetSequence() uint64

func (*TransactionInput) GetSigOpCount

func (x *TransactionInput) GetSigOpCount() uint32

func (*TransactionInput) GetSignatureScript

func (x *TransactionInput) GetSignatureScript() []byte

func (*TransactionInput) ProtoMessage

func (*TransactionInput) ProtoMessage()

func (*TransactionInput) ProtoReflect

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

func (*TransactionInput) Reset

func (x *TransactionInput) Reset()

func (*TransactionInput) String

func (x *TransactionInput) String() string

type TransactionMessage

type TransactionMessage struct {
	Version      uint32               `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Inputs       []*TransactionInput  `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs      []*TransactionOutput `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	LockTime     uint64               `protobuf:"varint,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"`
	SubnetworkId *SubnetworkId        `protobuf:"bytes,5,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"`
	Gas          uint64               `protobuf:"varint,6,opt,name=gas,proto3" json:"gas,omitempty"`
	Payload      []byte               `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionMessage) Descriptor deprecated

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

Deprecated: Use TransactionMessage.ProtoReflect.Descriptor instead.

func (*TransactionMessage) GetGas

func (x *TransactionMessage) GetGas() uint64

func (*TransactionMessage) GetInputs

func (x *TransactionMessage) GetInputs() []*TransactionInput

func (*TransactionMessage) GetLockTime

func (x *TransactionMessage) GetLockTime() uint64

func (*TransactionMessage) GetOutputs

func (x *TransactionMessage) GetOutputs() []*TransactionOutput

func (*TransactionMessage) GetPayload

func (x *TransactionMessage) GetPayload() []byte

func (*TransactionMessage) GetSubnetworkId

func (x *TransactionMessage) GetSubnetworkId() *SubnetworkId

func (*TransactionMessage) GetVersion

func (x *TransactionMessage) GetVersion() uint32

func (*TransactionMessage) ProtoMessage

func (*TransactionMessage) ProtoMessage()

func (*TransactionMessage) ProtoReflect

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

func (*TransactionMessage) Reset

func (x *TransactionMessage) Reset()

func (*TransactionMessage) String

func (x *TransactionMessage) String() string

type TransactionOutput

type TransactionOutput struct {
	Value           uint64           `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	ScriptPublicKey *ScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionOutput) Descriptor deprecated

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

Deprecated: Use TransactionOutput.ProtoReflect.Descriptor instead.

func (*TransactionOutput) GetScriptPublicKey

func (x *TransactionOutput) GetScriptPublicKey() *ScriptPublicKey

func (*TransactionOutput) GetValue

func (x *TransactionOutput) GetValue() uint64

func (*TransactionOutput) ProtoMessage

func (*TransactionOutput) ProtoMessage()

func (*TransactionOutput) ProtoReflect

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

func (*TransactionOutput) Reset

func (x *TransactionOutput) Reset()

func (*TransactionOutput) String

func (x *TransactionOutput) String() string

Jump to

Keyboard shortcuts

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