mirror of
https://github.com/lightninglabs/loop
synced 2024-11-11 13:11:12 +00:00
commit
9efca9da11
@ -138,7 +138,7 @@ type LoopOutRequest struct {
|
|||||||
//Maximum amount of the swap fee that may be charged as a prepayment.
|
//Maximum amount of the swap fee that may be charged as a prepayment.
|
||||||
MaxPrepayAmt int64 `protobuf:"varint,6,opt,name=max_prepay_amt,json=maxPrepayAmt,proto3" json:"max_prepay_amt,omitempty"`
|
MaxPrepayAmt int64 `protobuf:"varint,6,opt,name=max_prepay_amt,json=maxPrepayAmt,proto3" json:"max_prepay_amt,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Maximum in on-chain fees that we are willing to spent. If we want to
|
//Maximum in on-chain fees that we are willing to spend. If we want to
|
||||||
//sweep the on-chain htlc and the fee estimate turns out higher than this
|
//sweep the on-chain htlc and the fee estimate turns out higher than this
|
||||||
//value, we cancel the swap. If the fee estimate is lower, we publish the
|
//value, we cancel the swap. If the fee estimate is lower, we publish the
|
||||||
//sweep tx.
|
//sweep tx.
|
||||||
@ -294,7 +294,7 @@ type LoopInRequest struct {
|
|||||||
//response of the GetQuote call.
|
//response of the GetQuote call.
|
||||||
MaxSwapFee int64 `protobuf:"varint,2,opt,name=max_swap_fee,json=maxSwapFee,proto3" json:"max_swap_fee,omitempty"`
|
MaxSwapFee int64 `protobuf:"varint,2,opt,name=max_swap_fee,json=maxSwapFee,proto3" json:"max_swap_fee,omitempty"`
|
||||||
//*
|
//*
|
||||||
//Maximum in on-chain fees that we are willing to spent. If we want to
|
//Maximum in on-chain fees that we are willing to spend. If we want to
|
||||||
//publish the on-chain htlc and the fee estimate turns out higher than this
|
//publish the on-chain htlc and the fee estimate turns out higher than this
|
||||||
//value, we cancel the swap.
|
//value, we cancel the swap.
|
||||||
//
|
//
|
||||||
|
@ -145,7 +145,7 @@ message LoopOutRequest {
|
|||||||
int64 max_prepay_amt = 6;
|
int64 max_prepay_amt = 6;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Maximum in on-chain fees that we are willing to spent. If we want to
|
Maximum in on-chain fees that we are willing to spend. If we want to
|
||||||
sweep the on-chain htlc and the fee estimate turns out higher than this
|
sweep the on-chain htlc and the fee estimate turns out higher than this
|
||||||
value, we cancel the swap. If the fee estimate is lower, we publish the
|
value, we cancel the swap. If the fee estimate is lower, we publish the
|
||||||
sweep tx.
|
sweep tx.
|
||||||
@ -208,7 +208,7 @@ message LoopInRequest {
|
|||||||
int64 max_swap_fee = 2;
|
int64 max_swap_fee = 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Maximum in on-chain fees that we are willing to spent. If we want to
|
Maximum in on-chain fees that we are willing to spend. If we want to
|
||||||
publish the on-chain htlc and the fee estimate turns out higher than this
|
publish the on-chain htlc and the fee estimate turns out higher than this
|
||||||
value, we cancel the swap.
|
value, we cancel the swap.
|
||||||
|
|
||||||
|
@ -381,7 +381,7 @@
|
|||||||
"max_miner_fee": {
|
"max_miner_fee": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "*\nMaximum in on-chain fees that we are willing to spent. If we want to\npublish the on-chain htlc and the fee estimate turns out higher than this\nvalue, we cancel the swap. \n\nmax_miner_fee is typically taken from the response of the GetQuote call."
|
"description": "*\nMaximum in on-chain fees that we are willing to spend. If we want to\npublish the on-chain htlc and the fee estimate turns out higher than this\nvalue, we cancel the swap. \n\nmax_miner_fee is typically taken from the response of the GetQuote call."
|
||||||
},
|
},
|
||||||
"last_hop": {
|
"last_hop": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -435,7 +435,7 @@
|
|||||||
"max_miner_fee": {
|
"max_miner_fee": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "*\nMaximum in on-chain fees that we are willing to spent. If we want to\nsweep the on-chain htlc and the fee estimate turns out higher than this\nvalue, we cancel the swap. If the fee estimate is lower, we publish the\nsweep tx.\n\nIf the sweep tx is not confirmed, we are forced to ratchet up fees until it\nis swept. Possibly even exceeding max_miner_fee if we get close to the htlc\ntimeout. Because the initial publication revealed the preimage, we have no\nother choice. The server may already have pulled the off-chain htlc. Only\nwhen the fee becomes higher than the swap amount, we can only wait for fees\nto come down and hope - if we are past the timeout - that the server is not\npublishing the revocation.\n\nmax_miner_fee is typically taken from the response of the GetQuote call."
|
"description": "*\nMaximum in on-chain fees that we are willing to spend. If we want to\nsweep the on-chain htlc and the fee estimate turns out higher than this\nvalue, we cancel the swap. If the fee estimate is lower, we publish the\nsweep tx.\n\nIf the sweep tx is not confirmed, we are forced to ratchet up fees until it\nis swept. Possibly even exceeding max_miner_fee if we get close to the htlc\ntimeout. Because the initial publication revealed the preimage, we have no\nother choice. The server may already have pulled the off-chain htlc. Only\nwhen the fee becomes higher than the swap amount, we can only wait for fees\nto come down and hope - if we are past the timeout - that the server is not\npublishing the revocation.\n\nmax_miner_fee is typically taken from the response of the GetQuote call."
|
||||||
},
|
},
|
||||||
"loop_out_channel": {
|
"loop_out_channel": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
Loading…
Reference in New Issue
Block a user