pb

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_tbtc_gen_pb_message_proto protoreflect.FileDescriptor
View Source
var File_pkg_tbtc_gen_pb_wallet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CoordinationMessage

type CoordinationMessage struct {
	SenderID            uint32                `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	CoordinationBlock   uint64                `protobuf:"varint,2,opt,name=coordinationBlock,proto3" json:"coordinationBlock,omitempty"`
	WalletPublicKeyHash []byte                `protobuf:"bytes,3,opt,name=walletPublicKeyHash,proto3" json:"walletPublicKeyHash,omitempty"`
	Proposal            *CoordinationProposal `protobuf:"bytes,4,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// contains filtered or unexported fields
}

func (*CoordinationMessage) Descriptor deprecated

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

Deprecated: Use CoordinationMessage.ProtoReflect.Descriptor instead.

func (*CoordinationMessage) GetCoordinationBlock

func (x *CoordinationMessage) GetCoordinationBlock() uint64

func (*CoordinationMessage) GetProposal

func (x *CoordinationMessage) GetProposal() *CoordinationProposal

func (*CoordinationMessage) GetSenderID

func (x *CoordinationMessage) GetSenderID() uint32

func (*CoordinationMessage) GetWalletPublicKeyHash

func (x *CoordinationMessage) GetWalletPublicKeyHash() []byte

func (*CoordinationMessage) ProtoMessage

func (*CoordinationMessage) ProtoMessage()

func (*CoordinationMessage) ProtoReflect

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

func (*CoordinationMessage) Reset

func (x *CoordinationMessage) Reset()

func (*CoordinationMessage) String

func (x *CoordinationMessage) String() string

type CoordinationProposal

type CoordinationProposal struct {
	ActionType uint32 `protobuf:"varint,1,opt,name=actionType,proto3" json:"actionType,omitempty"`
	Payload    []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*CoordinationProposal) Descriptor deprecated

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

Deprecated: Use CoordinationProposal.ProtoReflect.Descriptor instead.

func (*CoordinationProposal) GetActionType

func (x *CoordinationProposal) GetActionType() uint32

func (*CoordinationProposal) GetPayload

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

func (*CoordinationProposal) ProtoMessage

func (*CoordinationProposal) ProtoMessage()

func (*CoordinationProposal) ProtoReflect

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

func (*CoordinationProposal) Reset

func (x *CoordinationProposal) Reset()

func (*CoordinationProposal) String

func (x *CoordinationProposal) String() string

type DepositSweepProposal

type DepositSweepProposal struct {
	DepositsKeys         []*DepositSweepProposal_DepositKey `protobuf:"bytes,1,rep,name=depositsKeys,proto3" json:"depositsKeys,omitempty"`
	SweepTxFee           []byte                             `protobuf:"bytes,2,opt,name=sweepTxFee,proto3" json:"sweepTxFee,omitempty"`
	DepositsRevealBlocks []uint64                           `protobuf:"varint,3,rep,packed,name=depositsRevealBlocks,proto3" json:"depositsRevealBlocks,omitempty"`
	// contains filtered or unexported fields
}

func (*DepositSweepProposal) Descriptor deprecated

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

Deprecated: Use DepositSweepProposal.ProtoReflect.Descriptor instead.

func (*DepositSweepProposal) GetDepositsKeys

func (x *DepositSweepProposal) GetDepositsKeys() []*DepositSweepProposal_DepositKey

func (*DepositSweepProposal) GetDepositsRevealBlocks

func (x *DepositSweepProposal) GetDepositsRevealBlocks() []uint64

func (*DepositSweepProposal) GetSweepTxFee

func (x *DepositSweepProposal) GetSweepTxFee() []byte

func (*DepositSweepProposal) ProtoMessage

func (*DepositSweepProposal) ProtoMessage()

func (*DepositSweepProposal) ProtoReflect

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

func (*DepositSweepProposal) Reset

func (x *DepositSweepProposal) Reset()

func (*DepositSweepProposal) String

func (x *DepositSweepProposal) String() string

type DepositSweepProposal_DepositKey

type DepositSweepProposal_DepositKey struct {
	FundingTxHash      []byte `protobuf:"bytes,1,opt,name=fundingTxHash,proto3" json:"fundingTxHash,omitempty"`
	FundingOutputIndex uint32 `protobuf:"varint,2,opt,name=fundingOutputIndex,proto3" json:"fundingOutputIndex,omitempty"`
	// contains filtered or unexported fields
}

func (*DepositSweepProposal_DepositKey) Descriptor deprecated

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

Deprecated: Use DepositSweepProposal_DepositKey.ProtoReflect.Descriptor instead.

func (*DepositSweepProposal_DepositKey) GetFundingOutputIndex

func (x *DepositSweepProposal_DepositKey) GetFundingOutputIndex() uint32

func (*DepositSweepProposal_DepositKey) GetFundingTxHash

func (x *DepositSweepProposal_DepositKey) GetFundingTxHash() []byte

func (*DepositSweepProposal_DepositKey) ProtoMessage

func (*DepositSweepProposal_DepositKey) ProtoMessage()

func (*DepositSweepProposal_DepositKey) ProtoReflect

func (*DepositSweepProposal_DepositKey) Reset

