looprpc: add label to swap creation and display in list swaps

pull/263/head
carla 4 years ago
parent 9678c7817d
commit 8da0ea6048
No known key found for this signature in database
GPG Key ID: 4CA7FE54A6213C91

@ -89,6 +89,7 @@ func (s *swapClientServer) LoopOut(ctx context.Context,
SwapPublicationDeadline: time.Unix( SwapPublicationDeadline: time.Unix(
int64(in.SwapPublicationDeadline), 0, int64(in.SwapPublicationDeadline), 0,
), ),
Label: in.Label,
} }
switch { switch {
@ -214,6 +215,7 @@ func (s *swapClientServer) marshallSwap(loopSwap *loop.SwapInfo) (
CostServer: int64(loopSwap.Cost.Server), CostServer: int64(loopSwap.Cost.Server),
CostOnchain: int64(loopSwap.Cost.Onchain), CostOnchain: int64(loopSwap.Cost.Onchain),
CostOffchain: int64(loopSwap.Cost.Offchain), CostOffchain: int64(loopSwap.Cost.Offchain),
Label: loopSwap.Label,
}, nil }, nil
} }
@ -478,6 +480,7 @@ func (s *swapClientServer) LoopIn(ctx context.Context,
MaxSwapFee: btcutil.Amount(in.MaxSwapFee), MaxSwapFee: btcutil.Amount(in.MaxSwapFee),
HtlcConfTarget: htlcConfTarget, HtlcConfTarget: htlcConfTarget,
ExternalHtlc: in.ExternalHtlc, ExternalHtlc: in.ExternalHtlc,
Label: in.Label,
} }
if in.LastHop != nil { if in.LastHop != nil {
lastHop, err := route.NewVertexFromBytes(in.LastHop) lastHop, err := route.NewVertexFromBytes(in.LastHop)

@ -237,10 +237,15 @@ type LoopOutRequest struct {
//server the opportunity to batch multiple swaps together, and wait for //server the opportunity to batch multiple swaps together, and wait for
//low-fee periods before publishing the HTLC, potentially resulting in a //low-fee periods before publishing the HTLC, potentially resulting in a
//lower total swap fee. //lower total swap fee.
SwapPublicationDeadline uint64 `protobuf:"varint,10,opt,name=swap_publication_deadline,json=swapPublicationDeadline,proto3" json:"swap_publication_deadline,omitempty"` SwapPublicationDeadline uint64 `protobuf:"varint,10,opt,name=swap_publication_deadline,json=swapPublicationDeadline,proto3" json:"swap_publication_deadline,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` //
XXX_unrecognized []byte `json:"-"` //An optional label for this swap. This field is limited to 500 characters
XXX_sizecache int32 `json:"-"` //and may not start with the prefix [reserved], which is used to tag labels
//produced by the daemon.
Label string `protobuf:"bytes,12,opt,name=label,proto3" json:"label,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *LoopOutRequest) Reset() { *m = LoopOutRequest{} } func (m *LoopOutRequest) Reset() { *m = LoopOutRequest{} }
@ -346,6 +351,13 @@ func (m *LoopOutRequest) GetSwapPublicationDeadline() uint64 {
return 0 return 0
} }
func (m *LoopOutRequest) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
type LoopInRequest struct { type LoopInRequest struct {
//* //*
//Requested swap amount in sat. This does not include the swap and miner //Requested swap amount in sat. This does not include the swap and miner
@ -374,7 +386,11 @@ type LoopInRequest struct {
ExternalHtlc bool `protobuf:"varint,5,opt,name=external_htlc,json=externalHtlc,proto3" json:"external_htlc,omitempty"` ExternalHtlc bool `protobuf:"varint,5,opt,name=external_htlc,json=externalHtlc,proto3" json:"external_htlc,omitempty"`
//* //*
//The number of blocks that the on chain htlc should confirm within. //The number of blocks that the on chain htlc should confirm within.
HtlcConfTarget int32 `protobuf:"varint,6,opt,name=htlc_conf_target,json=htlcConfTarget,proto3" json:"htlc_conf_target,omitempty"` HtlcConfTarget int32 `protobuf:"varint,6,opt,name=htlc_conf_target,json=htlcConfTarget,proto3" json:"htlc_conf_target,omitempty"`
//
//An optional label for this swap. This field is limited to 500 characters
//and may not be one of the reserved values in loop/labels Reserved list.
Label string `protobuf:"bytes,7,opt,name=label,proto3" json:"label,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:"-"`
@ -447,6 +463,13 @@ func (m *LoopInRequest) GetHtlcConfTarget() int32 {
return 0 return 0
} }
func (m *LoopInRequest) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
type SwapResponse struct { type SwapResponse struct {
//* //*
//Swap identifier to track status in the update stream that is returned from //Swap identifier to track status in the update stream that is returned from
@ -631,7 +654,9 @@ type SwapStatus struct {
// On-chain transaction cost // On-chain transaction cost
CostOnchain int64 `protobuf:"varint,9,opt,name=cost_onchain,json=costOnchain,proto3" json:"cost_onchain,omitempty"` CostOnchain int64 `protobuf:"varint,9,opt,name=cost_onchain,json=costOnchain,proto3" json:"cost_onchain,omitempty"`
// Off-chain routing fees // Off-chain routing fees
CostOffchain int64 `protobuf:"varint,10,opt,name=cost_offchain,json=costOffchain,proto3" json:"cost_offchain,omitempty"` CostOffchain int64 `protobuf:"varint,10,opt,name=cost_offchain,json=costOffchain,proto3" json:"cost_offchain,omitempty"`
// An optional label given to the swap on creation.
Label string `protobuf:"bytes,15,opt,name=label,proto3" json:"label,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:"-"`
@ -762,6 +787,13 @@ func (m *SwapStatus) GetCostOffchain() int64 {
return 0 return 0
} }
func (m *SwapStatus) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
type ListSwapsRequest struct { type ListSwapsRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
@ -1467,120 +1499,122 @@ func init() {
func init() { proto.RegisterFile("client.proto", fileDescriptor_014de31d7ac8c57c) } func init() { proto.RegisterFile("client.proto", fileDescriptor_014de31d7ac8c57c) }
var fileDescriptor_014de31d7ac8c57c = []byte{ var fileDescriptor_014de31d7ac8c57c = []byte{
// 1803 bytes of a gzipped FileDescriptorProto // 1827 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xdd, 0x6e, 0x23, 0x49, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xdd, 0x6e, 0x23, 0x49,
0x15, 0x1e, 0xff, 0xc5, 0xf6, 0x71, 0xbb, 0xdd, 0xa9, 0xec, 0x24, 0x8e, 0x19, 0x34, 0x9e, 0xde, 0x15, 0x5e, 0xff, 0xc5, 0xf6, 0x71, 0xbb, 0xdd, 0xa9, 0xcc, 0x24, 0x8e, 0x19, 0x34, 0x9e, 0xde,
0x1d, 0xc8, 0x86, 0xd5, 0x98, 0xcd, 0x5e, 0xb1, 0x02, 0x24, 0x8f, 0xd3, 0xd9, 0x38, 0x4a, 0x6c, 0x1d, 0xc8, 0x86, 0xd5, 0x98, 0xcd, 0x5e, 0xb1, 0x02, 0x24, 0x8f, 0xd3, 0xd9, 0x38, 0x4a, 0x6c,
0xd3, 0x76, 0x06, 0x2d, 0x42, 0x6a, 0x55, 0xec, 0x4a, 0xdc, 0xc2, 0xfd, 0xb3, 0x5d, 0xe5, 0x99, 0xd3, 0x76, 0x06, 0x2d, 0x42, 0x6a, 0x55, 0xec, 0x4a, 0xdc, 0xc2, 0xfd, 0xb3, 0x5d, 0xe5, 0x99,
0x44, 0x2b, 0x84, 0xc4, 0x0b, 0x70, 0xc1, 0x3d, 0x17, 0xbc, 0x06, 0x6f, 0x80, 0xb8, 0x01, 0x5e, 0x44, 0x2b, 0x84, 0xc4, 0x0b, 0x70, 0xc1, 0x1b, 0xf0, 0x0c, 0xdc, 0xf1, 0x0a, 0x5c, 0xc1, 0x0b,
0x81, 0x1b, 0x2e, 0x78, 0x05, 0x84, 0xea, 0x54, 0xbb, 0xdd, 0xed, 0xfc, 0x20, 0x2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0x5f, 0x31, 0xa1, 0x52, 0xfe,
0x59, 0x17, 0x5e, 0xa2, 0xf6, 0x7d, 0xb2, 0x97, 0xd6, 0x9e, 0xf6, 0xe0, 0x6b, 0xa8, 0xcb, 0x3b, 0xa4, 0x0f, 0xeb, 0xa8, 0x6d, 0x2c, 0x42, 0xe6, 0x3e, 0x5e, 0xb2, 0x43, 0xb6, 0x53, 0x4f, 0x21,
0x56, 0x1d, 0x9f, 0xa7, 0x5e, 0x72, 0x66, 0xac, 0xb4, 0xf6, 0xee, 0xe1, 0xd9, 0xea, 0x20, 0x0d, 0xf1, 0x60, 0xad, 0xfd, 0x49, 0x1f, 0xd2, 0xda, 0xb3, 0x2e, 0xbc, 0x44, 0xed, 0xfb, 0x64, 0x2f,
0xbc, 0x82, 0x53, 0xd1, 0x51, 0xa3, 0xe4, 0x6a, 0x0b, 0xff, 0x87, 0xf0, 0xc5, 0x7f, 0x02, 0x00, 0xad, 0x3d, 0xed, 0xc1, 0xd7, 0x50, 0x97, 0x77, 0xac, 0x3a, 0x3e, 0x4f, 0xbd, 0xe4, 0xcc, 0x58,
0x00, 0xff, 0xff, 0xbf, 0xed, 0xab, 0x0a, 0x7a, 0x10, 0x00, 0x00, 0x69, 0xed, 0xdd, 0xc3, 0xb3, 0xd5, 0x41, 0x1a, 0x78, 0x05, 0xa7, 0xa2, 0xa3, 0x46, 0xc9, 0xd5,
0x16, 0xfe, 0x17, 0xe2, 0x8b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x34, 0x6b, 0xfd, 0xc4, 0xbc,
0x10, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

@ -190,6 +190,13 @@ message LoopOutRequest {
lower total swap fee. lower total swap fee.
*/ */
uint64 swap_publication_deadline = 10; uint64 swap_publication_deadline = 10;
/*
An optional label for this swap. This field is limited to 500 characters
and may not start with the prefix [reserved], which is used to tag labels
produced by the daemon.
*/
string label = 12;
} }
message LoopInRequest { message LoopInRequest {
@ -232,6 +239,12 @@ message LoopInRequest {
The number of blocks that the on chain htlc should confirm within. The number of blocks that the on chain htlc should confirm within.
*/ */
int32 htlc_conf_target = 6; int32 htlc_conf_target = 6;
/*
An optional label for this swap. This field is limited to 500 characters
and may not be one of the reserved values in loop/labels Reserved list.
*/
string label = 7;
} }
message SwapResponse { message SwapResponse {
@ -351,6 +364,9 @@ message SwapStatus {
// Off-chain routing fees // Off-chain routing fees
int64 cost_offchain = 10; int64 cost_offchain = 10;
// An optional label given to the swap on creation.
string label = 15;
} }
enum SwapType { enum SwapType {

@ -411,6 +411,10 @@
"type": "integer", "type": "integer",
"format": "int32", "format": "int32",
"description": "*\nThe number of blocks that the on chain htlc should confirm within." "description": "*\nThe number of blocks that the on chain htlc should confirm within."
},
"label": {
"type": "string",
"description": "An optional label for this swap. This field is limited to 500 characters\nand may not be one of the reserved values in loop/labels Reserved list."
} }
} }
}, },
@ -473,6 +477,10 @@
"type": "string", "type": "string",
"format": "uint64", "format": "uint64",
"description": "*\nThe latest time (in unix seconds) we allow the server to wait before\npublishing the HTLC on chain. Setting this to a larger value will give the\nserver the opportunity to batch multiple swaps together, and wait for\nlow-fee periods before publishing the HTLC, potentially resulting in a\nlower total swap fee." "description": "*\nThe latest time (in unix seconds) we allow the server to wait before\npublishing the HTLC on chain. Setting this to a larger value will give the\nserver the opportunity to batch multiple swaps together, and wait for\nlow-fee periods before publishing the HTLC, potentially resulting in a\nlower total swap fee."
},
"label": {
"type": "string",
"description": "An optional label for this swap. This field is limited to 500 characters\nand may not start with the prefix [reserved], which is used to tag labels\nproduced by the daemon."
} }
} }
}, },
@ -683,6 +691,10 @@
"type": "string", "type": "string",
"format": "int64", "format": "int64",
"title": "Off-chain routing fees" "title": "Off-chain routing fees"
},
"label": {
"type": "string",
"description": "An optional label given to the swap on creation."
} }
} }
}, },

Loading…
Cancel
Save