Browse Source

looprpc: add autoloop parameters to rpc server

carla 3 months ago
No known key found for this signature in database GPG Key ID: 4CA7FE54A6213C91
5 changed files with 267 additions and 145 deletions
  1. +2
  2. +21
  3. +197
  4. +27
  5. +20

+ 2
- 0
liquidity/liquidity.go View File

@ -362,6 +362,8 @@ type Manager struct {
// Run periodically checks whether we should automatically dispatch a loop out.
// We run this loop even if automated swaps are not currently enabled rather
// than managing starting and stopping the ticker as our parameters are updated.
func (m *Manager) Run(ctx context.Context) error {
defer m.cfg.AutoOutTicker.Stop()

+ 21
- 0
loopd/swapclient_server.go View File

@ -578,11 +578,22 @@ func (s *swapClientServer) GetLiquidityParams(_ context.Context,
SweepFeeRateSatPerVbyte: uint64(satPerByte),
SweepConfTarget: cfg.SweepConfTarget,
FailureBackoffSec: uint64(cfg.FailureBackOff.Seconds()),
AutoLoopOut: cfg.AutoOut,
AutoOutBudgetSat: uint64(cfg.AutoFeeBudget),
AutoMaxInFlight: uint64(cfg.MaxAutoInFlight),
Rules: make(
[]*looprpc.LiquidityRule, 0, len(cfg.ChannelRules),
// Zero golang time is different to a zero unix time, so we only set
// our start date if it is non-zero.
if !cfg.AutoFeeStartDate.IsZero() {
rpcCfg.AutoOutBudgetStartSec = uint64(
for channel, rule := range cfg.ChannelRules {
rpcRule := &looprpc.LiquidityRule{
ChannelId: channel.ToUint64(),
@ -617,12 +628,22 @@ func (s *swapClientServer) SetLiquidityParams(_ context.Context,
SweepConfTarget: in.Parameters.SweepConfTarget,
FailureBackOff: time.Duration(in.Parameters.FailureBackoffSec) *
AutoOut: in.Parameters.AutoLoopOut,
AutoFeeBudget: btcutil.Amount(in.Parameters.AutoOutBudgetSat),
MaxAutoInFlight: int(in.Parameters.AutoMaxInFlight),
ChannelRules: make(
// Zero unix time is different to zero golang time.
if in.Parameters.AutoOutBudgetStartSec != 0 {
params.AutoFeeStartDate = time.Unix(
int64(in.Parameters.AutoOutBudgetStartSec), 0,
for _, rule := range in.Parameters.Rules {
var (
shortID = lnwire.NewShortChanIDFromInt(rule.ChannelId)

+ 197
- 145
looprpc/client.pb.go View File

@ -1579,7 +1579,26 @@ type LiquidityParameters struct {
//The amount of time we require pass since a channel was part of a failed
//swap due to off chain payment failure until it will be considered for swap
//suggestions again, expressed in seconds.
FailureBackoffSec uint64 `protobuf:"varint,9,opt,name=failure_backoff_sec,json=failureBackoffSec,proto3" json:"failure_backoff_sec,omitempty"`
FailureBackoffSec uint64 `protobuf:"varint,9,opt,name=failure_backoff_sec,json=failureBackoffSec,proto3" json:"failure_backoff_sec,omitempty"`
//Set to true to enable automatic dispatch of loop out swaps. All swaps will
//be limited to the fee categories set by these parameters, and total
//expenditure will be limited to the auto out budget.
AutoLoopOut bool `protobuf:"varint,10,opt,name=auto_loop_out,json=autoLoopOut,proto3" json:"auto_loop_out,omitempty"`
//The total budget for automatically dispatched swaps since the budget start
//time, expressed in satoshis.
AutoOutBudgetSat uint64 `protobuf:"varint,11,opt,name=auto_out_budget_sat,json=autoOutBudgetSat,proto3" json:"auto_out_budget_sat,omitempty"`
//The start time for auto-out budget, expressed as a unix timestamp in
//seconds. If this value is 0, the budget will be applied for all
//automatically dispatched swaps. Swaps that were completed before this date
//will not be included in budget calculations.
AutoOutBudgetStartSec uint64 `protobuf:"varint,12,opt,name=auto_out_budget_start_sec,json=autoOutBudgetStartSec,proto3" json:"auto_out_budget_start_sec,omitempty"`
//The maximum number of automatically dispatched swaps that we allow to be in
//flight at any point in time.
AutoMaxInFlight uint64 `protobuf:"varint,13,opt,name=auto_max_in_flight,json=autoMaxInFlight,proto3" json:"auto_max_in_flight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -1673,6 +1692,34 @@ func (m *LiquidityParameters) GetFailureBackoffSec() uint64 {
return 0
func (m *LiquidityParameters) GetAutoLoopOut() bool {
if m != nil {
return m.AutoLoopOut
return false
func (m *LiquidityParameters) GetAutoOutBudgetSat() uint64 {
if m != nil {
return m.AutoOutBudgetSat
return 0
func (m *LiquidityParameters) GetAutoOutBudgetStartSec() uint64 {
if m != nil {
return m.AutoOutBudgetStartSec
return 0
func (m *LiquidityParameters) GetAutoMaxInFlight() uint64 {
if m != nil {
return m.AutoMaxInFlight
return 0
type LiquidityRule struct {
//The short channel ID of the channel that this rule should be applied to.
@ -1930,150 +1977,155 @@ func init() {
func init() { proto.RegisterFile("client.proto", fileDescriptor_014de31d7ac8c57c) }
var fileDescriptor_014de31d7ac8c57c = []byte{
// 2280 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0x22, 0xc9,
0xf5, 0x1f, 0xa0, 0x31, 0xf0, 0x68, 0xa0, 0x5d, 0x9e, 0xb1, 0x31, 0xeb, 0xd5, 0x7a, 0x7a, 0x76,
0xbe, 0xeb, 0xf1, 0x77, 0xc7, 0x64, 0xbd, 0xa7, 0x8c, 0x76, 0x23, 0x31, 0x18, 0xaf, 0x71, 0x6c,
0x20, 0x0d, 0x9e, 0xd5, 0x44, 0x91, 0x5a, 0x65, 0x28, 0xdb, 0xad, 0xa5, 0x7f, 0x4c, 0x77, 0x31,
0x63, 0x6b, 0x95, 0x44, 0xca, 0x3f, 0xb0, 0x87, 0xfc, 0x07, 0xf9, 0x1b, 0x72, 0x4b, 0x6e, 0xb9,
0xe6, 0x94, 0x1c, 0x73, 0x8d, 0x14, 0xe5, 0x90, 0xff, 0x21, 0xaa, 0x57, 0xdd, 0x4d, 0x37, 0x06,
0x47, 0x39, 0xe4, 0x46, 0xbf, 0xf7, 0xa9, 0x57, 0xf5, 0x7e, 0xd6, 0xa7, 0x00, 0x75, 0x3c, 0xb5,
0x98, 0xc3, 0x0f, 0x3c, 0xdf, 0xe5, 0x2e, 0x29, 0x4c, 0x5d, 0xd7, 0xf3, 0xbd, 0x71, 0x63, 0xe7,
0xda, 0x75, 0xaf, 0xa7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50, 0x11, 0x7b,
0x44, 0x04, 0x2d, 0x48, 0x54, 0x72, 0x8a, 0x05, 0x36, 0xb6, 0xee, 0xc9, 0xd3, 0xdd, 0x41, 0x6a,
0xb8, 0x45, 0x40, 0x79, 0x53, 0x32, 0x3f, 0xc2, 0x81, 0xdc, 0xe7, 0x2e, 0x44, 0x8f, 0xed, 0xac,
0x24, 0x36, 0x8d, 0x07, 0xaf, 0x08, 0x7d, 0x07, 0x37, 0xdc, 0x24, 0x8f, 0x71, 0xc3, 0x08, 0xd0,
0xf4, 0xa4, 0xfd, 0x5f, 0x01, 0x19, 0x3e, 0xb4, 0xeb, 0xca, 0xcb, 0xaa, 0xf1, 0xec, 0x41, 0x4c,
0x3a, 0xa0, 0xfa, 0xd2, 0xcd, 0x45, 0x0b, 0x33, 0x50, 0x93, 0xf7, 0x0f, 0x99, 0xfb, 0xb2, 0xe4,
0xb6, 0x6a, 0x7c, 0xbc, 0x42, 0x1b, 0xee, 0x56, 0xc7, 0xdd, 0x08, 0xd1, 0xc4, 0x6e, 0x74, 0xc6,
0xdd, 0x66, 0x20, 0x61, 0x97, 0x6b, 0xf8, 0x07, 0xee, 0x97, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff,
0xff, 0xa6, 0xdb, 0xca, 0xf7, 0x15, 0x00, 0x00,
// 2365 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x6e, 0x23, 0xc7,
0xf1, 0x5f, 0x7e, 0x89, 0x64, 0xf1, 0x6b, 0xd4, 0xda, 0x95, 0x28, 0x5a, 0x86, 0xb5, 0x63, 0xef,
0xdf, 0xb2, 0x6c, 0x2f, 0xff, 0x96, 0x2f, 0x89, 0x61, 0x07, 0xd0, 0x52, 0x94, 0xc5, 0x8d, 0x44,
0x32, 0x43, 0x6a, 0x0d, 0x07, 0x01, 0x06, 0x2d, 0xb2, 0x25, 0x0d, 0xc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x33, 0x2b, 0x93, 0xc0, 0xee, 0x4e,
0x5d, 0x4c, 0x8f, 0xe5, 0xdc, 0x3b, 0x92, 0xb5, 0x1e, 0x6c, 0x11, 0xfa, 0x0e, 0x5d, 0xb8, 0xc9,
0x1e, 0xd3, 0x85, 0x11, 0xa0, 0xed, 0x29, 0xf9, 0xbf, 0x02, 0x36, 0x7a, 0xe8, 0xd6, 0x7b, 0x9b,
0x55, 0xeb, 0xfd, 0x07, 0x31, 0x69, 0x83, 0xea, 0x2b, 0x2f, 0xc7, 0x14, 0x16, 0x50, 0x4d, 0xf6,
0x1f, 0xb6, 0xd0, 0x65, 0x45, 0xb7, 0x6a, 0xbd, 0x7b, 0x0f, 0x37, 0xbc, 0xad, 0x49, 0xb7, 0x31,
0xa6, 0xe1, 0x6d, 0x38, 0x38, 0xb4, 0x03, 0x05, 0xbb, 0x58, 0xa3, 0xbf, 0x9e, 0x3f, 0xff, 0x77,
0x00, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x97, 0x5c, 0x27, 0xb1, 0x16, 0x00, 0x00,
// Reference imports to suppress errors if they are not otherwise used.

+ 27
- 0
looprpc/client.proto View File

@ -762,6 +762,33 @@ message LiquidityParameters{
suggestions again, expressed in seconds.
uint64 failure_backoff_sec = 9;
Set to true to enable automatic dispatch of loop out swaps. All swaps will
be limited to the fee categories set by these parameters, and total
expenditure will be limited to the auto out budget.
bool auto_loop_out = 10;
The total budget for automatically dispatched swaps since the budget start
time, expressed in satoshis.
uint64 auto_out_budget_sat = 11;
The start time for auto-out budget, expressed as a unix timestamp in
seconds. If this value is 0, the budget will be applied for all
automatically dispatched swaps. Swaps that were completed before this date
will not be included in budget calculations.
uint64 auto_out_budget_start_sec = 12;
The maximum number of automatically dispatched swaps that we allow to be in
flight at any point in time.
uint64 auto_max_in_flight = 13;
enum LiquidityRuleType{

+ 20
- 0
looprpc/client.swagger.json View File

@ -493,6 +493,26 @@
"type": "string",
"format": "uint64",
"description": "The amount of time we require pass since a channel was part of a failed\nswap due to off chain payment failure until it will be considered for swap\nsuggestions again, expressed in seconds."
"auto_loop_out": {
"type": "boolean",
"format": "boolean",
"description": "Set to true to enable automatic dispatch of loop out swaps. All swaps will\nbe limited to the fee categories set by these parameters, and total\nexpenditure will be limited to the auto out budget."
"auto_out_budget_sat": {
"type": "string",
"format": "uint64",
"description": "The total budget for automatically dispatched swaps since the budget start\ntime, expressed in satoshis."
"auto_out_budget_start_sec": {
"type": "string",
"format": "uint64",
"description": "The start time for auto-out budget, expressed as a unix timestamp in\nseconds. If this value is 0, the budget will be applied for all\nautomatically dispatched swaps. Swaps that were completed before this date\nwill not be included in budget calculations."
"auto_max_in_flight": {
"type": "string",
"format": "uint64",
"description": "The maximum number of automatically dispatched swaps that we allow to be in\nflight at any point in time."