func (*DepositSweepProposal_DepositKey) String

type HeartbeatProposal

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

func (*HeartbeatProposal) Descriptor deprecated

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

Deprecated: Use HeartbeatProposal.ProtoReflect.Descriptor instead.

func (*HeartbeatProposal) GetMessage

func (x *HeartbeatProposal) GetMessage() []byte

func (*HeartbeatProposal) ProtoMessage

func (*HeartbeatProposal) ProtoMessage()

func (*HeartbeatProposal) ProtoReflect

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

func (*HeartbeatProposal) Reset

func (x *HeartbeatProposal) Reset()

func (*HeartbeatProposal) String

func (x *HeartbeatProposal) String() string

type RedemptionProposal

type RedemptionProposal struct {
	RedeemersOutputScripts [][]byte `protobuf:"bytes,1,rep,name=redeemersOutputScripts,proto3" json:"redeemersOutputScripts,omitempty"`
	RedemptionTxFee        []byte   `protobuf:"bytes,2,opt,name=redemptionTxFee,proto3" json:"redemptionTxFee,omitempty"`
	// contains filtered or unexported fields
}

func (*RedemptionProposal) Descriptor deprecated

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

Deprecated: Use RedemptionProposal.ProtoReflect.Descriptor instead.

func (*RedemptionProposal) GetRedeemersOutputScripts

func (x *RedemptionProposal) GetRedeemersOutputScripts() [][]byte

func (*RedemptionProposal) GetRedemptionTxFee

func (x *RedemptionProposal) GetRedemptionTxFee() []byte

func (*RedemptionProposal) ProtoMessage

func (*RedemptionProposal) ProtoMessage()

func (*RedemptionProposal) ProtoReflect

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

func (*RedemptionProposal) Reset

func (x *RedemptionProposal) Reset()

func (*RedemptionProposal) String

func (x *RedemptionProposal) String() string

type Signer

type Signer struct {
	Wallet                  *Wallet `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"`
	SigningGroupMemberIndex uint32  `protobuf:"varint,2,opt,name=signingGroupMemberIndex,proto3" json:"signingGroupMemberIndex,omitempty"`
	PrivateKeyShare         []byte  `protobuf:"bytes,3,opt,name=privateKeyShare,proto3" json:"privateKeyShare,omitempty"`
	// contains filtered or unexported fields
}

func (*Signer) Descriptor deprecated

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

Deprecated: Use Signer.ProtoReflect.Descriptor instead.

func (*Signer) GetPrivateKeyShare

func (x *Signer) GetPrivateKeyShare() []byte

func (*Signer) GetSigningGroupMemberIndex

func (x *Signer) GetSigningGroupMemberIndex() uint32

func (*Signer) GetWallet

func (x *Signer) GetWallet() *Wallet

func (*Signer) ProtoMessage

func (*Signer) ProtoMessage()

func (*Signer) ProtoReflect

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

func (*Signer) Reset

func (x *Signer) Reset()

func (*Signer) String

func (x *Signer) String() string

type SigningDoneMessage

type SigningDoneMessage struct {
	SenderID      uint32 `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	Message       []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	AttemptNumber uint64 `protobuf:"varint,3,opt,name=attemptNumber,proto3" json:"attemptNumber,omitempty"`
	Signature     []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	EndBlock      uint64 `protobuf:"varint,5,opt,name=endBlock,proto3" json:"endBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*SigningDoneMessage) Descriptor deprecated

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

Deprecated: Use SigningDoneMessage.ProtoReflect.Descriptor instead.

func (*SigningDoneMessage) GetAttemptNumber

func (x *SigningDoneMessage) GetAttemptNumber() uint64

func (*SigningDoneMessage) GetEndBlock

func (x *SigningDoneMessage) GetEndBlock() uint64

func (*SigningDoneMessage) GetMessage

func (x *SigningDoneMessage) GetMessage() []byte

func (*SigningDoneMessage) GetSenderID

func (x *SigningDoneMessage) GetSenderID() uint32

func (*SigningDoneMessage) GetSignature

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

func (*SigningDoneMessage) ProtoMessage

func (*SigningDoneMessage) ProtoMessage()

func (*SigningDoneMessage) ProtoReflect

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

func (*SigningDoneMessage) Reset

func (x *SigningDoneMessage) Reset()

func (*SigningDoneMessage) String

func (x *SigningDoneMessage) String() string

type Wallet

type Wallet struct {
	PublicKey             []byte   `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	SigningGroupOperators []string `protobuf:"bytes,2,rep,name=signingGroupOperators,proto3" json:"signingGroupOperators,omitempty"`
	// contains filtered or unexported fields
}

func (*Wallet) Descriptor deprecated

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

Deprecated: Use Wallet.ProtoReflect.Descriptor instead.

func (*Wallet) GetPublicKey

func (x *Wallet) GetPublicKey() []byte

func (*Wallet) GetSigningGroupOperators

func (x *Wallet) GetSigningGroupOperators() []string

func (*Wallet) ProtoMessage

func (*Wallet) ProtoMessage()

func (*Wallet) ProtoReflect

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

func (*Wallet) Reset

func (x *Wallet) Reset()

func (*Wallet) String

func (x *Wallet) String() string

Jump to

Keyboard shortcuts

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