lnrpc: upgrade to protobuf v1.3.1
This commit upgrades the protobuf version. Compared to the previous v1.2.0 it generates smaller diffs in generated code. This change was introduced in: https://github.com/golang/protobuf/commit/fffb0f78287ac709b1395be9708df0b579a385f7
This commit is contained in:
10 files changed
+3035
-3461
No files matched your search
+154
-148
@@ -1,16 +1,15 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: walletrpc/walletkit.proto
|
||||
|
||||
package walletrpc // import "github.com/lightningnetwork/lnd/lnrpc/walletrpc"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc"
|
||||
package walletrpc
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -22,17 +21,17 @@ var _ = math.Inf
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
type KeyReq struct {
|
||||
// *
|
||||
// Is the key finger print of the root pubkey that this request is targeting.
|
||||
// This allows the WalletKit to possibly serve out keys for multiple HD chains
|
||||
// via public derivation.
|
||||
//*
|
||||
//Is the key finger print of the root pubkey that this request is targeting.
|
||||
//This allows the WalletKit to possibly serve out keys for multiple HD chains
|
||||
//via public derivation.
|
||||
KeyFingerPrint int32 `protobuf:"varint,1,opt,name=key_finger_print,json=keyFingerPrint,proto3" json:"key_finger_print,omitempty"`
|
||||
// *
|
||||
// The target key family to derive a key from. In other contexts, this is
|
||||
// known as the "account".
|
||||
//*
|
||||
//The target key family to derive a key from. In other contexts, this is
|
||||
//known as the "account".
|
||||
KeyFamily int32 `protobuf:"varint,2,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -43,16 +42,17 @@ func (m *KeyReq) Reset() { *m = KeyReq{} }
|
||||
func (m *KeyReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*KeyReq) ProtoMessage() {}
|
||||
func (*KeyReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{0}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{0}
|
||||
}
|
||||
|
||||
func (m *KeyReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_KeyReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *KeyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_KeyReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *KeyReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_KeyReq.Merge(dst, src)
|
||||
func (m *KeyReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_KeyReq.Merge(m, src)
|
||||
}
|
||||
func (m *KeyReq) XXX_Size() int {
|
||||
return xxx_messageInfo_KeyReq.Size(m)
|
||||
@@ -87,16 +87,17 @@ func (m *AddrRequest) Reset() { *m = AddrRequest{} }
|
||||
func (m *AddrRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AddrRequest) ProtoMessage() {}
|
||||
func (*AddrRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{1}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{1}
|
||||
}
|
||||
|
||||
func (m *AddrRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AddrRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AddrRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AddrRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AddrRequest.Merge(dst, src)
|
||||
func (m *AddrRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AddrRequest.Merge(m, src)
|
||||
}
|
||||
func (m *AddrRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_AddrRequest.Size(m)
|
||||
@@ -108,8 +109,8 @@ func (m *AddrRequest) XXX_DiscardUnknown() {
|
||||
var xxx_messageInfo_AddrRequest proto.InternalMessageInfo
|
||||
|
||||
type AddrResponse struct {
|
||||
// *
|
||||
// The address encoded using a bech32 format.
|
||||
//*
|
||||
//The address encoded using a bech32 format.
|
||||
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -120,16 +121,17 @@ func (m *AddrResponse) Reset() { *m = AddrResponse{} }
|
||||
func (m *AddrResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AddrResponse) ProtoMessage() {}
|
||||
func (*AddrResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{2}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{2}
|
||||
}
|
||||
|
||||
func (m *AddrResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AddrResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AddrResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AddrResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AddrResponse.Merge(dst, src)
|
||||
func (m *AddrResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AddrResponse.Merge(m, src)
|
||||
}
|
||||
func (m *AddrResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_AddrResponse.Size(m)
|
||||
@@ -148,8 +150,8 @@ func (m *AddrResponse) GetAddr() string {
|
||||
}
|
||||
|
||||
type Transaction struct {
|
||||
// *
|
||||
// The raw serialized transaction.
|
||||
//*
|
||||
//The raw serialized transaction.
|
||||
TxHex []byte `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -160,16 +162,17 @@ func (m *Transaction) Reset() { *m = Transaction{} }
|
||||
func (m *Transaction) String() string { return proto.CompactTextString(m) }
|
||||
func (*Transaction) ProtoMessage() {}
|
||||
func (*Transaction) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{3}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{3}
|
||||
}
|
||||
|
||||
func (m *Transaction) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Transaction.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Transaction.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Transaction) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Transaction.Merge(dst, src)
|
||||
func (m *Transaction) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Transaction.Merge(m, src)
|
||||
}
|
||||
func (m *Transaction) XXX_Size() int {
|
||||
return xxx_messageInfo_Transaction.Size(m)
|
||||
@@ -188,12 +191,12 @@ func (m *Transaction) GetTxHex() []byte {
|
||||
}
|
||||
|
||||
type PublishResponse struct {
|
||||
// *
|
||||
// If blank, then no error occurred and the transaction was successfully
|
||||
// published. If not the empty string, then a string representation of the
|
||||
// broadcast error.
|
||||
//*
|
||||
//If blank, then no error occurred and the transaction was successfully
|
||||
//published. If not the empty string, then a string representation of the
|
||||
//broadcast error.
|
||||
//
|
||||
// TODO(roasbeef): map to a proper enum type
|
||||
//TODO(roasbeef): map to a proper enum type
|
||||
PublishError string `protobuf:"bytes,1,opt,name=publish_error,json=publishError,proto3" json:"publish_error,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -204,16 +207,17 @@ func (m *PublishResponse) Reset() { *m = PublishResponse{} }
|
||||
func (m *PublishResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*PublishResponse) ProtoMessage() {}
|
||||
func (*PublishResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{4}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{4}
|
||||
}
|
||||
|
||||
func (m *PublishResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PublishResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PublishResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *PublishResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PublishResponse.Merge(dst, src)
|
||||
func (m *PublishResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PublishResponse.Merge(m, src)
|
||||
}
|
||||
func (m *PublishResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_PublishResponse.Size(m)
|
||||
@@ -232,12 +236,12 @@ func (m *PublishResponse) GetPublishError() string {
|
||||
}
|
||||
|
||||
type SendOutputsRequest struct {
|
||||
// *
|
||||
// The number of satoshis per kilo weight that should be used when crafting
|
||||
// this transaction.
|
||||
//*
|
||||
//The number of satoshis per kilo weight that should be used when crafting
|
||||
//this transaction.
|
||||
SatPerKw int64 `protobuf:"varint,1,opt,name=sat_per_kw,json=satPerKw,proto3" json:"sat_per_kw,omitempty"`
|
||||
// *
|
||||
// A slice of the outputs that should be created in the transaction produced.
|
||||
//*
|
||||
//A slice of the outputs that should be created in the transaction produced.
|
||||
Outputs []*signrpc.TxOut `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -248,16 +252,17 @@ func (m *SendOutputsRequest) Reset() { *m = SendOutputsRequest{} }
|
||||
func (m *SendOutputsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SendOutputsRequest) ProtoMessage() {}
|
||||
func (*SendOutputsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{5}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{5}
|
||||
}
|
||||
|
||||
func (m *SendOutputsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SendOutputsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SendOutputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SendOutputsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SendOutputsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SendOutputsRequest.Merge(dst, src)
|
||||
func (m *SendOutputsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SendOutputsRequest.Merge(m, src)
|
||||
}
|
||||
func (m *SendOutputsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_SendOutputsRequest.Size(m)
|
||||
@@ -283,8 +288,8 @@ func (m *SendOutputsRequest) GetOutputs() []*signrpc.TxOut {
|
||||
}
|
||||
|
||||
type SendOutputsResponse struct {
|
||||
// *
|
||||
// The serialized transaction sent out on the network.
|
||||
//*
|
||||
//The serialized transaction sent out on the network.
|
||||
RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -295,16 +300,17 @@ func (m *SendOutputsResponse) Reset() { *m = SendOutputsResponse{} }
|
||||
func (m *SendOutputsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SendOutputsResponse) ProtoMessage() {}
|
||||
func (*SendOutputsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{6}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{6}
|
||||
}
|
||||
|
||||
func (m *SendOutputsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SendOutputsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SendOutputsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SendOutputsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SendOutputsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SendOutputsResponse.Merge(dst, src)
|
||||
func (m *SendOutputsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SendOutputsResponse.Merge(m, src)
|
||||
}
|
||||
func (m *SendOutputsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_SendOutputsResponse.Size(m)
|
||||
@@ -323,8 +329,8 @@ func (m *SendOutputsResponse) GetRawTx() []byte {
|
||||
}
|
||||
|
||||
type EstimateFeeRequest struct {
|
||||
// *
|
||||
// The number of confirmations to shoot for when estimating the fee.
|
||||
//*
|
||||
//The number of confirmations to shoot for when estimating the fee.
|
||||
ConfTarget int32 `protobuf:"varint,1,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -335,16 +341,17 @@ func (m *EstimateFeeRequest) Reset() { *m = EstimateFeeRequest{} }
|
||||
func (m *EstimateFeeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*EstimateFeeRequest) ProtoMessage() {}
|
||||
func (*EstimateFeeRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{7}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{7}
|
||||
}
|
||||
|
||||
func (m *EstimateFeeRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EstimateFeeRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EstimateFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EstimateFeeRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *EstimateFeeRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EstimateFeeRequest.Merge(dst, src)
|
||||
func (m *EstimateFeeRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EstimateFeeRequest.Merge(m, src)
|
||||
}
|
||||
func (m *EstimateFeeRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_EstimateFeeRequest.Size(m)
|
||||
@@ -363,9 +370,9 @@ func (m *EstimateFeeRequest) GetConfTarget() int32 {
|
||||
}
|
||||
|
||||
type EstimateFeeResponse struct {
|
||||
// *
|
||||
// The amount of satoshis per kw that should be used in order to reach the
|
||||
// confirmation target in the request.
|
||||
//*
|
||||
//The amount of satoshis per kw that should be used in order to reach the
|
||||
//confirmation target in the request.
|
||||
SatPerKw int64 `protobuf:"varint,1,opt,name=sat_per_kw,json=satPerKw,proto3" json:"sat_per_kw,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -376,16 +383,17 @@ func (m *EstimateFeeResponse) Reset() { *m = EstimateFeeResponse{} }
|
||||
func (m *EstimateFeeResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*EstimateFeeResponse) ProtoMessage() {}
|
||||
func (*EstimateFeeResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_walletkit_ca4e27c2068154e3, []int{8}
|
||||
return fileDescriptor_6cc6942ac78249e5, []int{8}
|
||||
}
|
||||
|
||||
func (m *EstimateFeeResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EstimateFeeResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EstimateFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EstimateFeeResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *EstimateFeeResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EstimateFeeResponse.Merge(dst, src)
|
||||
func (m *EstimateFeeResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EstimateFeeResponse.Merge(m, src)
|
||||
}
|
||||
func (m *EstimateFeeResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_EstimateFeeResponse.Size(m)
|
||||
@@ -415,6 +423,45 @@ func init() {
|
||||
proto.RegisterType((*EstimateFeeResponse)(nil), "walletrpc.EstimateFeeResponse")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("walletrpc/walletkit.proto", fileDescriptor_6cc6942ac78249e5) }
|
||||
|
||||
var fileDescriptor_6cc6942ac78249e5 = []byte{
|
||||
// 524 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x5d, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0xd5, 0x56, 0x56, 0xd6, 0xdb, 0x76, 0x80, 0xcb, 0x46, 0x89, 0x18, 0x4c, 0x81, 0x87, 0x3e,
|
||||
0xa0, 0x54, 0x6c, 0x02, 0x21, 0x78, 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, 0x7a, 0x81, 0xa9, 0xf9, 0x0e, 0x1e, 0x8c, 0xe3, 0x69, 0x20, 0xa2, 0xd9, 0x4a,
|
||||
0xec, 0x25, 0x74, 0xc3, 0x12, 0x72, 0x50, 0x6b, 0xb5, 0x54, 0xed, 0x54, 0xe0, 0x59, 0x8e, 0x99,
|
||||
0x3f, 0x81, 0x7d, 0x43, 0xe9, 0x5d, 0xc5, 0x14, 0xc6, 0x14, 0x55, 0x7d, 0xb1, 0x67, 0x00, 0x11,
|
||||
0x27, 0x27, 0x44, 0xed, 0xcc, 0x93, 0xa2, 0xae, 0x61, 0xef, 0x46, 0x9c, 0xc6, 0xa8, 0x47, 0x09,
|
||||
0x1b, 0xc0, 0x7d, 0x55, 0xf2, 0xfb, 0xdb, 0x47, 0x8d, 0x41, 0xfb, 0x78, 0xcf, 0xaa, 0xee, 0xcf,
|
||||
0x9a, 0xa4, 0x57, 0x31, 0xd9, 0xcb, 0x6d, 0xf3, 0x35, 0xf4, 0xd6, 0xd4, 0xab, 0xce, 0xf6, 0xa1,
|
||||
0xa9, 0x79, 0xe2, 0xd0, 0x6a, 0x06, 0xcd, 0x93, 0x49, 0x6a, 0xbe, 0x05, 0x76, 0x16, 0x91, 0x58,
|
||||
0x70, 0xc2, 0x73, 0xc4, 0x65, 0x2f, 0x2f, 0xa0, 0xed, 0x2a, 0x79, 0xed, 0x10, 0xd7, 0x3e, 0x2e,
|
||||
0xaf, 0x1d, 0x72, 0x68, 0x52, 0x20, 0xe6, 0x09, 0xf4, 0xd6, 0xca, 0xaa, 0x43, 0xfe, 0x3b, 0xc3,
|
||||
0xf1, 0xef, 0x06, 0xb4, 0xbe, 0x17, 0xfe, 0x8f, 0x04, 0xb1, 0x0f, 0xd0, 0x3d, 0x45, 0x2d, 0x7e,
|
||||
0xe1, 0x17, 0x4c, 0x69, 0x84, 0x19, 0x7b, 0x64, 0xad, 0xc2, 0x61, 0x95, 0x19, 0x30, 0x0e, 0x56,
|
||||
0x43, 0x8e, 0x30, 0x3b, 0xc5, 0xc8, 0xd5, 0x22, 0x24, 0xa5, 0xd9, 0x7b, 0x68, 0x95, 0xb5, 0x79,
|
||||
0x5d, 0xaf, 0x4e, 0xba, 0x54, 0x2e, 0x27, 0xa5, 0xef, 0xac, 0xfc, 0x08, 0xbb, 0xf9, 0x79, 0x79,
|
||||
0x02, 0xd8, 0x41, 0xed, 0xc0, 0x5a, 0x42, 0x8c, 0x27, 0x1b, 0x78, 0x35, 0xde, 0x05, 0xb0, 0xca,
|
||||
0xf0, 0x7a, 0x3a, 0xea, 0x32, 0x35, 0xdc, 0x30, 0x6a, 0xf8, 0xdf, 0x39, 0xb9, 0x84, 0x76, 0xcd,
|
||||
0x24, 0x76, 0x58, 0xa3, 0x6e, 0x46, 0xc3, 0x78, 0x7e, 0xd7, 0xf6, 0xad, 0x5a, 0xcd, 0x8d, 0x35,
|
||||
0xb5, 0x4d, 0x73, 0xd7, 0xd4, 0xfe, 0x61, 0xe2, 0xe7, 0x37, 0x3f, 0x86, 0xbe, 0xa0, 0x59, 0x3c,
|
||||
0xb5, 0x5c, 0xb5, 0x18, 0x06, 0xc2, 0x9f, 0x91, 0x14, 0xd2, 0x97, 0x48, 0x89, 0xd2, 0xf3, 0x61,
|
||||
0x20, 0xbd, 0x61, 0x20, 0x6f, 0x1f, 0xb7, 0x0e, 0xdd, 0x69, 0xb3, 0x78, 0xbc, 0x27, 0x7f, 0x02,
|
||||
0x00, 0x00, 0xff, 0xff, 0x2d, 0xbb, 0xcd, 0x97, 0xfa, 0x03, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@@ -427,33 +474,33 @@ const _ = grpc.SupportPackageIsVersion4
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type WalletKitClient interface {
|
||||
// *
|
||||
// DeriveNextKey attempts to derive the *next* key within the key family
|
||||
// (account in BIP43) specified. This method should return the next external
|
||||
// child within this branch.
|
||||
//*
|
||||
//DeriveNextKey attempts to derive the *next* key within the key family
|
||||
//(account in BIP43) specified. This method should return the next external
|
||||
//child within this branch.
|
||||
DeriveNextKey(ctx context.Context, in *KeyReq, opts ...grpc.CallOption) (*signrpc.KeyDescriptor, error)
|
||||
// *
|
||||
// DeriveKey attempts to derive an arbitrary key specified by the passed
|
||||
// KeyLocator.
|
||||
//*
|
||||
//DeriveKey attempts to derive an arbitrary key specified by the passed
|
||||
//KeyLocator.
|
||||
DeriveKey(ctx context.Context, in *signrpc.KeyLocator, opts ...grpc.CallOption) (*signrpc.KeyDescriptor, error)
|
||||
// *
|
||||
// NextAddr returns the next unused address within the wallet.
|
||||
//*
|
||||
//NextAddr returns the next unused address within the wallet.
|
||||
NextAddr(ctx context.Context, in *AddrRequest, opts ...grpc.CallOption) (*AddrResponse, error)
|
||||
// *
|
||||
// PublishTransaction attempts to publish the passed transaction to the
|
||||
// network. Once this returns without an error, the wallet will continually
|
||||
// attempt to re-broadcast the transaction on start up, until it enters the
|
||||
// chain.
|
||||
//*
|
||||
//PublishTransaction attempts to publish the passed transaction to the
|
||||
//network. Once this returns without an error, the wallet will continually
|
||||
//attempt to re-broadcast the transaction on start up, until it enters the
|
||||
//chain.
|
||||
PublishTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*PublishResponse, error)
|
||||
// *
|
||||
// SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
||||
// allows the caller to create a transaction that sends to several outputs at
|
||||
// once. This is ideal when wanting to batch create a set of transactions.
|
||||
//*
|
||||
//SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
||||
//allows the caller to create a transaction that sends to several outputs at
|
||||
//once. This is ideal when wanting to batch create a set of transactions.
|
||||
SendOutputs(ctx context.Context, in *SendOutputsRequest, opts ...grpc.CallOption) (*SendOutputsResponse, error)
|
||||
// *
|
||||
// EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
// determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
// achieve the confirmation target.
|
||||
//*
|
||||
//EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
//determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
//achieve the confirmation target.
|
||||
EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error)
|
||||
}
|
||||
|
||||
@@ -521,33 +568,33 @@ func (c *walletKitClient) EstimateFee(ctx context.Context, in *EstimateFeeReques
|
||||
|
||||
// WalletKitServer is the server API for WalletKit service.
|
||||
type WalletKitServer interface {
|
||||
// *
|
||||
// DeriveNextKey attempts to derive the *next* key within the key family
|
||||
// (account in BIP43) specified. This method should return the next external
|
||||
// child within this branch.
|
||||
//*
|
||||
//DeriveNextKey attempts to derive the *next* key within the key family
|
||||
//(account in BIP43) specified. This method should return the next external
|
||||
//child within this branch.
|
||||
DeriveNextKey(context.Context, *KeyReq) (*signrpc.KeyDescriptor, error)
|
||||
// *
|
||||
// DeriveKey attempts to derive an arbitrary key specified by the passed
|
||||
// KeyLocator.
|
||||
//*
|
||||
//DeriveKey attempts to derive an arbitrary key specified by the passed
|
||||
//KeyLocator.
|
||||
DeriveKey(context.Context, *signrpc.KeyLocator) (*signrpc.KeyDescriptor, error)
|
||||
// *
|
||||
// NextAddr returns the next unused address within the wallet.
|
||||
//*
|
||||
//NextAddr returns the next unused address within the wallet.
|
||||
NextAddr(context.Context, *AddrRequest) (*AddrResponse, error)
|
||||
// *
|
||||
// PublishTransaction attempts to publish the passed transaction to the
|
||||
// network. Once this returns without an error, the wallet will continually
|
||||
// attempt to re-broadcast the transaction on start up, until it enters the
|
||||
// chain.
|
||||
//*
|
||||
//PublishTransaction attempts to publish the passed transaction to the
|
||||
//network. Once this returns without an error, the wallet will continually
|
||||
//attempt to re-broadcast the transaction on start up, until it enters the
|
||||
//chain.
|
||||
PublishTransaction(context.Context, *Transaction) (*PublishResponse, error)
|
||||
// *
|
||||
// SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
||||
// allows the caller to create a transaction that sends to several outputs at
|
||||
// once. This is ideal when wanting to batch create a set of transactions.
|
||||
//*
|
||||
//SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
||||
//allows the caller to create a transaction that sends to several outputs at
|
||||
//once. This is ideal when wanting to batch create a set of transactions.
|
||||
SendOutputs(context.Context, *SendOutputsRequest) (*SendOutputsResponse, error)
|
||||
// *
|
||||
// EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
// determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
// achieve the confirmation target.
|
||||
//*
|
||||
//EstimateFee attempts to query the internal fee estimator of the wallet to
|
||||
//determine the fee (in sat/kw) to attach to a transaction in order to
|
||||
//achieve the confirmation target.
|
||||
EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
|
||||
}
|
||||
|
||||
@@ -695,44 +742,3 @@ var _WalletKit_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "walletrpc/walletkit.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("walletrpc/walletkit.proto", fileDescriptor_walletkit_ca4e27c2068154e3)
|
||||
}
|
||||
|
||||
var fileDescriptor_walletkit_ca4e27c2068154e3 = []byte{
|
||||
// 524 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x5d, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0xd5, 0x56, 0x56, 0xd6, 0xdb, 0x76, 0x80, 0xcb, 0x46, 0x89, 0x18, 0x4c, 0x81, 0x87, 0x3e,
|
||||
0xa0, 0x54, 0x6c, 0x02, 0x21, 0x78, 0x02, 0x6d, 0xd3, 0xa4, 0x4e, 0xac, 0x84, 0x4a, 0x48, 0x08,
|
||||
0x29, 0x72, 0x93, 0xbb, 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
0xec, 0x25, 0x74, 0xc3, 0x12, 0x72, 0x50, 0x6b, 0xb5, 0x54, 0xed, 0x54, 0xe0, 0x59, 0x8e, 0x99,
|
||||
0x3f, 0x81, 0x7d, 0x43, 0xe9, 0x5d, 0xc5, 0x14, 0xc6, 0x14, 0x55, 0x7d, 0xb1, 0x67, 0x00, 0x11,
|
||||
0x27, 0x27, 0x44, 0xed, 0xcc, 0x93, 0xa2, 0xae, 0x61, 0xef, 0x46, 0x9c, 0xc6, 0xa8, 0x47, 0x09,
|
||||
0x1b, 0xc0, 0x7d, 0x55, 0xf2, 0xfb, 0xdb, 0x47, 0x8d, 0x41, 0xfb, 0x78, 0xcf, 0xaa, 0xee, 0xcf,
|
||||
0x9a, 0xa4, 0x57, 0x31, 0xd9, 0xcb, 0x6d, 0xf3, 0x35, 0xf4, 0xd6, 0xd4, 0xab, 0xce, 0xf6, 0xa1,
|
||||
0xa9, 0x79, 0xe2, 0xd0, 0x6a, 0x06, 0xcd, 0x93, 0x49, 0x6a, 0xbe, 0x05, 0x76, 0x16, 0x91, 0x58,
|
||||
0x70, 0xc2, 0x73, 0xc4, 0x65, 0x2f, 0x2f, 0xa0, 0xed, 0x2a, 0x79, 0xed, 0x10, 0xd7, 0x3e, 0x2e,
|
||||
0xaf, 0x1d, 0x72, 0x68, 0x52, 0x20, 0xe6, 0x09, 0xf4, 0xd6, 0xca, 0xaa, 0x43, 0xfe, 0x3b, 0xc3,
|
||||
0xf1, 0xef, 0x06, 0xb4, 0xbe, 0x17, 0xfe, 0x8f, 0x04, 0xb1, 0x0f, 0xd0, 0x3d, 0x45, 0x2d, 0x7e,
|
||||
0xe1, 0x17, 0x4c, 0x69, 0x84, 0x19, 0x7b, 0x64, 0xad, 0xc2, 0x61, 0x95, 0x19, 0x30, 0x0e, 0x56,
|
||||
0x43, 0x8e, 0x30, 0x3b, 0xc5, 0xc8, 0xd5, 0x22, 0x24, 0xa5, 0xd9, 0x7b, 0x68, 0x95, 0xb5, 0x79,
|
||||
0x5d, 0xaf, 0x4e, 0xba, 0x54, 0x2e, 0x27, 0xa5, 0xef, 0xac, 0xfc, 0x08, 0xbb, 0xf9, 0x79, 0x79,
|
||||
0x02, 0xd8, 0x41, 0xed, 0xc0, 0x5a, 0x42, 0x8c, 0x27, 0x1b, 0x78, 0x35, 0xde, 0x05, 0xb0, 0xca,
|
||||
0xf0, 0x7a, 0x3a, 0xea, 0x32, 0x35, 0xdc, 0x30, 0x6a, 0xf8, 0xdf, 0x39, 0xb9, 0x84, 0x76, 0xcd,
|
||||
0x24, 0x76, 0x58, 0xa3, 0x6e, 0x46, 0xc3, 0x78, 0x7e, 0xd7, 0xf6, 0xad, 0x5a, 0xcd, 0x8d, 0x35,
|
||||
0xb5, 0x4d, 0x73, 0xd7, 0xd4, 0xfe, 0x61, 0xe2, 0xe7, 0x37, 0x3f, 0x86, 0xbe, 0xa0, 0x59, 0x3c,
|
||||
0xb5, 0x5c, 0xb5, 0x18, 0x06, 0xc2, 0x9f, 0x91, 0x14, 0xd2, 0x97, 0x48, 0x89, 0xd2, 0xf3, 0x61,
|
||||
0x20, 0xbd, 0x61, 0x20, 0x6f, 0x1f, 0xb7, 0x0e, 0xdd, 0x69, 0xb3, 0x78, 0xbc, 0x27, 0x7f, 0x02,
|
||||
0x00, 0x00, 0xff, 0xff, 0x2d, 0xbb, 0xcd, 0x97, 0xfa, 0x03, 0x00, 0x00,
|
||||
}
|
||||
Reference in new issue
Block a user