mirror of
https://github.com/muun/recovery.git
synced 2025-11-13 15:21:37 -05:00
Release 2.2.3
This commit is contained in:
72
vendor/github.com/muun/libwallet/bip70.pb.go
generated
vendored
72
vendor/github.com/muun/libwallet/bip70.pb.go
generated
vendored
@@ -8,21 +8,17 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0-devel
|
||||
// protoc v3.7.0
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc v3.21.6
|
||||
// source: bip70.proto
|
||||
|
||||
package libwallet
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
//TODO: the following lint rule will disappear when this file is re-generated. We need to upgrade.
|
||||
//lint:ignore SA1019 this library is now located in a different repository
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -32,10 +28,6 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||
// of the legacy proto package is being used.
|
||||
const _ = proto.ProtoPackageIsVersion4
|
||||
|
||||
// Generalized form of "send payment to this/these bitcoin addresses"
|
||||
type Output struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -78,6 +70,13 @@ func (*Output) Descriptor() ([]byte, []int) {
|
||||
return file_bip70_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *Output) GetAmount() uint64 {
|
||||
if x != nil {
|
||||
return x.Amount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type PaymentDetails struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -124,6 +123,27 @@ func (*PaymentDetails) Descriptor() ([]byte, []int) {
|
||||
return file_bip70_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *PaymentDetails) GetOutputs() []*Output {
|
||||
if x != nil {
|
||||
return x.Outputs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *PaymentDetails) GetTime() uint64 {
|
||||
if x != nil {
|
||||
return x.Time
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *PaymentDetails) GetExpires() uint64 {
|
||||
if x != nil {
|
||||
return x.Expires
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type PaymentRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -168,6 +188,13 @@ func (*PaymentRequest) Descriptor() ([]byte, []int) {
|
||||
return file_bip70_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *PaymentRequest) GetPaymentDetailsVersion() uint32 {
|
||||
if x != nil {
|
||||
return x.PaymentDetailsVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type X509Certificates struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -208,6 +235,13 @@ func (*X509Certificates) Descriptor() ([]byte, []int) {
|
||||
return file_bip70_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *X509Certificates) GetCertificate() [][]byte {
|
||||
if x != nil {
|
||||
return x.Certificate
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type Payment struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -251,6 +285,20 @@ func (*Payment) Descriptor() ([]byte, []int) {
|
||||
return file_bip70_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *Payment) GetTransactions() [][]byte {
|
||||
if x != nil {
|
||||
return x.Transactions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Payment) GetRefundTo() []*Output {
|
||||
if x != nil {
|
||||
return x.RefundTo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type PaymentACK struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
||||
Reference in New Issue
Block a user