Merge pull request #3996 from guggero/lncli-json
lncli+proto: use original name in jsonpb marshaler and remove json_name fields in proto
This commit is contained in:
20 files changed
+1939
-1887
No files matched your search
@@ -64,7 +64,7 @@ func queryProb(ctx *cli.Context) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
printJSON(response)
|
printRespJSON(response)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -57,6 +57,7 @@ func printJSON(resp interface{}) {
|
|||||||
func printRespJSON(resp proto.Message) {
|
func printRespJSON(resp proto.Message) {
|
||||||
jsonMarshaler := &jsonpb.Marshaler{
|
jsonMarshaler := &jsonpb.Marshaler{
|
||||||
EmitDefaults: true,
|
EmitDefaults: true,
|
||||||
|
OrigName: true,
|
||||||
Indent: " ",
|
Indent: " ",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -58,7 +58,7 @@ type Utxo struct {
|
|||||||
// printed in base64.
|
// printed in base64.
|
||||||
func NewUtxoFromProto(utxo *lnrpc.Utxo) *Utxo {
|
func NewUtxoFromProto(utxo *lnrpc.Utxo) *Utxo {
|
||||||
return &Utxo{
|
return &Utxo{
|
||||||
Type: utxo.Type,
|
Type: utxo.AddressType,
|
||||||
Address: utxo.Address,
|
Address: utxo.Address,
|
||||||
AmountSat: utxo.AmountSat,
|
AmountSat: utxo.AmountSat,
|
||||||
PkScript: utxo.PkScript,
|
PkScript: utxo.PkScript,
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ var xxx_messageInfo_ModifyStatusResponse proto.InternalMessageInfo
|
|||||||
type QueryScoresRequest struct {
|
type QueryScoresRequest struct {
|
||||||
Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
|
Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
|
||||||
/// If set, we will ignore the local channel state when calculating scores.
|
/// If set, we will ignore the local channel state when calculating scores.
|
||||||
IgnoreLocalState bool `protobuf:"varint,2,opt,name=ignore_local_state,json=no_state,proto3" json:"ignore_local_state,omitempty"`
|
IgnoreLocalState bool `protobuf:"varint,2,opt,name=ignore_local_state,json=ignoreLocalState,proto3" json:"ignore_local_state,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -397,36 +397,37 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("autopilotrpc/autopilot.proto", fileDescriptor_e0b9dc347a92e084) }
|
func init() { proto.RegisterFile("autopilotrpc/autopilot.proto", fileDescriptor_e0b9dc347a92e084) }
|
||||||
|
|
||||||
var fileDescriptor_e0b9dc347a92e084 = []byte{
|
var fileDescriptor_e0b9dc347a92e084 = []byte{
|
||||||
// 463 bytes of a gzipped FileDescriptorProto
|
// 468 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcf, 0x6f, 0xd3, 0x30,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcf, 0x8b, 0xd3, 0x40,
|
||||||
0x14, 0xc7, 0x95, 0x4c, 0x74, 0xcb, 0xeb, 0x60, 0xc3, 0x9d, 0xa6, 0x28, 0x54, 0xd0, 0x45, 0x1c,
|
0x14, 0xc7, 0x49, 0x16, 0xbb, 0xe6, 0x75, 0x75, 0xeb, 0x74, 0x59, 0x42, 0x2c, 0xda, 0xcd, 0xa9,
|
||||||
0x2a, 0x24, 0x52, 0x51, 0x38, 0x00, 0x12, 0x07, 0x86, 0x90, 0x90, 0x80, 0x03, 0x2e, 0xbb, 0x70,
|
0x88, 0xa6, 0x58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|
0xa9, 0xb0, 0x14, 0xba, 0x8d, 0x31, 0x93, 0xe1, 0x8e, 0x0d, 0x70, 0xd0, 0x93, 0x7f, 0xee, 0x08,
|
||||||
0x90, 0xbb, 0xdd, 0xd7, 0x11, 0xdd, 0xfb, 0x6b, 0xdd, 0xd1, 0x4e, 0x9f, 0x7c, 0x9a, 0x2e, 0x38,
|
0x39, 0x83, 0x60, 0xdd, 0x12, 0x72, 0x6f, 0xf7, 0x38, 0xa2, 0xfb, 0x7f, 0xd5, 0x1d, 0xed, 0xf4,
|
||||||
0x2e, 0xed, 0x3c, 0xc9, 0xd4, 0x97, 0x89, 0xe0, 0x8b, 0x25, 0x4a, 0x2e, 0x17, 0x92, 0xe1, 0x37,
|
0xe9, 0xc7, 0xc9, 0x9c, 0xe3, 0xc2, 0xce, 0x92, 0x4c, 0x7d, 0x19, 0x0b, 0x3e, 0x5f, 0xa0, 0xe4,
|
||||||
0xa5, 0x57, 0x13, 0x21, 0x2f, 0x26, 0x42, 0xb6, 0x9e, 0x16, 0x9d, 0x67, 0xf3, 0x5e, 0xf9, 0xbc,
|
0x72, 0x2e, 0x19, 0x7e, 0x53, 0x7a, 0x39, 0x16, 0xf2, 0x72, 0x2c, 0x64, 0xeb, 0x89, 0xd1, 0x79,
|
||||||
0x3c, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x4e, 0x74, 0x27, 0x7e, 0x04, 0x00, 0x00,
|
0x36, 0xeb, 0x94, 0xcf, 0xcc, 0x93, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xb6, 0x25, 0xd7,
|
||||||
|
0x86, 0x04, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|||||||
@@ -11,68 +11,70 @@ service Autopilot {
|
|||||||
/**
|
/**
|
||||||
Status returns whether the daemon's autopilot agent is active.
|
Status returns whether the daemon's autopilot agent is active.
|
||||||
*/
|
*/
|
||||||
rpc Status(StatusRequest) returns (StatusResponse);
|
rpc Status (StatusRequest) returns (StatusResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
ModifyStatus is used to modify the status of the autopilot agent, like
|
ModifyStatus is used to modify the status of the autopilot agent, like
|
||||||
enabling or disabling it.
|
enabling or disabling it.
|
||||||
*/
|
*/
|
||||||
rpc ModifyStatus(ModifyStatusRequest) returns (ModifyStatusResponse);
|
rpc ModifyStatus (ModifyStatusRequest) returns (ModifyStatusResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
QueryScores queries all available autopilot heuristics, in addition to any
|
QueryScores queries all available autopilot heuristics, in addition to any
|
||||||
active combination of these heruristics, for the scores they would give to
|
active combination of these heruristics, for the scores they would give to
|
||||||
the given nodes.
|
the given nodes.
|
||||||
*/
|
*/
|
||||||
rpc QueryScores(QueryScoresRequest) returns (QueryScoresResponse);
|
rpc QueryScores (QueryScoresRequest) returns (QueryScoresResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
SetScores attempts to set the scores used by the running autopilot agent,
|
SetScores attempts to set the scores used by the running autopilot agent,
|
||||||
if the external scoring heuristic is enabled.
|
if the external scoring heuristic is enabled.
|
||||||
*/
|
*/
|
||||||
rpc SetScores(SetScoresRequest) returns (SetScoresResponse);
|
rpc SetScores (SetScoresRequest) returns (SetScoresResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
message StatusRequest{
|
message StatusRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message StatusResponse{
|
message StatusResponse {
|
||||||
/// Indicates whether the autopilot is active or not.
|
/// Indicates whether the autopilot is active or not.
|
||||||
bool active = 1 [json_name = "active"];
|
bool active = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ModifyStatusRequest{
|
message ModifyStatusRequest {
|
||||||
/// Whether the autopilot agent should be enabled or not.
|
/// Whether the autopilot agent should be enabled or not.
|
||||||
bool enable = 1 [json_name = "enable"];
|
bool enable = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ModifyStatusResponse {}
|
message ModifyStatusResponse {
|
||||||
|
}
|
||||||
|
|
||||||
message QueryScoresRequest{
|
message QueryScoresRequest {
|
||||||
repeated string pubkeys = 1 [json_name = "pubkeys"];
|
repeated string pubkeys = 1;
|
||||||
|
|
||||||
/// If set, we will ignore the local channel state when calculating scores.
|
/// If set, we will ignore the local channel state when calculating scores.
|
||||||
bool ignore_local_state = 2 [json_name = "no_state"];
|
bool ignore_local_state = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message QueryScoresResponse {
|
message QueryScoresResponse {
|
||||||
message HeuristicResult {
|
message HeuristicResult {
|
||||||
string heuristic = 1 [json_name = "heuristic"];
|
string heuristic = 1;
|
||||||
map<string, double> scores= 2 [json_name = "scores"];
|
map<string, double> scores = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
repeated HeuristicResult results = 1 [json_name = "results"];
|
repeated HeuristicResult results = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SetScoresRequest{
|
message SetScoresRequest {
|
||||||
/// The name of the heuristic to provide scores to.
|
/// The name of the heuristic to provide scores to.
|
||||||
string heuristic = 1 [json_name = "heuristic"];
|
string heuristic = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
A map from hex-encoded public keys to scores. Scores must be in the range
|
A map from hex-encoded public keys to scores. Scores must be in the range
|
||||||
[0.0, 1.0].
|
[0.0, 1.0].
|
||||||
*/
|
*/
|
||||||
map<string, double> scores = 2 [json_name = "scores"];
|
map<string, double> scores = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SetScoresResponse {}
|
message SetScoresResponse {
|
||||||
|
}
|
||||||
@@ -150,7 +150,7 @@ service ChainNotifier {
|
|||||||
particular transaction by its hash or for an output script by specifying a
|
particular transaction by its hash or for an output script by specifying a
|
||||||
zero hash.
|
zero hash.
|
||||||
*/
|
*/
|
||||||
rpc RegisterConfirmationsNtfn(ConfRequest) returns (stream ConfEvent);
|
rpc RegisterConfirmationsNtfn (ConfRequest) returns (stream ConfEvent);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
RegisterSpendNtfn is a synchronous response-streaming RPC that registers an
|
RegisterSpendNtfn is a synchronous response-streaming RPC that registers an
|
||||||
@@ -160,7 +160,7 @@ service ChainNotifier {
|
|||||||
A client can specify whether the spend request should be for a particular
|
A client can specify whether the spend request should be for a particular
|
||||||
outpoint or for an output script by specifying a zero outpoint.
|
outpoint or for an output script by specifying a zero outpoint.
|
||||||
*/
|
*/
|
||||||
rpc RegisterSpendNtfn(SpendRequest) returns (stream SpendEvent);
|
rpc RegisterSpendNtfn (SpendRequest) returns (stream SpendEvent);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
RegisterBlockEpochNtfn is a synchronous response-streaming RPC that
|
RegisterBlockEpochNtfn is a synchronous response-streaming RPC that
|
||||||
@@ -173,5 +173,5 @@ service ChainNotifier {
|
|||||||
point. This allows clients to be idempotent by ensuring that they do not
|
point. This allows clients to be idempotent by ensuring that they do not
|
||||||
missing processing a single block within the chain.
|
missing processing a single block within the chain.
|
||||||
*/
|
*/
|
||||||
rpc RegisterBlockEpochNtfn(BlockEpoch) returns (stream BlockEpoch);
|
rpc RegisterBlockEpochNtfn (BlockEpoch) returns (stream BlockEpoch);
|
||||||
}
|
}
|
||||||
@@ -113,22 +113,22 @@ type AddHoldInvoiceRequest struct {
|
|||||||
//The value of this invoice in millisatoshis
|
//The value of this invoice in millisatoshis
|
||||||
//
|
//
|
||||||
//The fields value and value_msat are mutually exclusive.
|
//The fields value and value_msat are mutually exclusive.
|
||||||
ValueMsat int64 `protobuf:"varint,10,opt,name=value_msat,proto3" json:"value_msat,omitempty"`
|
ValueMsat int64 `protobuf:"varint,10,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Hash (SHA-256) of a description of the payment. Used if the description of
|
//Hash (SHA-256) of a description of the payment. Used if the description of
|
||||||
//payment (memo) is too long to naturally fit within the description field
|
//payment (memo) is too long to naturally fit within the description field
|
||||||
//of an encoded payment request.
|
//of an encoded payment request.
|
||||||
DescriptionHash []byte `protobuf:"bytes,4,opt,name=description_hash,proto3" json:"description_hash,omitempty"`
|
DescriptionHash []byte `protobuf:"bytes,4,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
|
||||||
/// Payment request expiry time in seconds. Default is 3600 (1 hour).
|
/// Payment request expiry time in seconds. Default is 3600 (1 hour).
|
||||||
Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
||||||
/// Fallback on-chain address.
|
/// Fallback on-chain address.
|
||||||
FallbackAddr string `protobuf:"bytes,6,opt,name=fallback_addr,proto3" json:"fallback_addr,omitempty"`
|
FallbackAddr string `protobuf:"bytes,6,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
||||||
/// Delta to use for the time-lock of the CLTV extended to the final hop.
|
/// Delta to use for the time-lock of the CLTV extended to the final hop.
|
||||||
CltvExpiry uint64 `protobuf:"varint,7,opt,name=cltv_expiry,proto3" json:"cltv_expiry,omitempty"`
|
CltvExpiry uint64 `protobuf:"varint,7,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Route hints that can each be individually used to assist in reaching the
|
//Route hints that can each be individually used to assist in reaching the
|
||||||
//invoice's destination.
|
//invoice's destination.
|
||||||
RouteHints []*lnrpc.RouteHint `protobuf:"bytes,8,rep,name=route_hints,proto3" json:"route_hints,omitempty"`
|
RouteHints []*lnrpc.RouteHint `protobuf:"bytes,8,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
|
||||||
/// Whether this invoice should include routing hints for private channels.
|
/// Whether this invoice should include routing hints for private channels.
|
||||||
Private bool `protobuf:"varint,9,opt,name=private,proto3" json:"private,omitempty"`
|
Private bool `protobuf:"varint,9,opt,name=private,proto3" json:"private,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
@@ -236,7 +236,7 @@ type AddHoldInvoiceResp struct {
|
|||||||
//A bare-bones invoice for a payment within the Lightning Network. With the
|
//A bare-bones invoice for a payment within the Lightning Network. With the
|
||||||
//details of the invoice, the sender has all the data necessary to send a
|
//details of the invoice, the sender has all the data necessary to send a
|
||||||
//payment to the recipient.
|
//payment to the recipient.
|
||||||
PaymentRequest string `protobuf:"bytes,1,opt,name=payment_request,proto3" json:"payment_request,omitempty"`
|
PaymentRequest string `protobuf:"bytes,1,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -347,7 +347,7 @@ var xxx_messageInfo_SettleInvoiceResp proto.InternalMessageInfo
|
|||||||
|
|
||||||
type SubscribeSingleInvoiceRequest struct {
|
type SubscribeSingleInvoiceRequest struct {
|
||||||
/// Hash corresponding to the (hold) invoice to subscribe to.
|
/// Hash corresponding to the (hold) invoice to subscribe to.
|
||||||
RHash []byte `protobuf:"bytes,2,opt,name=r_hash,proto3" json:"r_hash,omitempty"`
|
RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -398,40 +398,41 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("invoicesrpc/invoices.proto", fileDescriptor_090ab9c4958b987d) }
|
func init() { proto.RegisterFile("invoicesrpc/invoices.proto", fileDescriptor_090ab9c4958b987d) }
|
||||||
|
|
||||||
var fileDescriptor_090ab9c4958b987d = []byte{
|
var fileDescriptor_090ab9c4958b987d = []byte{
|
||||||
// 519 bytes of a gzipped FileDescriptorProto
|
// 541 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
|
||||||
0x10, 0x95, 0xd3, 0x34, 0x4d, 0x27, 0x6d, 0x09, 0x0b, 0x54, 0x96, 0x45, 0x8b, 0xb1, 0x38, 0x58,
|
0x10, 0x95, 0xd3, 0x34, 0x4d, 0x26, 0x69, 0x1a, 0x16, 0x5a, 0x59, 0x16, 0xa1, 0xc1, 0x1c, 0x08,
|
||||||
0x3d, 0xd8, 0x90, 0x8a, 0x23, 0x48, 0xc0, 0x25, 0x20, 0xc1, 0xc1, 0x11, 0x1c, 0xb8, 0x58, 0x1b,
|
0x1c, 0x6c, 0xda, 0x8a, 0x1b, 0x1c, 0x0a, 0x42, 0x0a, 0x48, 0xe5, 0xe0, 0x08, 0x0e, 0x5c, 0xac,
|
||||||
0x7b, 0xb1, 0x57, 0x5d, 0xef, 0x2e, 0xbb, 0x9b, 0x40, 0xbf, 0x92, 0x33, 0x7f, 0x83, 0xbc, 0x76,
|
0x8d, 0xbd, 0xd8, 0xab, 0xda, 0xbb, 0xcb, 0xee, 0x26, 0xd0, 0x5f, 0xe4, 0x0f, 0xf8, 0x1b, 0xe4,
|
||||||
0x2a, 0xdb, 0x2d, 0xbd, 0xcd, 0xbc, 0x99, 0x79, 0x1e, 0xbf, 0x37, 0x0b, 0x1e, 0xe5, 0x5b, 0x41,
|
0xf5, 0xa6, 0xb2, 0x43, 0xe9, 0x6d, 0xe6, 0xcd, 0xec, 0xcb, 0xcb, 0x7b, 0x63, 0xf0, 0x28, 0xdb,
|
||||||
0x33, 0xa2, 0x95, 0xcc, 0xe2, 0x5d, 0x1c, 0x49, 0x25, 0x8c, 0x40, 0xb3, 0x4e, 0xcd, 0x7b, 0x5a,
|
0x70, 0x9a, 0x10, 0x25, 0x45, 0x12, 0x6e, 0xeb, 0x40, 0x48, 0xae, 0x39, 0x1a, 0x36, 0x66, 0xde,
|
||||||
0x08, 0x51, 0x30, 0x12, 0x63, 0x49, 0x63, 0xcc, 0xb9, 0x30, 0xd8, 0x50, 0xc1, 0xdb, 0x56, 0xef,
|
0xe3, 0x8c, 0xf3, 0xac, 0x20, 0x21, 0x16, 0x34, 0xc4, 0x8c, 0x71, 0x8d, 0x35, 0xe5, 0xcc, 0xae,
|
||||||
0x50, 0xc9, 0xac, 0x09, 0x83, 0xd7, 0x30, 0xff, 0x80, 0x79, 0x46, 0xd8, 0xc7, 0x66, 0xfa, 0xb3,
|
0x7a, 0x03, 0x29, 0x92, 0xba, 0xf4, 0x5f, 0xc3, 0xe4, 0x3d, 0x66, 0x09, 0x29, 0x3e, 0xd6, 0xaf,
|
||||||
0x2e, 0xd0, 0x73, 0x38, 0x92, 0xf8, 0xba, 0x22, 0xdc, 0xa4, 0x25, 0xd6, 0xa5, 0xeb, 0xf8, 0x4e,
|
0xaf, 0x54, 0x86, 0x9e, 0xc2, 0x48, 0xe0, 0x9b, 0x92, 0x30, 0x1d, 0xe7, 0x58, 0xe5, 0xae, 0x33,
|
||||||
0x78, 0x94, 0xcc, 0x5a, 0x6c, 0x89, 0x75, 0x19, 0x3c, 0x82, 0x87, 0xbd, 0xb1, 0x84, 0x68, 0x19,
|
0x73, 0xe6, 0xa3, 0x68, 0x68, 0xb1, 0x05, 0x56, 0xb9, 0xff,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, 0x19, 0x65, 0x19, 0x23, 0xfa, 0x27,
|
||||||
0x3c, 0xda, 0x98, 0x4d, 0x04, 0x00, 0x00,
|
0x97, 0xd7, 0x61, 0xc1, 0xd2, 0xd0, 0x38, 0x15, 0x36, 0x68, 0x56, 0x3d, 0xf3, 0xc9, 0x5f, 0xfc,
|
||||||
|
0x0d, 0x00, 0x00, 0xff, 0xff, 0x56, 0x22, 0x58, 0xe6, 0x46, 0x04, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|||||||
@@ -22,26 +22,27 @@ service Invoices {
|
|||||||
canceled, this call will succeed. If the invoice is already settled, it will
|
canceled, this call will succeed. If the invoice is already settled, it will
|
||||||
fail.
|
fail.
|
||||||
*/
|
*/
|
||||||
rpc CancelInvoice(CancelInvoiceMsg) returns (CancelInvoiceResp);
|
rpc CancelInvoice (CancelInvoiceMsg) returns (CancelInvoiceResp);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
AddHoldInvoice creates a hold invoice. It ties the invoice to the hash
|
AddHoldInvoice creates a hold invoice. It ties the invoice to the hash
|
||||||
supplied in the request.
|
supplied in the request.
|
||||||
*/
|
*/
|
||||||
rpc AddHoldInvoice(AddHoldInvoiceRequest) returns (AddHoldInvoiceResp);
|
rpc AddHoldInvoice (AddHoldInvoiceRequest) returns (AddHoldInvoiceResp);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
SettleInvoice settles an accepted invoice. If the invoice is already
|
SettleInvoice settles an accepted invoice. If the invoice is already
|
||||||
settled, this call will succeed.
|
settled, this call will succeed.
|
||||||
*/
|
*/
|
||||||
rpc SettleInvoice(SettleInvoiceMsg) returns (SettleInvoiceResp);
|
rpc SettleInvoice (SettleInvoiceMsg) returns (SettleInvoiceResp);
|
||||||
}
|
}
|
||||||
|
|
||||||
message CancelInvoiceMsg {
|
message CancelInvoiceMsg {
|
||||||
/// Hash corresponding to the (hold) invoice to cancel.
|
/// Hash corresponding to the (hold) invoice to cancel.
|
||||||
bytes payment_hash = 1;
|
bytes payment_hash = 1;
|
||||||
}
|
}
|
||||||
message CancelInvoiceResp {}
|
message CancelInvoiceResp {
|
||||||
|
}
|
||||||
|
|
||||||
message AddHoldInvoiceRequest {
|
message AddHoldInvoiceRequest {
|
||||||
/**
|
/**
|
||||||
@@ -50,49 +51,49 @@ message AddHoldInvoiceRequest {
|
|||||||
field of the encoded payment request if the description_hash field is not
|
field of the encoded payment request if the description_hash field is not
|
||||||
being used.
|
being used.
|
||||||
*/
|
*/
|
||||||
string memo = 1 [json_name = "memo"];
|
string memo = 1;
|
||||||
|
|
||||||
/// The hash of the preimage
|
/// The hash of the preimage
|
||||||
bytes hash = 2 [json_name = "hash"];
|
bytes hash = 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The value of this invoice in satoshis
|
The value of this invoice in satoshis
|
||||||
|
|
||||||
The fields value and value_msat are mutually exclusive.
|
The fields value and value_msat are mutually exclusive.
|
||||||
*/
|
*/
|
||||||
int64 value = 3 [json_name = "value"];
|
int64 value = 3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The value of this invoice in millisatoshis
|
The value of this invoice in millisatoshis
|
||||||
|
|
||||||
The fields value and value_msat are mutually exclusive.
|
The fields value and value_msat are mutually exclusive.
|
||||||
*/
|
*/
|
||||||
int64 value_msat = 10 [json_name = "value_msat"];
|
int64 value_msat = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Hash (SHA-256) of a description of the payment. Used if the description of
|
Hash (SHA-256) of a description of the payment. Used if the description of
|
||||||
payment (memo) is too long to naturally fit within the description field
|
payment (memo) is too long to naturally fit within the description field
|
||||||
of an encoded payment request.
|
of an encoded payment request.
|
||||||
*/
|
*/
|
||||||
bytes description_hash = 4 [json_name = "description_hash"];
|
bytes description_hash = 4;
|
||||||
|
|
||||||
/// Payment request expiry time in seconds. Default is 3600 (1 hour).
|
/// Payment request expiry time in seconds. Default is 3600 (1 hour).
|
||||||
int64 expiry = 5 [json_name = "expiry"];
|
int64 expiry = 5;
|
||||||
|
|
||||||
/// Fallback on-chain address.
|
/// Fallback on-chain address.
|
||||||
string fallback_addr = 6 [json_name = "fallback_addr"];
|
string fallback_addr = 6;
|
||||||
|
|
||||||
/// Delta to use for the time-lock of the CLTV extended to the final hop.
|
/// Delta to use for the time-lock of the CLTV extended to the final hop.
|
||||||
uint64 cltv_expiry = 7 [json_name = "cltv_expiry"];
|
uint64 cltv_expiry = 7;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Route hints that can each be individually used to assist in reaching the
|
Route hints that can each be individually used to assist in reaching the
|
||||||
invoice's destination.
|
invoice's destination.
|
||||||
*/
|
*/
|
||||||
repeated lnrpc.RouteHint route_hints = 8 [json_name = "route_hints"];
|
repeated lnrpc.RouteHint route_hints = 8;
|
||||||
|
|
||||||
/// Whether this invoice should include routing hints for private channels.
|
/// Whether this invoice should include routing hints for private channels.
|
||||||
bool private = 9 [json_name = "private"];
|
bool private = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AddHoldInvoiceResp {
|
message AddHoldInvoiceResp {
|
||||||
@@ -101,19 +102,20 @@ message AddHoldInvoiceResp {
|
|||||||
details of the invoice, the sender has all the data necessary to send a
|
details of the invoice, the sender has all the data necessary to send a
|
||||||
payment to the recipient.
|
payment to the recipient.
|
||||||
*/
|
*/
|
||||||
string payment_request = 1 [json_name = "payment_request"];
|
string payment_request = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SettleInvoiceMsg {
|
message SettleInvoiceMsg {
|
||||||
/// Externally discovered pre-image that should be used to settle the hold invoice.
|
/// Externally discovered pre-image that should be used to settle the hold invoice.
|
||||||
bytes preimage = 1;
|
bytes preimage = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SettleInvoiceResp {}
|
message SettleInvoiceResp {
|
||||||
|
}
|
||||||
|
|
||||||
message SubscribeSingleInvoiceRequest {
|
message SubscribeSingleInvoiceRequest {
|
||||||
reserved 1;
|
reserved 1;
|
||||||
|
|
||||||
/// Hash corresponding to the (hold) invoice to subscribe to.
|
/// Hash corresponding to the (hold) invoice to subscribe to.
|
||||||
bytes r_hash = 2 [json_name = "r_hash"];
|
bytes r_hash = 2;
|
||||||
}
|
}
|
||||||
+146
-145
@@ -248,7 +248,7 @@ type SendPaymentRequest struct {
|
|||||||
CltvLimit int32 `protobuf:"varint,9,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
|
CltvLimit int32 `protobuf:"varint,9,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Optional route hints to reach the destination through private channels.
|
//Optional route hints to reach the destination through private channels.
|
||||||
RouteHints []*lnrpc.RouteHint `protobuf:"bytes,10,rep,name=route_hints,proto3" json:"route_hints,omitempty"`
|
RouteHints []*lnrpc.RouteHint `protobuf:"bytes,10,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
|
||||||
//*
|
//*
|
||||||
//An optional field that can be used to pass an arbitrary set of TLV records
|
//An optional field that can be used to pass an arbitrary set of TLV records
|
||||||
//to a peer which understands the new records. This can be used to pass
|
//to a peer which understands the new records. This can be used to pass
|
||||||
@@ -1134,9 +1134,9 @@ func (m *QueryMissionControlResponse) GetPairs() []*PairHistory {
|
|||||||
/// PairHistory contains the mission control state for a particular node pair.
|
/// PairHistory contains the mission control state for a particular node pair.
|
||||||
type PairHistory struct {
|
type PairHistory struct {
|
||||||
/// The source node pubkey of the pair.
|
/// The source node pubkey of the pair.
|
||||||
NodeFrom []byte `protobuf:"bytes,1,opt,name=node_from,proto3" json:"node_from,omitempty"`
|
NodeFrom []byte `protobuf:"bytes,1,opt,name=node_from,json=nodeFrom,proto3" json:"node_from,omitempty"`
|
||||||
/// The destination node pubkey of the pair.
|
/// The destination node pubkey of the pair.
|
||||||
NodeTo []byte `protobuf:"bytes,2,opt,name=node_to,proto3" json:"node_to,omitempty"`
|
NodeTo []byte `protobuf:"bytes,2,opt,name=node_to,json=nodeTo,proto3" json:"node_to,omitempty"`
|
||||||
History *PairData `protobuf:"bytes,7,opt,name=history,proto3" json:"history,omitempty"`
|
History *PairData `protobuf:"bytes,7,opt,name=history,proto3" json:"history,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
@@ -1191,21 +1191,21 @@ func (m *PairHistory) GetHistory() *PairData {
|
|||||||
|
|
||||||
type PairData struct {
|
type PairData struct {
|
||||||
/// Time of last failure.
|
/// Time of last failure.
|
||||||
FailTime int64 `protobuf:"varint,1,opt,name=fail_time,proto3" json:"fail_time,omitempty"`
|
FailTime int64 `protobuf:"varint,1,opt,name=fail_time,json=failTime,proto3" json:"fail_time,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Lowest amount that failed to forward rounded to whole sats. This may be
|
//Lowest amount that failed to forward rounded to whole sats. This may be
|
||||||
//set to zero if the failure is independent of amount.
|
//set to zero if the failure is independent of amount.
|
||||||
FailAmtSat int64 `protobuf:"varint,2,opt,name=fail_amt_sat,proto3" json:"fail_amt_sat,omitempty"`
|
FailAmtSat int64 `protobuf:"varint,2,opt,name=fail_amt_sat,json=failAmtSat,proto3" json:"fail_amt_sat,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Lowest amount that failed to forward in millisats. This may be
|
//Lowest amount that failed to forward in millisats. This may be
|
||||||
//set to zero if the failure is independent of amount.
|
//set to zero if the failure is independent of amount.
|
||||||
FailAmtMsat int64 `protobuf:"varint,4,opt,name=fail_amt_msat,proto3" json:"fail_amt_msat,omitempty"`
|
FailAmtMsat int64 `protobuf:"varint,4,opt,name=fail_amt_msat,json=failAmtMsat,proto3" json:"fail_amt_msat,omitempty"`
|
||||||
/// Time of last success.
|
/// Time of last success.
|
||||||
SuccessTime int64 `protobuf:"varint,5,opt,name=success_time,proto3" json:"success_time,omitempty"`
|
SuccessTime int64 `protobuf:"varint,5,opt,name=success_time,json=successTime,proto3" json:"success_time,omitempty"`
|
||||||
/// Highest amount that we could successfully forward rounded to whole sats.
|
/// Highest amount that we could successfully forward rounded to whole sats.
|
||||||
SuccessAmtSat int64 `protobuf:"varint,6,opt,name=success_amt_sat,proto3" json:"success_amt_sat,omitempty"`
|
SuccessAmtSat int64 `protobuf:"varint,6,opt,name=success_amt_sat,json=successAmtSat,proto3" json:"success_amt_sat,omitempty"`
|
||||||
/// Highest amount that we could successfully forward in millisats.
|
/// Highest amount that we could successfully forward in millisats.
|
||||||
SuccessAmtMsat int64 `protobuf:"varint,7,opt,name=success_amt_msat,proto3" json:"success_amt_msat,omitempty"`
|
SuccessAmtMsat int64 `protobuf:"varint,7,opt,name=success_amt_msat,json=successAmtMsat,proto3" json:"success_amt_msat,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -1280,11 +1280,11 @@ func (m *PairData) GetSuccessAmtMsat() int64 {
|
|||||||
|
|
||||||
type QueryProbabilityRequest struct {
|
type QueryProbabilityRequest struct {
|
||||||
/// The source node pubkey of the pair.
|
/// The source node pubkey of the pair.
|
||||||
FromNode []byte `protobuf:"bytes,1,opt,name=from_node,proto3" json:"from_node,omitempty"`
|
FromNode []byte `protobuf:"bytes,1,opt,name=from_node,json=fromNode,proto3" json:"from_node,omitempty"`
|
||||||
/// The destination node pubkey of the pair.
|
/// The destination node pubkey of the pair.
|
||||||
ToNode []byte `protobuf:"bytes,2,opt,name=to_node,proto3" json:"to_node,omitempty"`
|
ToNode []byte `protobuf:"bytes,2,opt,name=to_node,json=toNode,proto3" json:"to_node,omitempty"`
|
||||||
/// The amount for which to calculate a probability.
|
/// The amount for which to calculate a probability.
|
||||||
AmtMsat int64 `protobuf:"varint,3,opt,name=amt_msat,proto3" json:"amt_msat,omitempty"`
|
AmtMsat int64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -1529,139 +1529,140 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("routerrpc/router.proto", fileDescriptor_7a0613f69d37b0a5) }
|
func init() { proto.RegisterFile("routerrpc/router.proto", fileDescriptor_7a0613f69d37b0a5) }
|
||||||
|
|
||||||
var fileDescriptor_7a0613f69d37b0a5 = []byte{
|
var fileDescriptor_7a0613f69d37b0a5 = []byte{
|
||||||
// 2102 bytes of a gzipped FileDescriptorProto
|
// 2126 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xcb, 0x73, 0xdb, 0xc6,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xcd, 0x76, 0xdb, 0xc6,
|
||||||
0x19, 0x0f, 0xc4, 0xf7, 0xc7, 0x17, 0xb4, 0x92, 0x65, 0x98, 0xb2, 0x62, 0x05, 0x76, 0x1d, 0x8e,
|
0x15, 0x0e, 0xc4, 0x5f, 0x5d, 0xfe, 0x41, 0x23, 0x45, 0xa2, 0x29, 0x2b, 0x61, 0x10, 0xd7, 0xe1,
|
||||||
0xc7, 0x91, 0x5c, 0xb5, 0xf1, 0x78, 0x7a, 0x68, 0x87, 0x22, 0xc1, 0x08, 0x32, 0x09, 0xca, 0x4b,
|
0xf1, 0x71, 0x24, 0x47, 0x6d, 0x7c, 0x7c, 0xba, 0x68, 0x0f, 0x45, 0x82, 0x11, 0x64, 0x12, 0x94,
|
||||||
0xd2, 0x89, 0x9b, 0xc3, 0x0e, 0x44, 0xae, 0x44, 0x8c, 0x40, 0x80, 0x01, 0x96, 0x8e, 0xf5, 0x0f,
|
0x87, 0xa4, 0x13, 0x37, 0x8b, 0x39, 0x10, 0x39, 0x12, 0x51, 0xe1, 0x87, 0x01, 0x86, 0x8e, 0xf5,
|
||||||
0xf4, 0xd4, 0xff, 0xa3, 0xbd, 0xb4, 0x97, 0x9e, 0xfb, 0xef, 0xb4, 0xf7, 0xde, 0x7a, 0xeb, 0xec,
|
0x02, 0x5d, 0xf4, 0x45, 0xda, 0x4d, 0xbb, 0xe9, 0xba, 0xaf, 0xd3, 0xf6, 0x11, 0xba, 0xec, 0x99,
|
||||||
0x2e, 0x40, 0x82, 0x14, 0xe5, 0xf4, 0x44, 0xec, 0xef, 0x7b, 0xed, 0xee, 0xb7, 0xdf, 0x8b, 0xb0,
|
0x19, 0x80, 0x04, 0x29, 0xca, 0xe9, 0x4a, 0xc4, 0x77, 0xbf, 0xb9, 0x77, 0x66, 0xee, 0xdc, 0x3f,
|
||||||
0x17, 0xf8, 0x73, 0x46, 0x83, 0x60, 0x36, 0x3a, 0x96, 0x5f, 0x47, 0xb3, 0xc0, 0x67, 0x3e, 0x2a,
|
0xc1, 0x7e, 0xe0, 0xcf, 0x19, 0x0d, 0x82, 0xd9, 0xf8, 0x44, 0xfe, 0x3a, 0x9e, 0x05, 0x3e, 0xf3,
|
||||||
0x2c, 0xf0, 0x5a, 0x21, 0x98, 0x8d, 0x24, 0xaa, 0xff, 0x37, 0x03, 0xa8, 0x4f, 0xbd, 0xf1, 0x85,
|
0xd1, 0xf6, 0x02, 0xaf, 0x6d, 0x07, 0xb3, 0xb1, 0x44, 0xb5, 0xff, 0x66, 0x00, 0x0d, 0xa8, 0x37,
|
||||||
0x7d, 0x3b, 0xa5, 0x1e, 0xc3, 0xf4, 0xa7, 0x39, 0x0d, 0x19, 0x42, 0x90, 0x1e, 0xd3, 0x90, 0x69,
|
0xb9, 0xb4, 0xee, 0x5c, 0xea, 0x31, 0x4c, 0x7f, 0x9a, 0xd3, 0x90, 0x21, 0x04, 0xe9, 0x09, 0x0d,
|
||||||
0xca, 0xa1, 0x52, 0x2f, 0x61, 0xf1, 0x8d, 0x54, 0x48, 0xd9, 0x53, 0xa6, 0x6d, 0x1d, 0x2a, 0xf5,
|
0x59, 0x55, 0xa9, 0x2b, 0x8d, 0x22, 0x16, 0xbf, 0x91, 0x0a, 0x29, 0xcb, 0x65, 0xd5, 0xad, 0xba,
|
||||||
0x14, 0xe6, 0x9f, 0xe8, 0x11, 0xe4, 0xed, 0x29, 0x23, 0xd3, 0xd0, 0x66, 0x5a, 0x49, 0xc0, 0x39,
|
0xd2, 0x48, 0x61, 0xfe, 0x13, 0x3d, 0x82, 0xbc, 0xe5, 0x32, 0xe2, 0x86, 0x16, 0xab, 0x16, 0x05,
|
||||||
0x7b, 0xca, 0xba, 0xa1, 0xcd, 0xd0, 0x57, 0x50, 0x9a, 0x49, 0x95, 0x64, 0x62, 0x87, 0x13, 0x2d,
|
0x9c, 0xb3, 0x5c, 0xd6, 0x0b, 0x2d, 0x86, 0xbe, 0x80, 0xe2, 0x4c, 0xaa, 0x24, 0x53, 0x2b, 0x9c,
|
||||||
0x25, 0x14, 0x15, 0x23, 0xec, 0xcc, 0x0e, 0x27, 0xa8, 0x0e, 0xea, 0x95, 0xe3, 0xd9, 0x2e, 0x19,
|
0x56, 0x53, 0x42, 0x51, 0x21, 0xc2, 0xce, 0xad, 0x70, 0x8a, 0x1a, 0xa0, 0x5e, 0xdb, 0x9e, 0xe5,
|
||||||
0xb9, 0xec, 0x23, 0x19, 0x53, 0x97, 0xd9, 0x5a, 0xfa, 0x50, 0xa9, 0x67, 0x70, 0x45, 0xe0, 0x4d,
|
0x90, 0xb1, 0xc3, 0xde, 0x93, 0x09, 0x75, 0x98, 0x55, 0x4d, 0xd7, 0x95, 0x46, 0x06, 0x97, 0x05,
|
||||||
0x97, 0x7d, 0x6c, 0x71, 0x14, 0x7d, 0x0d, 0xd5, 0x58, 0x59, 0x20, 0x37, 0xa8, 0x65, 0x0e, 0x95,
|
0xde, 0x72, 0xd8, 0xfb, 0x36, 0x47, 0xd1, 0x57, 0x50, 0x89, 0x95, 0x05, 0x72, 0x83, 0xd5, 0x4c,
|
||||||
0x7a, 0x01, 0x57, 0x66, 0xab, 0xdb, 0xfe, 0x1a, 0xaa, 0xcc, 0x99, 0x52, 0x7f, 0xce, 0x48, 0x48,
|
0x5d, 0x69, 0x6c, 0xe3, 0xf2, 0x6c, 0x75, 0xdb, 0x5f, 0x41, 0x85, 0xd9, 0x2e, 0xf5, 0xe7, 0x8c,
|
||||||
0x47, 0xbe, 0x37, 0x0e, 0xb5, 0xac, 0xd4, 0x18, 0xc1, 0x7d, 0x89, 0x22, 0x1d, 0xca, 0x57, 0x94,
|
0x84, 0x74, 0xec, 0x7b, 0x93, 0xb0, 0x9a, 0x95, 0x1a, 0x23, 0x78, 0x20, 0x51, 0xa4, 0x41, 0xe9,
|
||||||
0x12, 0xd7, 0x99, 0x3a, 0x8c, 0xf0, 0xed, 0xe7, 0xc4, 0xf6, 0x8b, 0x57, 0x94, 0x76, 0x38, 0xd6,
|
0x9a, 0x52, 0xe2, 0xd8, 0xae, 0xcd, 0x08, 0xdf, 0x7e, 0x4e, 0x6c, 0xbf, 0x70, 0x4d, 0x69, 0x97,
|
||||||
0xb7, 0x19, 0x7a, 0x06, 0x95, 0x25, 0x8f, 0x38, 0x63, 0x59, 0x30, 0x95, 0x62, 0x26, 0x71, 0xd0,
|
0x63, 0x03, 0x8b, 0xa1, 0x27, 0x50, 0x5e, 0x72, 0xc4, 0x19, 0x4b, 0x82, 0x54, 0x8c, 0x49, 0xe2,
|
||||||
0x97, 0xa0, 0xfa, 0x73, 0x76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, 0xa5, 0x68, 0xd5, 0x80, 0x59, 0x6c, 0x1e, 0xa2, 0xaf, 0x21, 0x13, 0x32, 0x8b,
|
||||||
0xc3, 0xc4, 0x7d, 0x26, 0x18, 0x29, 0x96, 0x5c, 0xa8, 0x06, 0xf9, 0x59, 0x40, 0x9d, 0xa9, 0x7d,
|
0x51, 0xc1, 0x2e, 0x9f, 0x1e, 0x24, 0xee, 0x33, 0x41, 0xa4, 0x58, 0xb2, 0x50, 0x0d, 0xf2, 0xb3,
|
||||||
0x1d, 0xef, 0x6b, 0xb1, 0x46, 0x3a, 0x64, 0x84, 0xb0, 0x88, 0x99, 0xe2, 0x49, 0x29, 0xe9, 0x56,
|
0x80, 0xda, 0xae, 0x75, 0x13, 0xef, 0x6b, 0xf1, 0x8d, 0x34, 0xc8, 0x88, 0xc5, 0x22, 0x64, 0x0a,
|
||||||
0x2c, 0x49, 0xa8, 0x0e, 0x99, 0x09, 0x73, 0x47, 0xa1, 0x96, 0x16, 0xee, 0x43, 0x11, 0xcf, 0xd9,
|
0xa7, 0xc5, 0xa4, 0x57, 0xb1, 0x14, 0xa1, 0x06, 0x64, 0xa6, 0xcc, 0x19, 0x87, 0xd5, 0xb4, 0x70,
|
||||||
0xa0, 0xd3, 0x6c, 0x30, 0x46, 0xa7, 0x33, 0x86, 0x25, 0x83, 0xfe, 0x7b, 0xa8, 0x0a, 0xc9, 0x36,
|
0x1f, 0x8a, 0x38, 0xe7, 0xc3, 0x6e, 0xab, 0xc9, 0x18, 0x75, 0x67, 0x0c, 0x4b, 0x82, 0xf6, 0x3b,
|
||||||
0xa5, 0x9f, 0x0b, 0xee, 0x87, 0xc0, 0x43, 0x57, 0x84, 0x82, 0x0c, 0xf0, 0xac, 0x3d, 0xe5, 0x51,
|
0xa8, 0x88, 0x95, 0x1d, 0x4a, 0x3f, 0x16, 0xdb, 0x07, 0xc0, 0x23, 0x57, 0x44, 0x82, 0x8c, 0xef,
|
||||||
0xa0, 0x8f, 0x41, 0x5d, 0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a7, 0x10, 0xe7, 0x91, 0x88, 0x29, 0x23, 0x99, 0x22, 0x50, 0x32, 0xad, 0xa7,
|
0x05, 0xc1, 0x28, 0x46, 0x60, 0x47, 0x84, 0xef, 0x97, 0x10, 0xe7, 0x91, 0x88, 0x94, 0x91, 0xa4,
|
||||||
0x70, 0x66, 0x47, 0xe9, 0x21, 0x99, 0xc2, 0x99, 0x8d, 0x5e, 0xc0, 0xb6, 0xcc, 0x41, 0x8e, 0xe7,
|
0x08, 0x94, 0xa4, 0xf5, 0x14, 0xce, 0xac, 0x28, 0x3d, 0x24, 0x53, 0x38, 0xb3, 0xd0, 0x33, 0xd8,
|
||||||
0x4c, 0xe7, 0x53, 0x99, 0x8b, 0x72, 0x22, 0x17, 0x55, 0x45, 0x2e, 0x92, 0xb8, 0x48, 0x49, 0x8f,
|
0x91, 0x39, 0xc8, 0xf6, 0x6c, 0x77, 0xee, 0xca, 0x5c, 0x94, 0x13, 0xb9, 0xa8, 0x22, 0x72, 0x91,
|
||||||
0x20, 0x7f, 0x69, 0x87, 0x94, 0x57, 0x8f, 0x28, 0x57, 0xe4, 0xf8, 0xba, 0x4d, 0x29, 0x27, 0xf1,
|
0xc4, 0x45, 0x4a, 0x7a, 0x04, 0xf9, 0x2b, 0x2b, 0xa4, 0xbc, 0x7a, 0x44, 0xb9, 0x22, 0xc7, 0xbf,
|
||||||
0x9a, 0x12, 0xf0, 0x2c, 0x28, 0x53, 0x44, 0xee, 0x8a, 0x52, 0xcc, 0xef, 0x72, 0x61, 0xc1, 0xfe,
|
0x3b, 0x94, 0x72, 0x11, 0xaf, 0x29, 0x01, 0xcf, 0x82, 0x32, 0x45, 0xe4, 0xae, 0x29, 0xc5, 0xfc,
|
||||||
0xb4, 0xb4, 0x50, 0x4c, 0x58, 0x90, 0xb8, 0xb0, 0xf0, 0x02, 0xb6, 0xe9, 0x27, 0x16, 0xd8, 0xc4,
|
0x2e, 0x17, 0x16, 0xac, 0x0f, 0x4b, 0x0b, 0x85, 0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xda, 0xe8, 0x34, 0xac, 0xa6, 0xa1, 0x66, 0x4f, 0xfe, 0x96, 0x81,
|
0xba, 0x9a, 0x42, 0x2a, 0x14, 0x23, 0x50, 0xc7, 0xb8, 0x8f, 0xd5, 0x34, 0x2f, 0x78, 0x11, 0x72,
|
||||||
0xac, 0x38, 0x41, 0x80, 0xce, 0xa0, 0x98, 0x98, 0xd0, 0xd0, 0xc1, 0x67, 0x27, 0xb7, 0x9a, 0xb6,
|
0xbf, 0x0f, 0x89, 0xdb, 0x94, 0x8c, 0xe8, 0x33, 0x62, 0xd6, 0xb2, 0x44, 0x93, 0xb3, 0x66, 0xb7,
|
||||||
0x79, 0x10, 0x99, 0x87, 0xaf, 0x14, 0x74, 0x0e, 0xa5, 0xe4, 0xfc, 0x83, 0x92, 0xcd, 0xea, 0x86,
|
0x69, 0xb6, 0x74, 0x35, 0x7b, 0xfa, 0xb7, 0x0c, 0x64, 0xc5, 0x09, 0x02, 0x74, 0x0e, 0x85, 0xc4,
|
||||||
0xc1, 0xe8, 0xb3, 0xba, 0xde, 0x82, 0x6a, 0x84, 0xcc, 0x99, 0xf2, 0xe6, 0x34, 0x1a, 0x17, 0x50,
|
0x48, 0x86, 0x8e, 0x3e, 0x3a, 0xaa, 0xd5, 0xaa, 0x9b, 0x27, 0x8f, 0x79, 0xf8, 0x42, 0x41, 0x17,
|
||||||
0x2d, 0xc1, 0xbf, 0x36, 0x83, 0xd4, 0xf6, 0x37, 0xd2, 0x22, 0x17, 0x76, 0xe4, 0x11, 0xa3, 0x86,
|
0x50, 0x4c, 0x0e, 0x3c, 0x28, 0xd9, 0x9d, 0x6e, 0x98, 0x84, 0x3e, 0xaa, 0xeb, 0x35, 0xa8, 0x7a,
|
||||||
0xfd, 0xce, 0x11, 0x57, 0xa7, 0x84, 0xda, 0x97, 0xf7, 0x91, 0x23, 0x6d, 0x63, 0xd8, 0xd9, 0x90,
|
0xc8, 0x6c, 0x97, 0x77, 0xa3, 0xd1, 0x7c, 0x80,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6, 0x83, 0x9b, 0x63, 0xd7, 0x1b, 0x1f, 0x8b, 0xb0, 0x3c, 0x5e,
|
0xb5, 0xa3, 0x07, 0xa4, 0x52, 0xd5, 0xd9, 0x37, 0x7f, 0x38, 0xb9, 0xb1, 0xd9, 0x74, 0x7e, 0x75,
|
||||||
0x68, 0xb9, 0xcc, 0x8a, 0x3f, 0xa4, 0x7e, 0xf3, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0xf6,
|
0x3c, 0xf6, 0xdd, 0x13, 0x87, 0xf7, 0xf4, 0x9e, 0xed, 0xdd, 0x78, 0x94, 0xfd, 0xec, 0x07, 0xb7,
|
||||||
0xab, 0x74, 0xc0, 0x12, 0x00, 0x00,
|
0x27, 0x8e, 0x37, 0x39, 0x11, 0x61, 0x79, 0xb2, 0xd0, 0x72, 0x95, 0x15, 0xff, 0x80, 0xfa, 0xf5,
|
||||||
|
0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x77, 0x3e, 0x21, 0x8e, 0xb0, 0x12, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ message SendPaymentRequest {
|
|||||||
|
|
||||||
/// The hash to use within the payment's HTLC
|
/// The hash to use within the payment's HTLC
|
||||||
bytes payment_hash = 3;
|
bytes payment_hash = 3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The CLTV delta from the current height that should be used to set the
|
The CLTV delta from the current height that should be used to set the
|
||||||
timelock for the final hop.
|
timelock for the final hop.
|
||||||
@@ -60,15 +60,15 @@ message SendPaymentRequest {
|
|||||||
*/
|
*/
|
||||||
int64 fee_limit_sat = 7;
|
int64 fee_limit_sat = 7;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The maximum number of millisatoshis that will be paid as a fee of the
|
The maximum number of millisatoshis that will be paid as a fee of the
|
||||||
payment. If this field is left to the default value of 0, only zero-fee
|
payment. If this field is left to the default value of 0, only zero-fee
|
||||||
routes will be considered. This usually means single hop routes connecting
|
routes will be considered. This usually means single hop routes connecting
|
||||||
directly to the destination. To send the payment without a fee limit, use
|
directly to the destination. To send the payment without a fee limit, use
|
||||||
max int here.
|
max int here.
|
||||||
|
|
||||||
The fields fee_limit_sat and fee_limit_msat are mutually exclusive.
|
The fields fee_limit_sat and fee_limit_msat are mutually exclusive.
|
||||||
*/
|
*/
|
||||||
int64 fee_limit_msat = 13;
|
int64 fee_limit_msat = 13;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -92,7 +92,7 @@ message SendPaymentRequest {
|
|||||||
/**
|
/**
|
||||||
Optional route hints to reach the destination through private channels.
|
Optional route hints to reach the destination through private channels.
|
||||||
*/
|
*/
|
||||||
repeated lnrpc.RouteHint route_hints = 10 [json_name = "route_hints"];
|
repeated lnrpc.RouteHint route_hints = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
An optional field that can be used to pass an arbitrary set of TLV records
|
An optional field that can be used to pass an arbitrary set of TLV records
|
||||||
@@ -136,7 +136,7 @@ enum PaymentState {
|
|||||||
There are more routes to try, but the payment timeout was exceeded.
|
There are more routes to try, but the payment timeout was exceeded.
|
||||||
*/
|
*/
|
||||||
FAILED_TIMEOUT = 2;
|
FAILED_TIMEOUT = 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
All possible routes were tried and failed permanently. Or were no
|
All possible routes were tried and failed permanently. Or were no
|
||||||
routes to the destination at all.
|
routes to the destination at all.
|
||||||
@@ -368,12 +368,12 @@ message ChannelUpdate {
|
|||||||
The fee rate that will be charged per millionth of a satoshi.
|
The fee rate that will be charged per millionth of a satoshi.
|
||||||
*/
|
*/
|
||||||
uint32 fee_rate = 9;
|
uint32 fee_rate = 9;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The maximum HTLC value which will be accepted.
|
The maximum HTLC value which will be accepted.
|
||||||
*/
|
*/
|
||||||
uint64 htlc_maximum_msat = 11;
|
uint64 htlc_maximum_msat = 11;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The set of data that was appended to this message, some of which we may
|
The set of data that was appended to this message, some of which we may
|
||||||
not actually know how to iterate or parse. By holding onto this data, we
|
not actually know how to iterate or parse. By holding onto this data, we
|
||||||
@@ -383,78 +383,81 @@ message ChannelUpdate {
|
|||||||
*/
|
*/
|
||||||
bytes extra_opaque_data = 12;
|
bytes extra_opaque_data = 12;
|
||||||
}
|
}
|
||||||
message ResetMissionControlRequest{}
|
message ResetMissionControlRequest {
|
||||||
|
}
|
||||||
|
|
||||||
message ResetMissionControlResponse{}
|
message ResetMissionControlResponse {
|
||||||
|
}
|
||||||
|
|
||||||
message QueryMissionControlRequest {}
|
message QueryMissionControlRequest {
|
||||||
|
}
|
||||||
|
|
||||||
/// QueryMissionControlResponse contains mission control state.
|
/// QueryMissionControlResponse contains mission control state.
|
||||||
message QueryMissionControlResponse {
|
message QueryMissionControlResponse {
|
||||||
reserved 1;
|
reserved 1;
|
||||||
|
|
||||||
/// Node pair-level mission control state.
|
/// Node pair-level mission control state.
|
||||||
repeated PairHistory pairs = 2 [json_name = "pairs"];
|
repeated PairHistory pairs = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// PairHistory contains the mission control state for a particular node pair.
|
/// PairHistory contains the mission control state for a particular node pair.
|
||||||
message PairHistory {
|
message PairHistory {
|
||||||
/// The source node pubkey of the pair.
|
/// The source node pubkey of the pair.
|
||||||
bytes node_from = 1 [json_name ="node_from"];
|
bytes node_from = 1;
|
||||||
|
|
||||||
/// The destination node pubkey of the pair.
|
/// The destination node pubkey of the pair.
|
||||||
bytes node_to = 2 [json_name="node_to"];
|
bytes node_to = 2;
|
||||||
|
|
||||||
reserved 3, 4, 5, 6;
|
reserved 3, 4, 5, 6;
|
||||||
|
|
||||||
PairData history = 7 [json_name="history"];
|
PairData history = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PairData {
|
message PairData {
|
||||||
/// Time of last failure.
|
/// Time of last failure.
|
||||||
int64 fail_time = 1 [json_name = "fail_time"];
|
int64 fail_time = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Lowest amount that failed to forward rounded to whole sats. This may be
|
Lowest amount that failed to forward rounded to whole sats. This may be
|
||||||
set to zero if the failure is independent of amount.
|
set to zero if the failure is independent of amount.
|
||||||
*/
|
*/
|
||||||
int64 fail_amt_sat = 2 [json_name = "fail_amt_sat"];
|
int64 fail_amt_sat = 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Lowest amount that failed to forward in millisats. This may be
|
Lowest amount that failed to forward in millisats. This may be
|
||||||
set to zero if the failure is independent of amount.
|
set to zero if the failure is independent of amount.
|
||||||
*/
|
*/
|
||||||
int64 fail_amt_msat = 4 [json_name = "fail_amt_msat"];
|
int64 fail_amt_msat = 4;
|
||||||
|
|
||||||
reserved 3;
|
reserved 3;
|
||||||
|
|
||||||
/// Time of last success.
|
/// Time of last success.
|
||||||
int64 success_time = 5 [json_name = "success_time"];
|
int64 success_time = 5;
|
||||||
|
|
||||||
/// Highest amount that we could successfully forward rounded to whole sats.
|
/// Highest amount that we could successfully forward rounded to whole sats.
|
||||||
int64 success_amt_sat = 6 [json_name = "success_amt_sat"];
|
int64 success_amt_sat = 6;
|
||||||
|
|
||||||
/// Highest amount that we could successfully forward in millisats.
|
/// Highest amount that we could successfully forward in millisats.
|
||||||
int64 success_amt_msat = 7 [json_name = "success_amt_msat"];
|
int64 success_amt_msat = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
message QueryProbabilityRequest{
|
message QueryProbabilityRequest {
|
||||||
/// The source node pubkey of the pair.
|
/// The source node pubkey of the pair.
|
||||||
bytes from_node = 1 [json_name = "from_node"];
|
bytes from_node = 1;
|
||||||
|
|
||||||
/// The destination node pubkey of the pair.
|
/// The destination node pubkey of the pair.
|
||||||
bytes to_node = 2 [json_name = "to_node"];
|
bytes to_node = 2;
|
||||||
|
|
||||||
/// The amount for which to calculate a probability.
|
/// The amount for which to calculate a probability.
|
||||||
int64 amt_msat = 3 [json_name = "amt_msat"];
|
int64 amt_msat = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message QueryProbabilityResponse{
|
message QueryProbabilityResponse {
|
||||||
/// The success probability for the requested pair.
|
/// The success probability for the requested pair.
|
||||||
double probability = 1 [json_name = "probability"];
|
double probability = 1;
|
||||||
|
|
||||||
/// The historical data for the requested pair.
|
/// The historical data for the requested pair.
|
||||||
PairData history = 2 [json_name = "history"];
|
PairData history = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BuildRouteRequest {
|
message BuildRouteRequest {
|
||||||
@@ -496,50 +499,49 @@ service Router {
|
|||||||
PaymentRequest to the final destination. The call returns a stream of
|
PaymentRequest to the final destination. The call returns a stream of
|
||||||
payment status updates.
|
payment status updates.
|
||||||
*/
|
*/
|
||||||
rpc SendPayment(SendPaymentRequest) returns (stream PaymentStatus);
|
rpc SendPayment (SendPaymentRequest) returns (stream PaymentStatus);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
TrackPayment returns an update stream for the payment identified by the
|
TrackPayment returns an update stream for the payment identified by the
|
||||||
payment hash.
|
payment hash.
|
||||||
*/
|
*/
|
||||||
rpc TrackPayment(TrackPaymentRequest) returns (stream PaymentStatus);
|
rpc TrackPayment (TrackPaymentRequest) returns (stream PaymentStatus);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
||||||
may cost to send an HTLC to the target end destination.
|
may cost to send an HTLC to the target end destination.
|
||||||
*/
|
*/
|
||||||
rpc EstimateRouteFee(RouteFeeRequest) returns (RouteFeeResponse);
|
rpc EstimateRouteFee (RouteFeeRequest) returns (RouteFeeResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
SendToRoute attempts to make a payment via the specified route. This method
|
SendToRoute attempts to make a payment via the specified route. This method
|
||||||
differs from SendPayment in that it allows users to specify a full route
|
differs from SendPayment in that it allows users to specify a full route
|
||||||
manually. This can be used for things like rebalancing, and atomic swaps.
|
manually. This can be used for things like rebalancing, and atomic swaps.
|
||||||
*/
|
*/
|
||||||
rpc SendToRoute(SendToRouteRequest) returns (SendToRouteResponse);
|
rpc SendToRoute (SendToRouteRequest) returns (SendToRouteResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
ResetMissionControl clears all mission control state and starts with a clean
|
ResetMissionControl clears all mission control state and starts with a clean
|
||||||
slate.
|
slate.
|
||||||
*/
|
*/
|
||||||
rpc ResetMissionControl(ResetMissionControlRequest) returns (ResetMissionControlResponse);
|
rpc ResetMissionControl (ResetMissionControlRequest) returns (ResetMissionControlResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
QueryMissionControl exposes the internal mission control state to callers.
|
QueryMissionControl exposes the internal mission control state to callers.
|
||||||
It is a development feature.
|
It is a development feature.
|
||||||
*/
|
*/
|
||||||
rpc QueryMissionControl(QueryMissionControlRequest) returns (QueryMissionControlResponse);
|
rpc QueryMissionControl (QueryMissionControlRequest) returns (QueryMissionControlResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
QueryProbability returns the current success probability estimate for a
|
QueryProbability returns the current success probability estimate for a
|
||||||
given node pair and amount.
|
given node pair and amount.
|
||||||
*/
|
*/
|
||||||
rpc QueryProbability(QueryProbabilityRequest) returns (QueryProbabilityResponse);
|
rpc QueryProbability (QueryProbabilityRequest) returns (QueryProbabilityResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
BuildRoute builds a fully specified route based on a list of hop public
|
BuildRoute builds a fully specified route based on a list of hop public
|
||||||
keys. It retrieves the relevant channel policies from the graph in order to
|
keys. It retrieves the relevant channel policies from the graph in order to
|
||||||
calculate the correct fees and time locks.
|
calculate the correct fees and time locks.
|
||||||
*/
|
*/
|
||||||
rpc BuildRoute(BuildRouteRequest) returns (BuildRouteResponse);
|
rpc BuildRoute (BuildRouteRequest) returns (BuildRouteResponse);
|
||||||
}
|
}
|
||||||
+934
-903
File diff suppressed because it is too large.
Load diff
+478
-471
File diff suppressed because it is too large.
Load diff
@@ -2192,7 +2192,7 @@
|
|||||||
"format": "uint64",
|
"format": "uint64",
|
||||||
"description": "/ The short channel id that this fee report belongs to."
|
"description": "/ The short channel id that this fee report belongs to."
|
||||||
},
|
},
|
||||||
"chan_point": {
|
"channel_point": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "/ The channel that this fee report belongs to."
|
"description": "/ The channel that this fee report belongs to."
|
||||||
},
|
},
|
||||||
@@ -4196,7 +4196,7 @@
|
|||||||
"lnrpcUtxo": {
|
"lnrpcUtxo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"address_type": {
|
||||||
"$ref": "#/definitions/lnrpcAddressType",
|
"$ref": "#/definitions/lnrpcAddressType",
|
||||||
"title": "/ The type of address"
|
"title": "/ The type of address"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ message VerifyMessageResp {
|
|||||||
message SharedKeyRequest {
|
message SharedKeyRequest {
|
||||||
// The ephemeral public key to use for the DH key derivation.
|
// The ephemeral public key to use for the DH key derivation.
|
||||||
bytes ephemeral_pubkey = 1;
|
bytes ephemeral_pubkey = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The optional key locator of the local key that should be used. If this
|
The optional key locator of the local key that should be used. If this
|
||||||
parameter is not set then the node's identity private key will be used.
|
parameter is not set then the node's identity private key will be used.
|
||||||
|
|||||||
@@ -518,24 +518,24 @@ type PendingSweep struct {
|
|||||||
// The outpoint of the output we're attempting to sweep.
|
// The outpoint of the output we're attempting to sweep.
|
||||||
Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
||||||
// The witness type of the output we're attempting to sweep.
|
// The witness type of the output we're attempting to sweep.
|
||||||
WitnessType WitnessType `protobuf:"varint,2,opt,name=witness_type,proto3,enum=walletrpc.WitnessType" json:"witness_type,omitempty"`
|
WitnessType WitnessType `protobuf:"varint,2,opt,name=witness_type,json=witnessType,proto3,enum=walletrpc.WitnessType" json:"witness_type,omitempty"`
|
||||||
// The value of the output we're attempting to sweep.
|
// The value of the output we're attempting to sweep.
|
||||||
AmountSat uint32 `protobuf:"varint,3,opt,name=amount_sat,proto3" json:"amount_sat,omitempty"`
|
AmountSat uint32 `protobuf:"varint,3,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
|
||||||
//
|
//
|
||||||
//The fee rate we'll use to sweep the output. The fee rate is only determined
|
//The fee rate we'll use to sweep the output. The fee rate is only determined
|
||||||
//once a sweeping transaction for the output is created, so it's possible for
|
//once a sweeping transaction for the output is created, so it's possible for
|
||||||
//this to be 0 before this.
|
//this to be 0 before this.
|
||||||
SatPerByte uint32 `protobuf:"varint,4,opt,name=sat_per_byte,proto3" json:"sat_per_byte,omitempty"`
|
SatPerByte uint32 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
|
||||||
// The number of broadcast attempts we've made to sweep the output.
|
// The number of broadcast attempts we've made to sweep the output.
|
||||||
BroadcastAttempts uint32 `protobuf:"varint,5,opt,name=broadcast_attempts,proto3" json:"broadcast_attempts,omitempty"`
|
BroadcastAttempts uint32 `protobuf:"varint,5,opt,name=broadcast_attempts,json=broadcastAttempts,proto3" json:"broadcast_attempts,omitempty"`
|
||||||
//
|
//
|
||||||
//The next height of the chain at which we'll attempt to broadcast the
|
//The next height of the chain at which we'll attempt to broadcast the
|
||||||
//sweep transaction of the output.
|
//sweep transaction of the output.
|
||||||
NextBroadcastHeight uint32 `protobuf:"varint,6,opt,name=next_broadcast_height,proto3" json:"next_broadcast_height,omitempty"`
|
NextBroadcastHeight uint32 `protobuf:"varint,6,opt,name=next_broadcast_height,json=nextBroadcastHeight,proto3" json:"next_broadcast_height,omitempty"`
|
||||||
// The requested confirmation target for this output.
|
// The requested confirmation target for this output.
|
||||||
RequestedConfTarget uint32 `protobuf:"varint,8,opt,name=requested_conf_target,proto3" json:"requested_conf_target,omitempty"`
|
RequestedConfTarget uint32 `protobuf:"varint,8,opt,name=requested_conf_target,json=requestedConfTarget,proto3" json:"requested_conf_target,omitempty"`
|
||||||
// The requested fee rate, expressed in sat/byte, for this output.
|
// The requested fee rate, expressed in sat/byte, for this output.
|
||||||
RequestedSatPerByte uint32 `protobuf:"varint,9,opt,name=requested_sat_per_byte,proto3" json:"requested_sat_per_byte,omitempty"`
|
RequestedSatPerByte uint32 `protobuf:"varint,9,opt,name=requested_sat_per_byte,json=requestedSatPerByte,proto3" json:"requested_sat_per_byte,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Whether this input must be force-swept. This means that it is swept even
|
//Whether this input must be force-swept. This means that it is swept even
|
||||||
//if it has a negative yield.
|
//if it has a negative yield.
|
||||||
@@ -667,7 +667,7 @@ var xxx_messageInfo_PendingSweepsRequest proto.InternalMessageInfo
|
|||||||
type PendingSweepsResponse struct {
|
type PendingSweepsResponse struct {
|
||||||
//
|
//
|
||||||
//The set of outputs currently being swept by lnd's central batching engine.
|
//The set of outputs currently being swept by lnd's central batching engine.
|
||||||
PendingSweeps []*PendingSweep `protobuf:"bytes,1,rep,name=pending_sweeps,proto3" json:"pending_sweeps,omitempty"`
|
PendingSweeps []*PendingSweep `protobuf:"bytes,1,rep,name=pending_sweeps,json=pendingSweeps,proto3" json:"pending_sweeps,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -709,11 +709,11 @@ type BumpFeeRequest struct {
|
|||||||
// The input we're attempting to bump the fee of.
|
// The input we're attempting to bump the fee of.
|
||||||
Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
||||||
// The target number of blocks that the input should be spent within.
|
// The target number of blocks that the input should be spent within.
|
||||||
TargetConf uint32 `protobuf:"varint,2,opt,name=target_conf,proto3" json:"target_conf,omitempty"`
|
TargetConf uint32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
||||||
//
|
//
|
||||||
//The fee rate, expressed in sat/byte, that should be used to spend the input
|
//The fee rate, expressed in sat/byte, that should be used to spend the input
|
||||||
//with.
|
//with.
|
||||||
SatPerByte uint32 `protobuf:"varint,3,opt,name=sat_per_byte,proto3" json:"sat_per_byte,omitempty"`
|
SatPerByte uint32 `protobuf:"varint,3,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Whether this input must be force-swept. This means that it is swept even
|
//Whether this input must be force-swept. This means that it is swept even
|
||||||
//if it has a negative yield.
|
//if it has a negative yield.
|
||||||
@@ -828,72 +828,73 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("walletrpc/walletkit.proto", fileDescriptor_6cc6942ac78249e5) }
|
func init() { proto.RegisterFile("walletrpc/walletkit.proto", fileDescriptor_6cc6942ac78249e5) }
|
||||||
|
|
||||||
var fileDescriptor_6cc6942ac78249e5 = []byte{
|
var fileDescriptor_6cc6942ac78249e5 = []byte{
|
||||||
// 1026 bytes of a gzipped FileDescriptorProto
|
// 1047 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x6d, 0x6f, 0xe2, 0xc6,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x6b, 0x6f, 0xea, 0x46,
|
||||||
0x13, 0xff, 0x13, 0x12, 0x02, 0x03, 0x24, 0xce, 0xe6, 0xc9, 0xc7, 0xe5, 0x2e, 0xfc, 0xdd, 0x07,
|
0x10, 0x2d, 0x21, 0x21, 0x30, 0x40, 0x42, 0x96, 0x3c, 0x7c, 0xb9, 0xb9, 0x0d, 0x75, 0x1f, 0x42,
|
||||||
0xa1, 0xb6, 0x02, 0x35, 0xd7, 0x9e, 0xaa, 0xf6, 0x45, 0x9b, 0x23, 0x8e, 0x12, 0x41, 0x30, 0xb5,
|
0x7d, 0x80, 0x9a, 0xa8, 0x55, 0x1f, 0x52, 0xd5, 0x84, 0x38, 0x22, 0x82, 0x60, 0x6a, 0x3b, 0x37,
|
||||||
0x9d, 0x4b, 0xaf, 0xaa, 0xb4, 0x72, 0x60, 0x03, 0x16, 0x60, 0xfb, 0xd6, 0x4b, 0x81, 0xb7, 0xfd,
|
0xba, 0x55, 0xa5, 0x95, 0x03, 0x1b, 0x62, 0x01, 0xb6, 0xef, 0x7a, 0x29, 0xf8, 0x6b, 0x7f, 0x44,
|
||||||
0x16, 0xfd, 0x00, 0xfd, 0x12, 0xfd, 0x74, 0x95, 0xd7, 0x0f, 0x59, 0xf3, 0x50, 0xa9, 0xaf, 0x82,
|
0xa5, 0xfe, 0x95, 0xfe, 0xba, 0xca, 0xeb, 0x07, 0x6b, 0x68, 0x2a, 0xf5, 0x53, 0xf0, 0x39, 0x67,
|
||||||
0x7f, 0xbf, 0xdf, 0xcc, 0xce, 0xce, 0xcc, 0xce, 0x04, 0x5e, 0xcc, 0xac, 0xf1, 0x98, 0x30, 0xea,
|
0x8e, 0x67, 0x67, 0xc7, 0x33, 0x81, 0x57, 0x0b, 0x73, 0x3a, 0x25, 0x8c, 0xba, 0xc3, 0x56, 0xf8,
|
||||||
0xf5, 0x1a, 0xe1, 0xaf, 0x91, 0xcd, 0xea, 0x1e,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e, 0x6e, 0x01, 0x5d, 0xc0, 0xf1,
|
||||||
0xef, 0x56, 0x33, 0xb5, 0xbc, 0x1e, 0x7e, 0x28, 0x27, 0x70, 0x24, 0x96, 0x29, 0xee, 0x50, 0xe5,
|
0x2a, 0x26, 0x75, 0x84, 0xc2, 0x5a, 0x90, 0xbe, 0x3a, 0xcb, 0x21, 0xec, 0x3c, 0x39, 0x74, 0x48,
|
||||||
0x17, 0x38, 0x5e, 0xc2, 0xa3, 0xb2, 0xff, 0x08, 0x7b, 0x5e, 0x48, 0x60, 0x9f, 0x33, 0x72, 0x86,
|
0xa4, 0xdd, 0x7a, 0xa6, 0x91, 0xd7, 0xc2, 0x07, 0xf9, 0x18, 0x0e, 0xc5, 0xab, 0x89, 0xbb, 0x52,
|
||||||
0xf7, 0xe8, 0xa9, 0x50, 0x1c, 0xd1, 0x52, 0x5f, 0x92, 0x2b, 0x7f, 0x66, 0x60, 0xef, 0xdd, 0x74,
|
0x7e, 0x80, 0xa3, 0x35, 0x3c, 0xba, 0xea, 0x9f, 0x60, 0xcf, 0x0d, 0x09, 0xec, 0x71, 0x46, 0xca,
|
||||||
0xe2, 0x09, 0x2d, 0xf8, 0x9f, 0x7a, 0xa3, 0x0a, 0xc5, 0x30, 0x13, 0x3c, 0x2b, 0xbc, 0x35, 0xca,
|
0xf0, 0xbe, 0x3c, 0x11, 0x2e, 0x44, 0x8c, 0xd4, 0xca, 0xae, 0xe8, 0x23, 0xff, 0x99, 0x81, 0xbd,
|
||||||
0xba, 0x08, 0xad, 0x54, 0x38, 0xbb, 0xa6, 0xc2, 0x49, 0x36, 0xb6, 0xc5, 0x6c, 0x1c, 0xc0, 0x7e,
|
0xab, 0xf9, 0xcc, 0x15, 0xba, 0xee, 0x7f, 0xb5, 0xc3, 0x19, 0x14, 0xc3, 0x02, 0xf1, 0x62, 0xf1,
|
||||||
0x12, 0x5a, 0x78, 0xdf, 0x2f, 0xfe, 0xc8, 0x42, 0x51, 0x68, 0x36, 0x74, 0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0x6c, 0x67, 0xe0,
|
0x9e, 0x3f, 0xc3, 0x6e, 0xf4, 0x49, 0xa2, 0x57, 0x82, 0x38, 0x3d, 0x3e, 0x52, 0x15, 0x5b, 0xfb,
|
||||||
0x10, 0x36, 0x73, 0xe9, 0xa8, 0x31, 0x76, 0xfa, 0x0d, 0x3e, 0x6c, 0x1a, 0x89, 0x8b, 0xc7, 0x1c,
|
0x82, 0xaf, 0xbe, 0xfe, 0xb5, 0x35, 0xb6, 0xd8, 0xf3, 0xfc, 0xb1, 0x39, 0x74, 0x66, 0xad, 0x69,
|
||||||
0xff, 0x07, 0xe5, 0xcd, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x4e, 0xaf, 0xaf, 0xe9, 0x08,
|
0x30, 0x71, 0x6d, 0xcb, 0x1e, 0xdb, 0x84, 0x2d, 0x1c, 0x3a, 0x69, 0x4d, 0xed, 0x51, 0x8b, 0x4f,
|
||||||
0x00, 0x00,
|
0x9a, 0x56, 0x62, 0xf1, 0x98, 0xe3, 0xff, 0x90, 0x5c, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0x3b,
|
||||||
|
0x08, 0xac, 0xe2, 0xd9, 0x08, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ message KeyReq {
|
|||||||
int32 key_family = 2;
|
int32 key_family = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AddrRequest{
|
message AddrRequest {
|
||||||
// No fields, as we always give out a p2wkh address.
|
// No fields, as we always give out a p2wkh address.
|
||||||
}
|
}
|
||||||
message AddrResponse {
|
message AddrResponse {
|
||||||
@@ -168,41 +168,41 @@ enum WitnessType {
|
|||||||
|
|
||||||
message PendingSweep {
|
message PendingSweep {
|
||||||
// The outpoint of the output we're attempting to sweep.
|
// The outpoint of the output we're attempting to sweep.
|
||||||
lnrpc.OutPoint outpoint = 1 [json_name = "outpoint"];
|
lnrpc.OutPoint outpoint = 1;
|
||||||
|
|
||||||
// The witness type of the output we're attempting to sweep.
|
// The witness type of the output we're attempting to sweep.
|
||||||
WitnessType witness_type = 2 [json_name = "witness_type"];
|
WitnessType witness_type = 2;
|
||||||
|
|
||||||
// The value of the output we're attempting to sweep.
|
// The value of the output we're attempting to sweep.
|
||||||
uint32 amount_sat = 3 [json_name = "amount_sat"];
|
uint32 amount_sat = 3;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The fee rate we'll use to sweep the output. The fee rate is only determined
|
The fee rate we'll use to sweep the output. The fee rate is only determined
|
||||||
once a sweeping transaction for the output is created, so it's possible for
|
once a sweeping transaction for the output is created, so it's possible for
|
||||||
this to be 0 before this.
|
this to be 0 before this.
|
||||||
*/
|
*/
|
||||||
uint32 sat_per_byte = 4 [json_name = "sat_per_byte"];
|
uint32 sat_per_byte = 4;
|
||||||
|
|
||||||
// The number of broadcast attempts we've made to sweep the output.
|
// The number of broadcast attempts we've made to sweep the output.
|
||||||
uint32 broadcast_attempts = 5 [json_name = "broadcast_attempts"];
|
uint32 broadcast_attempts = 5;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The next height of the chain at which we'll attempt to broadcast the
|
The next height of the chain at which we'll attempt to broadcast the
|
||||||
sweep transaction of the output.
|
sweep transaction of the output.
|
||||||
*/
|
*/
|
||||||
uint32 next_broadcast_height = 6 [json_name = "next_broadcast_height"];
|
uint32 next_broadcast_height = 6;
|
||||||
|
|
||||||
// The requested confirmation target for this output.
|
// The requested confirmation target for this output.
|
||||||
uint32 requested_conf_target = 8 [json_name = "requested_conf_target"];
|
uint32 requested_conf_target = 8;
|
||||||
|
|
||||||
// The requested fee rate, expressed in sat/byte, for this output.
|
// The requested fee rate, expressed in sat/byte, for this output.
|
||||||
uint32 requested_sat_per_byte = 9 [json_name = "requested_sat_per_byte"];
|
uint32 requested_sat_per_byte = 9;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Whether this input must be force-swept. This means that it is swept even
|
Whether this input must be force-swept. This means that it is swept even
|
||||||
if it has a negative yield.
|
if it has a negative yield.
|
||||||
*/
|
*/
|
||||||
bool force = 7 [json_name = "force"];
|
bool force = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PendingSweepsRequest {
|
message PendingSweepsRequest {
|
||||||
@@ -212,27 +212,27 @@ message PendingSweepsResponse {
|
|||||||
/*
|
/*
|
||||||
The set of outputs currently being swept by lnd's central batching engine.
|
The set of outputs currently being swept by lnd's central batching engine.
|
||||||
*/
|
*/
|
||||||
repeated PendingSweep pending_sweeps = 1 [json_name = "pending_sweeps"];
|
repeated PendingSweep pending_sweeps = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BumpFeeRequest {
|
message BumpFeeRequest {
|
||||||
// The input we're attempting to bump the fee of.
|
// The input we're attempting to bump the fee of.
|
||||||
lnrpc.OutPoint outpoint = 1 [json_name = "outpoint"];
|
lnrpc.OutPoint outpoint = 1;
|
||||||
|
|
||||||
// The target number of blocks that the input should be spent within.
|
// The target number of blocks that the input should be spent within.
|
||||||
uint32 target_conf = 2 [json_name = "target_conf"];
|
uint32 target_conf = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The fee rate, expressed in sat/byte, that should be used to spend the input
|
The fee rate, expressed in sat/byte, that should be used to spend the input
|
||||||
with.
|
with.
|
||||||
*/
|
*/
|
||||||
uint32 sat_per_byte = 3 [json_name = "sat_per_byte"];
|
uint32 sat_per_byte = 3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Whether this input must be force-swept. This means that it is swept even
|
Whether this input must be force-swept. This means that it is swept even
|
||||||
if it has a negative yield.
|
if it has a negative yield.
|
||||||
*/
|
*/
|
||||||
bool force = 4 [json_name = "force"];
|
bool force = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BumpFeeResponse {
|
message BumpFeeResponse {
|
||||||
@@ -244,18 +244,18 @@ service WalletKit {
|
|||||||
(account in BIP43) specified. This method should return the next external
|
(account in BIP43) specified. This method should return the next external
|
||||||
child within this branch.
|
child within this branch.
|
||||||
*/
|
*/
|
||||||
rpc DeriveNextKey(KeyReq) returns (signrpc.KeyDescriptor);
|
rpc DeriveNextKey (KeyReq) returns (signrpc.KeyDescriptor);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
DeriveKey attempts to derive an arbitrary key specified by the passed
|
DeriveKey attempts to derive an arbitrary key specified by the passed
|
||||||
KeyLocator.
|
KeyLocator.
|
||||||
*/
|
*/
|
||||||
rpc DeriveKey(signrpc.KeyLocator) returns (signrpc.KeyDescriptor);
|
rpc DeriveKey (signrpc.KeyLocator) returns (signrpc.KeyDescriptor);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
NextAddr returns the next unused address within the wallet.
|
NextAddr returns the next unused address within the wallet.
|
||||||
*/
|
*/
|
||||||
rpc NextAddr(AddrRequest) returns (AddrResponse);
|
rpc NextAddr (AddrRequest) returns (AddrResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
PublishTransaction attempts to publish the passed transaction to the
|
PublishTransaction attempts to publish the passed transaction to the
|
||||||
@@ -263,21 +263,21 @@ service WalletKit {
|
|||||||
attempt to re-broadcast the transaction on start up, until it enters the
|
attempt to re-broadcast the transaction on start up, until it enters the
|
||||||
chain.
|
chain.
|
||||||
*/
|
*/
|
||||||
rpc PublishTransaction(Transaction) returns (PublishResponse);
|
rpc PublishTransaction (Transaction) returns (PublishResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
SendOutputs is similar to the existing sendmany call in Bitcoind, and
|
||||||
allows the caller to create a transaction that sends to several outputs at
|
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.
|
once. This is ideal when wanting to batch create a set of transactions.
|
||||||
*/
|
*/
|
||||||
rpc SendOutputs(SendOutputsRequest) returns (SendOutputsResponse);
|
rpc SendOutputs (SendOutputsRequest) returns (SendOutputsResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
EstimateFee attempts to query the internal fee estimator of the wallet to
|
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
|
determine the fee (in sat/kw) to attach to a transaction in order to
|
||||||
achieve the confirmation target.
|
achieve the confirmation target.
|
||||||
*/
|
*/
|
||||||
rpc EstimateFee(EstimateFeeRequest) returns (EstimateFeeResponse);
|
rpc EstimateFee (EstimateFeeRequest) returns (EstimateFeeResponse);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
PendingSweeps returns lists of on-chain outputs that lnd is currently
|
PendingSweeps returns lists of on-chain outputs that lnd is currently
|
||||||
@@ -289,7 +289,7 @@ service WalletKit {
|
|||||||
remain supported. This is an advanced API that depends on the internals of
|
remain supported. This is an advanced API that depends on the internals of
|
||||||
the UtxoSweeper, so things may change.
|
the UtxoSweeper, so things may change.
|
||||||
*/
|
*/
|
||||||
rpc PendingSweeps(PendingSweepsRequest) returns (PendingSweepsResponse);
|
rpc PendingSweeps (PendingSweepsRequest) returns (PendingSweepsResponse);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
BumpFee bumps the fee of an arbitrary input within a transaction. This RPC
|
BumpFee bumps the fee of an arbitrary input within a transaction. This RPC
|
||||||
@@ -318,5 +318,5 @@ service WalletKit {
|
|||||||
fee preference being provided. For now, the responsibility of ensuring that
|
fee preference being provided. For now, the responsibility of ensuring that
|
||||||
the new fee preference is sufficient is delegated to the user.
|
the new fee preference is sufficient is delegated to the user.
|
||||||
*/
|
*/
|
||||||
rpc BumpFee(BumpFeeRequest) returns (BumpFeeResponse);
|
rpc BumpFee (BumpFeeRequest) returns (BumpFeeResponse);
|
||||||
}
|
}
|
||||||
@@ -5,24 +5,24 @@ package watchtowerrpc;
|
|||||||
option go_package = "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc";
|
option go_package = "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc";
|
||||||
|
|
||||||
service Watchtower {
|
service Watchtower {
|
||||||
/** lncli: tower info
|
/** lncli: tower info
|
||||||
GetInfo returns general information concerning the companion watchtower
|
GetInfo returns general information concerning the companion watchtower
|
||||||
including it's public key and URIs where the server is currently
|
including it's public key and URIs where the server is currently
|
||||||
listening for clients.
|
listening for clients.
|
||||||
*/
|
*/
|
||||||
rpc GetInfo(GetInfoRequest) returns (GetInfoResponse);
|
rpc GetInfo (GetInfoRequest) returns (GetInfoResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetInfoRequest{
|
message GetInfoRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetInfoResponse {
|
message GetInfoResponse {
|
||||||
/// The public key of the watchtower.
|
/// The public key of the watchtower.
|
||||||
bytes pubkey = 1 [json_name = "pubkey"];
|
bytes pubkey = 1;
|
||||||
|
|
||||||
/// The listening addresses of the watchtower.
|
/// The listening addresses of the watchtower.
|
||||||
repeated string listeners = 2 [json_name = "listeners"];
|
repeated string listeners = 2;
|
||||||
|
|
||||||
/// The URIs of the watchtower.
|
/// The URIs of the watchtower.
|
||||||
repeated string uris = 3 [json_name = "uris" ];
|
repeated string uris = 3;
|
||||||
}
|
}
|
||||||
@@ -189,7 +189,7 @@ type GetTowerInfoRequest struct {
|
|||||||
// The identifying public key of the watchtower to retrieve information for.
|
// The identifying public key of the watchtower to retrieve information for.
|
||||||
Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
|
Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
|
||||||
// Whether we should include sessions with the watchtower in the response.
|
// Whether we should include sessions with the watchtower in the response.
|
||||||
IncludeSessions bool `protobuf:"varint,2,opt,name=include_sessions,proto3" json:"include_sessions,omitempty"`
|
IncludeSessions bool `protobuf:"varint,2,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -238,17 +238,17 @@ type TowerSession struct {
|
|||||||
//
|
//
|
||||||
//The total number of successful backups that have been made to the
|
//The total number of successful backups that have been made to the
|
||||||
//watchtower session.
|
//watchtower session.
|
||||||
NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,proto3" json:"num_backups,omitempty"`
|
NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,json=numBackups,proto3" json:"num_backups,omitempty"`
|
||||||
//
|
//
|
||||||
//The total number of backups in the session that are currently pending to be
|
//The total number of backups in the session that are currently pending to be
|
||||||
//acknowledged by the watchtower.
|
//acknowledged by the watchtower.
|
||||||
NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,proto3" json:"num_pending_backups,omitempty"`
|
NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,json=numPendingBackups,proto3" json:"num_pending_backups,omitempty"`
|
||||||
// The maximum number of backups allowed by the watchtower session.
|
// The maximum number of backups allowed by the watchtower session.
|
||||||
MaxBackups uint32 `protobuf:"varint,3,opt,name=max_backups,proto3" json:"max_backups,omitempty"`
|
MaxBackups uint32 `protobuf:"varint,3,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
|
||||||
//
|
//
|
||||||
//The fee rate, in satoshis per vbyte, that will be used by the watchtower for
|
//The fee rate, in satoshis per vbyte, that will be used by the watchtower for
|
||||||
//the justice transaction in the event of a channel breach.
|
//the justice transaction in the event of a channel breach.
|
||||||
SweepSatPerByte uint32 `protobuf:"varint,4,opt,name=sweep_sat_per_byte,proto3" json:"sweep_sat_per_byte,omitempty"`
|
SweepSatPerByte uint32 `protobuf:"varint,4,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -313,9 +313,9 @@ type Tower struct {
|
|||||||
// The list of addresses the watchtower is reachable over.
|
// The list of addresses the watchtower is reachable over.
|
||||||
Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
||||||
// Whether the watchtower is currently a candidate for new sessions.
|
// Whether the watchtower is currently a candidate for new sessions.
|
||||||
ActiveSessionCandidate bool `protobuf:"varint,3,opt,name=active_session_candidate,proto3" json:"active_session_candidate,omitempty"`
|
ActiveSessionCandidate bool `protobuf:"varint,3,opt,name=active_session_candidate,json=activeSessionCandidate,proto3" json:"active_session_candidate,omitempty"`
|
||||||
// The number of sessions that have been negotiated with the watchtower.
|
// The number of sessions that have been negotiated with the watchtower.
|
||||||
NumSessions uint32 `protobuf:"varint,4,opt,name=num_sessions,proto3" json:"num_sessions,omitempty"`
|
NumSessions uint32 `protobuf:"varint,4,opt,name=num_sessions,json=numSessions,proto3" json:"num_sessions,omitempty"`
|
||||||
// The list of sessions that have been negotiated with the watchtower.
|
// The list of sessions that have been negotiated with the watchtower.
|
||||||
Sessions []*TowerSession `protobuf:"bytes,5,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
Sessions []*TowerSession `protobuf:"bytes,5,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
@@ -385,7 +385,7 @@ func (m *Tower) GetSessions() []*TowerSession {
|
|||||||
|
|
||||||
type ListTowersRequest struct {
|
type ListTowersRequest struct {
|
||||||
// Whether we should include sessions with the watchtower in the response.
|
// Whether we should include sessions with the watchtower in the response.
|
||||||
IncludeSessions bool `protobuf:"varint,1,opt,name=include_sessions,proto3" json:"include_sessions,omitempty"`
|
IncludeSessions bool `protobuf:"varint,1,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -498,19 +498,19 @@ type StatsResponse struct {
|
|||||||
//
|
//
|
||||||
//The total number of backups made to all active and exhausted watchtower
|
//The total number of backups made to all active and exhausted watchtower
|
||||||
//sessions.
|
//sessions.
|
||||||
NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,proto3" json:"num_backups,omitempty"`
|
NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,json=numBackups,proto3" json:"num_backups,omitempty"`
|
||||||
//
|
//
|
||||||
//The total number of backups that are pending to be acknowledged by all
|
//The total number of backups that are pending to be acknowledged by all
|
||||||
//active and exhausted watchtower sessions.
|
//active and exhausted watchtower sessions.
|
||||||
NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,proto3" json:"num_pending_backups,omitempty"`
|
NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,json=numPendingBackups,proto3" json:"num_pending_backups,omitempty"`
|
||||||
//
|
//
|
||||||
//The total number of backups that all active and exhausted watchtower
|
//The total number of backups that all active and exhausted watchtower
|
||||||
//sessions have failed to acknowledge.
|
//sessions have failed to acknowledge.
|
||||||
NumFailedBackups uint32 `protobuf:"varint,3,opt,name=num_failed_backups,proto3" json:"num_failed_backups,omitempty"`
|
NumFailedBackups uint32 `protobuf:"varint,3,opt,name=num_failed_backups,json=numFailedBackups,proto3" json:"num_failed_backups,omitempty"`
|
||||||
// The total number of new sessions made to watchtowers.
|
// The total number of new sessions made to watchtowers.
|
||||||
NumSessionsAcquired uint32 `protobuf:"varint,4,opt,name=num_sessions_acquired,proto3" json:"num_sessions_acquired,omitempty"`
|
NumSessionsAcquired uint32 `protobuf:"varint,4,opt,name=num_sessions_acquired,json=numSessionsAcquired,proto3" json:"num_sessions_acquired,omitempty"`
|
||||||
// The total number of watchtower sessions that have been exhausted.
|
// The total number of watchtower sessions that have been exhausted.
|
||||||
NumSessionsExhausted uint32 `protobuf:"varint,5,opt,name=num_sessions_exhausted,proto3" json:"num_sessions_exhausted,omitempty"`
|
NumSessionsExhausted uint32 `protobuf:"varint,5,opt,name=num_sessions_exhausted,json=numSessionsExhausted,proto3" json:"num_sessions_exhausted,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -611,11 +611,11 @@ type PolicyResponse struct {
|
|||||||
//
|
//
|
||||||
//The maximum number of updates each session we negotiate with watchtowers
|
//The maximum number of updates each session we negotiate with watchtowers
|
||||||
//should allow.
|
//should allow.
|
||||||
MaxUpdates uint32 `protobuf:"varint,1,opt,name=max_updates,proto3" json:"max_updates,omitempty"`
|
MaxUpdates uint32 `protobuf:"varint,1,opt,name=max_updates,json=maxUpdates,proto3" json:"max_updates,omitempty"`
|
||||||
//
|
//
|
||||||
//The fee rate, in satoshis per vbyte, that will be used by watchtowers for
|
//The fee rate, in satoshis per vbyte, that will be used by watchtowers for
|
||||||
//justice transactions in response to channel breaches.
|
//justice transactions in response to channel breaches.
|
||||||
SweepSatPerByte uint32 `protobuf:"varint,2,opt,name=sweep_sat_per_byte,proto3" json:"sweep_sat_per_byte,omitempty"`
|
SweepSatPerByte uint32 `protobuf:"varint,2,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -679,47 +679,50 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("wtclientrpc/wtclient.proto", fileDescriptor_b5f4e7d95a641af2) }
|
func init() { proto.RegisterFile("wtclientrpc/wtclient.proto", fileDescriptor_b5f4e7d95a641af2) }
|
||||||
|
|
||||||
var fileDescriptor_b5f4e7d95a641af2 = []byte{
|
var fileDescriptor_b5f4e7d95a641af2 = []byte{
|
||||||
// 634 bytes of a gzipped FileDescriptorProto
|
// 682 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcb, 0x6e, 0xd3, 0x40,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4d, 0x6f, 0xd3, 0x40,
|
||||||
0x14, 0x95, 0x13, 0x12, 0xd2, 0x9b, 0xf4, 0xc1, 0xad, 0x5a, 0x19, 0x53, 0x68, 0xe4, 0x55, 0xd4,
|
0x10, 0x95, 0x1b, 0x12, 0xd2, 0x49, 0xda, 0xa4, 0x1b, 0x5a, 0x19, 0x53, 0x48, 0xf0, 0x29, 0x7c,
|
||||||
0x45, 0x02, 0x2d, 0xb0, 0x60, 0x01, 0x94, 0x22, 0x2a, 0x24, 0x90, 0x2a, 0x17, 0x09, 0xc1, 0xc6,
|
0x28, 0x11, 0x2d, 0x48, 0x9c, 0x2a, 0xda, 0x42, 0x2b, 0x24, 0x90, 0x22, 0x17, 0x04, 0xe2, 0x80,
|
||||||
0xf2, 0x63,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 0x08, 0x9f, 0xc2, 0x76, 0x7a, 0x8c, 0x08, 0xf3, 0x29, 0x9b, 0x96, 0xca, 0x96, 0x54,
|
0x4c, 0x08, 0x6f, 0x19, 0x40, 0x23, 0xef, 0x24, 0xa9, 0xa0, 0x01, 0x74, 0x62, 0x42, 0x40, 0xa8,
|
||||||
0xd6, 0x51, 0xa9, 0xe7, 0xdc, 0xb9, 0x29, 0x95, 0xed, 0xcc, 0x53, 0x81, 0x70, 0x0c, 0xc8, 0x17,
|
0xed, 0xd0, 0x49, 0x46, 0xdc, 0x10, 0xc4, 0x1d, 0x1a, 0x79, 0xa3, 0x04, 0x49, 0xf9, 0x5d, 0x68,
|
||||||
0x84, 0x44, 0x36, 0x77, 0x84, 0x1d, 0x91, 0xd8, 0x76, 0x6f, 0x05, 0xd1, 0xef, 0x49, 0x61, 0x0d,
|
0x78, 0x78, 0x9e, 0xf1, 0x2a, 0x89, 0xa0, 0x87, 0xe7, 0x29, 0xe1, 0x19, 0x20, 0x36, 0x23, 0x24,
|
||||||
0x63, 0xfe, 0xd6, 0xa0, 0x23, 0xcb, 0x6e, 0x6c, 0xc2, 0x1e, 0xac, 0xe5, 0x5d, 0x25, 0x69, 0x6d,
|
0x30, 0x19, 0xe6, 0x66, 0x40, 0x42, 0x73, 0xbc, 0xe0, 0x44, 0xbd, 0x23, 0x78, 0x2d, 0x81, 0x5c,
|
||||||
0xed, 0xd1, 0x9a, 0xb5, 0x04, 0xf0, 0x15, 0xe8, 0x8e, 0x27, 0xe8, 0x75, 0xd9, 0x09, 0xdb, 0x73,
|
0x60, 0x3e, 0x22, 0xe1, 0xc9, 0x82, 0x13, 0xfd, 0x97, 0x02, 0x55, 0xd1, 0xef, 0xda, 0x8f, 0xdf,
|
||||||
0x98, 0x4f, 0x7d, 0x47, 0x10, 0x59, 0x5e, 0xcf, 0x6a, 0xe4, 0xd1, 0x84, 0x41, 0xfa, 0x23, 0xcb,
|
0x87, 0x4d, 0xe9, 0x26, 0x89, 0xbb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0xbe, 0x3f, 0x9b, 0x52, 0x31, 0x4b, 0xdc, 0xb1, 0x17, 0xce,
|
0x5f, 0x89, 0xb1, 0xd6, 0x5d, 0x8b, 0x4b, 0xb9, 0xb7, 0xd0, 0xcc, 0xaf, 0x36, 0x54, 0x6c, 0xa0,
|
||||||
0x27, 0x01, 0x9d, 0xce, 0x04, 0xa3, 0x6c, 0xca, 0x88, 0x58, 0x84, 0xf1, 0xe5, 0x24, 0x60, 0xfe,
|
0x64, 0xeb, 0x69, 0x25, 0x41, 0x46, 0x47, 0x50, 0x15, 0x79, 0x45, 0xc5, 0x3f, 0x5c, 0x3e, 0xd4,
|
||||||
0x24, 0x60, 0xea, 0xcb, 0x15, 0x47, 0x9e, 0xdb, 0x95, 0xaf, 0xd7, 0xd1, 0x9f, 0x00, 0x00, 0x00,
|
0x9a, 0x56, 0x06, 0xc9, 0x2e, 0x8e, 0xa1, 0x96, 0x0c, 0x19, 0x15, 0x59, 0x85, 0x28, 0x68, 0x0f,
|
||||||
0xff, 0xff, 0xdd, 0x33, 0x97, 0x54, 0xdb, 0x06, 0x00, 0x00,
|
0x4a, 0xb1, 0x44, 0xe2, 0xe4, 0xf0, 0xdb, 0x8b, 0x89, 0xc3, 0xa7, 0xd1, 0x78, 0x60, 0xf9, 0xde,
|
||||||
|
0xd0, 0x75, 0x26, 0x53, 0x4e, 0x1d, 0x3a, 0xa1, 0x84, 0xcf, 0xfc, 0xf0, 0x6a, 0xe8, 0x52, 0x7b,
|
||||||
|
0xe8, 0xd2, 0xfc, 0x05, 0x15, 0x06, 0xd6, 0xb8, 0x26, 0x2e, 0xa9, 0xc3, 0x3f, 0x01, 0x00, 0x00,
|
||||||
|
0xff, 0xff, 0x5d, 0xba, 0x03, 0x17, 0xc2, 0x06, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ option go_package = "github.com/lightningnetwork/lnd/lnrpc/wtclientrpc";
|
|||||||
|
|
||||||
message AddTowerRequest {
|
message AddTowerRequest {
|
||||||
// The identifying public key of the watchtower to add.
|
// The identifying public key of the watchtower to add.
|
||||||
bytes pubkey = 1 [json_name = "pubkey"];
|
bytes pubkey = 1;
|
||||||
|
|
||||||
// A network address the watchtower is reachable over.
|
// A network address the watchtower is reachable over.
|
||||||
string address = 2 [json_name = "address"];
|
string address = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AddTowerResponse {
|
message AddTowerResponse {
|
||||||
@@ -17,14 +17,14 @@ message AddTowerResponse {
|
|||||||
|
|
||||||
message RemoveTowerRequest {
|
message RemoveTowerRequest {
|
||||||
// The identifying public key of the watchtower to remove.
|
// The identifying public key of the watchtower to remove.
|
||||||
bytes pubkey = 1 [json_name = "pubkey"];
|
bytes pubkey = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
If set, then the record for this address will be removed, indicating that is
|
If set, then the record for this address will be removed, indicating that is
|
||||||
is stale. Otherwise, the watchtower will no longer be used for future
|
is stale. Otherwise, the watchtower will no longer be used for future
|
||||||
session negotiations and backups.
|
session negotiations and backups.
|
||||||
*/
|
*/
|
||||||
string address = 2 [json_name = "address"];
|
string address = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RemoveTowerResponse {
|
message RemoveTowerResponse {
|
||||||
@@ -32,10 +32,10 @@ message RemoveTowerResponse {
|
|||||||
|
|
||||||
message GetTowerInfoRequest {
|
message GetTowerInfoRequest {
|
||||||
// The identifying public key of the watchtower to retrieve information for.
|
// The identifying public key of the watchtower to retrieve information for.
|
||||||
bytes pubkey = 1 [json_name = "pubkey"];
|
bytes pubkey = 1;
|
||||||
|
|
||||||
// Whether we should include sessions with the watchtower in the response.
|
// Whether we should include sessions with the watchtower in the response.
|
||||||
bool include_sessions = 2 [json_name = "include_sessions"];
|
bool include_sessions = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message TowerSession {
|
message TowerSession {
|
||||||
@@ -43,49 +43,49 @@ message TowerSession {
|
|||||||
The total number of successful backups that have been made to the
|
The total number of successful backups that have been made to the
|
||||||
watchtower session.
|
watchtower session.
|
||||||
*/
|
*/
|
||||||
uint32 num_backups = 1 [json_name = "num_backups"];
|
uint32 num_backups = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The total number of backups in the session that are currently pending to be
|
The total number of backups in the session that are currently pending to be
|
||||||
acknowledged by the watchtower.
|
acknowledged by the watchtower.
|
||||||
*/
|
*/
|
||||||
uint32 num_pending_backups = 2 [json_name = "num_pending_backups"];
|
uint32 num_pending_backups = 2;
|
||||||
|
|
||||||
// The maximum number of backups allowed by the watchtower session.
|
// The maximum number of backups allowed by the watchtower session.
|
||||||
uint32 max_backups = 3 [json_name = "max_backups"];
|
uint32 max_backups = 3;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The fee rate, in satoshis per vbyte, that will be used by the watchtower for
|
The fee rate, in satoshis per vbyte, that will be used by the watchtower for
|
||||||
the justice transaction in the event of a channel breach.
|
the justice transaction in the event of a channel breach.
|
||||||
*/
|
*/
|
||||||
uint32 sweep_sat_per_byte = 4 [json_name = "sweep_sat_per_byte"];
|
uint32 sweep_sat_per_byte = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Tower {
|
message Tower {
|
||||||
// The identifying public key of the watchtower.
|
// The identifying public key of the watchtower.
|
||||||
bytes pubkey = 1 [json_name = "pubkey"];
|
bytes pubkey = 1;
|
||||||
|
|
||||||
// The list of addresses the watchtower is reachable over.
|
// The list of addresses the watchtower is reachable over.
|
||||||
repeated string addresses = 2 [json_name = "addresses"];
|
repeated string addresses = 2;
|
||||||
|
|
||||||
// Whether the watchtower is currently a candidate for new sessions.
|
// Whether the watchtower is currently a candidate for new sessions.
|
||||||
bool active_session_candidate = 3 [json_name = "active_session_candidate"];
|
bool active_session_candidate = 3;
|
||||||
|
|
||||||
// The number of sessions that have been negotiated with the watchtower.
|
// The number of sessions that have been negotiated with the watchtower.
|
||||||
uint32 num_sessions = 4 [json_name = "num_sessions"];
|
uint32 num_sessions = 4;
|
||||||
|
|
||||||
// The list of sessions that have been negotiated with the watchtower.
|
// The list of sessions that have been negotiated with the watchtower.
|
||||||
repeated TowerSession sessions = 5 [json_name = "sessions"];
|
repeated TowerSession sessions = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListTowersRequest {
|
message ListTowersRequest {
|
||||||
// Whether we should include sessions with the watchtower in the response.
|
// Whether we should include sessions with the watchtower in the response.
|
||||||
bool include_sessions = 1 [json_name = "include_sessions"];
|
bool include_sessions = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListTowersResponse {
|
message ListTowersResponse {
|
||||||
// The list of watchtowers available for new backups.
|
// The list of watchtowers available for new backups.
|
||||||
repeated Tower towers = 1 [json_name = "towers"];
|
repeated Tower towers = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message StatsRequest {
|
message StatsRequest {
|
||||||
@@ -96,25 +96,25 @@ message StatsResponse {
|
|||||||
The total number of backups made to all active and exhausted watchtower
|
The total number of backups made to all active and exhausted watchtower
|
||||||
sessions.
|
sessions.
|
||||||
*/
|
*/
|
||||||
uint32 num_backups = 1 [json_name = "num_backups"];
|
uint32 num_backups = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The total number of backups that are pending to be acknowledged by all
|
The total number of backups that are pending to be acknowledged by all
|
||||||
active and exhausted watchtower sessions.
|
active and exhausted watchtower sessions.
|
||||||
*/
|
*/
|
||||||
uint32 num_pending_backups = 2 [json_name = "num_pending_backups"];
|
uint32 num_pending_backups = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The total number of backups that all active and exhausted watchtower
|
The total number of backups that all active and exhausted watchtower
|
||||||
sessions have failed to acknowledge.
|
sessions have failed to acknowledge.
|
||||||
*/
|
*/
|
||||||
uint32 num_failed_backups = 3 [json_name = "num_failed_backups"];
|
uint32 num_failed_backups = 3;
|
||||||
|
|
||||||
// The total number of new sessions made to watchtowers.
|
// The total number of new sessions made to watchtowers.
|
||||||
uint32 num_sessions_acquired = 4 [json_name = "num_sessions_acquired"];
|
uint32 num_sessions_acquired = 4;
|
||||||
|
|
||||||
// The total number of watchtower sessions that have been exhausted.
|
// The total number of watchtower sessions that have been exhausted.
|
||||||
uint32 num_sessions_exhausted = 5 [json_name = "num_sessions_exhausted"];
|
uint32 num_sessions_exhausted = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PolicyRequest {
|
message PolicyRequest {
|
||||||
@@ -125,13 +125,13 @@ message PolicyResponse {
|
|||||||
The maximum number of updates each session we negotiate with watchtowers
|
The maximum number of updates each session we negotiate with watchtowers
|
||||||
should allow.
|
should allow.
|
||||||
*/
|
*/
|
||||||
uint32 max_updates = 1 [json_name = "max_updates"];
|
uint32 max_updates = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The fee rate, in satoshis per vbyte, that will be used by watchtowers for
|
The fee rate, in satoshis per vbyte, that will be used by watchtowers for
|
||||||
justice transactions in response to channel breaches.
|
justice transactions in response to channel breaches.
|
||||||
*/
|
*/
|
||||||
uint32 sweep_sat_per_byte = 2 [json_name = "sweep_sat_per_byte"];
|
uint32 sweep_sat_per_byte = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
service WatchtowerClient {
|
service WatchtowerClient {
|
||||||
@@ -141,7 +141,7 @@ service WatchtowerClient {
|
|||||||
any new addresses included will be considered when dialing it for
|
any new addresses included will be considered when dialing it for
|
||||||
session negotiations and backups.
|
session negotiations and backups.
|
||||||
*/
|
*/
|
||||||
rpc AddTower(AddTowerRequest) returns (AddTowerResponse);
|
rpc AddTower (AddTowerRequest) returns (AddTowerResponse);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
RemoveTower removes a watchtower from being considered for future session
|
RemoveTower removes a watchtower from being considered for future session
|
||||||
@@ -149,17 +149,17 @@ service WatchtowerClient {
|
|||||||
again. If an address is provided, then this RPC only serves as a way of
|
again. If an address is provided, then this RPC only serves as a way of
|
||||||
removing the address from the watchtower instead.
|
removing the address from the watchtower instead.
|
||||||
*/
|
*/
|
||||||
rpc RemoveTower(RemoveTowerRequest) returns (RemoveTowerResponse);
|
rpc RemoveTower (RemoveTowerRequest) returns (RemoveTowerResponse);
|
||||||
|
|
||||||
// ListTowers returns the list of watchtowers registered with the client.
|
// ListTowers returns the list of watchtowers registered with the client.
|
||||||
rpc ListTowers(ListTowersRequest) returns (ListTowersResponse);
|
rpc ListTowers (ListTowersRequest) returns (ListTowersResponse);
|
||||||
|
|
||||||
// GetTowerInfo retrieves information for a registered watchtower.
|
// GetTowerInfo retrieves information for a registered watchtower.
|
||||||
rpc GetTowerInfo(GetTowerInfoRequest) returns (Tower);
|
rpc GetTowerInfo (GetTowerInfoRequest) returns (Tower);
|
||||||
|
|
||||||
// Stats returns the in-memory statistics of the client since startup.
|
// Stats returns the in-memory statistics of the client since startup.
|
||||||
rpc Stats(StatsRequest) returns (StatsResponse);
|
rpc Stats (StatsRequest) returns (StatsResponse);
|
||||||
|
|
||||||
// Policy returns the active watchtower client policy configuration.
|
// Policy returns the active watchtower client policy configuration.
|
||||||
rpc Policy(PolicyRequest) returns (PolicyResponse);
|
rpc Policy (PolicyRequest) returns (PolicyResponse);
|
||||||
}
|
}
|
||||||
+6
-6
@@ -943,7 +943,7 @@ func (r *rpcServer) ListUnspent(ctx context.Context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
utxoResp := lnrpc.Utxo{
|
utxoResp := lnrpc.Utxo{
|
||||||
Type: addrType,
|
AddressType: addrType,
|
||||||
AmountSat: int64(utxo.Value),
|
AmountSat: int64(utxo.Value),
|
||||||
PkScript: hex.EncodeToString(utxo.PkScript),
|
PkScript: hex.EncodeToString(utxo.PkScript),
|
||||||
Outpoint: outpoint,
|
Outpoint: outpoint,
|
||||||
@@ -5141,11 +5141,11 @@ func (r *rpcServer) FeeReport(ctx context.Context,
|
|||||||
|
|
||||||
// TODO(roasbeef): also add stats for revenue for each channel
|
// TODO(roasbeef): also add stats for revenue for each channel
|
||||||
feeReports = append(feeReports, &lnrpc.ChannelFeeReport{
|
feeReports = append(feeReports, &lnrpc.ChannelFeeReport{
|
||||||
ChanId: chanInfo.ChannelID,
|
ChanId: chanInfo.ChannelID,
|
||||||
ChanPoint: chanInfo.ChannelPoint.String(),
|
ChannelPoint: chanInfo.ChannelPoint.String(),
|
||||||
BaseFeeMsat: int64(edgePolicy.FeeBaseMSat),
|
BaseFeeMsat: int64(edgePolicy.FeeBaseMSat),
|
||||||
FeePerMil: int64(feeRateFixedPoint),
|
FeePerMil: int64(feeRateFixedPoint),
|
||||||
FeeRate: feeRate,
|
FeeRate: feeRate,
|
||||||
})
|
})
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in new issue
Block a user