Difference between revisions of "Channel policy"

From lightningwiki.net
Jump to navigation Jump to search
Line 3: Line 3:
Changing fees: [[Changing fees]]
Changing fees: [[Changing fees]]


= Base fee =
= Help =
{{HELP|Explain below}}
<pre>
  --base_fee_msat value    the base fee in milli-satoshis that will be charged for each forwarded HTLC, regardless of payment size (default: 0)
  --fee_rate value        the fee rate that will be charged proportionally based on the value of each forwarded HTLC, the lowest possible rate is 0.000001
  --time_lock_delta value  the CLTV delta that will be applied to all forwarded HTLCs (default: 0)
  --chan_point value      The channel whose fee policy should be updated, if nil the policies for all channels will be updated. Takes the form of: txid:output_index
</pre>
 
 
== Base fee ==
{{HELP|explain what base_fee means}}
{{HELP|explain what base_fee means}}
<pre> "base_fee_msat": "0",</pre>
<pre> "base_fee_msat": "0",</pre>


= Fee per mil =
== Fee per mil ==
{{HELP|explain what fee_per_mil means}}
{{HELP|explain what fee_per_mil means}}
<pre>            "fee_per_mil": "1",</pre>
<pre>            "fee_per_mil": "1",</pre>


= Fee per mil =
== Fee per mil ==
{{HELP|explain what fee_rate means}}
{{HELP|explain what fee_rate means}}
<pre> "fee_rate": 0.000001</pre>
<pre> "fee_rate": 0.000001</pre>


= Time Lock delta =
== Time Lock delta ==
See [[Delays]]
See [[Delays]]


= Minimum channel size =
== Minimum channel size ==
Set minchansize=XXXXX
Set minchansize=XXXXX (lnd)


= Maximum HTLC Size =
== Maximum HTLC Size ==
{{NOTE|This is planned for lnd 6.0}}
{{NOTE|This is planned for lnd 6.0}}
Set the max HTLC size to help pathfinding on mobile. It helps if it is already known how big the max payment can be on a channel, makes pathfinding easier.
Set the max HTLC size to help pathfinding on mobile. It helps if it is already known how big the max payment can be on a channel, makes pathfinding easier.

Revision as of 08:42, 6 March 2019

A channel policy are the rules for the channel, for example the cost (fees) of using this channel.

Changing fees: Changing fees

Help

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
Explain below
   --base_fee_msat value    the base fee in milli-satoshis that will be charged for each forwarded HTLC, regardless of payment size (default: 0)
   --fee_rate value         the fee rate that will be charged proportionally based on the value of each forwarded HTLC, the lowest possible rate is 0.000001
   --time_lock_delta value  the CLTV delta that will be applied to all forwarded HTLCs (default: 0)
   --chan_point value       The channel whose fee policy should be updated, if nil the policies for all channels will be updated. Takes the form of: txid:output_index


Base fee

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
explain what base_fee means
 "base_fee_msat": "0",

Fee per mil

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
explain what fee_per_mil means
             "fee_per_mil": "1",

Fee per mil

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
explain what fee_rate means
 "fee_rate": 0.000001

Time Lock delta

See Delays

Minimum channel size

Set minchansize=XXXXX (lnd)

Maximum HTLC Size

Error creating thumbnail: File missing
Side note:
This is planned for lnd 6.0

Set the max HTLC size to help pathfinding on mobile. It helps if it is already known how big the max payment can be on a channel, makes pathfinding easier.