Difference between revisions of "Changing fees"

From lightningwiki.net
Jump to navigation Jump to search
Line 5: Line 5:
<pre>lncli updatechanpolicy --base_fee_msat 0 --fee_rate 0.000001 --time_lock_delta 10</pre>
<pre>lncli updatechanpolicy --base_fee_msat 0 --fee_rate 0.000001 --time_lock_delta 10</pre>


== Example ==
== Help ==
<pre>lncli updatechanpolicy 1000 1000 144</pre>
{{HELP|Explain below||
* it means my base_fee is `1 sat`
<pre>
* my fee_rate is `0.001` (to be multiplied to amt of payment which is in satoshi)
  --base_fee_msat value    the base fee in milli-satoshis that will be charged for each forwarded HTLC, regardless of payment size (default: 0)
* 144 is the timelockdelta
  --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>


= Setting fees in c-lightning =
= Setting fees in c-lightning =

Revision as of 14:21, 4 March 2019

Read about fees on the fees page.

Setting fees in LND

This sets the fees to LOW:

lncli updatechanpolicy --base_fee_msat 0 --fee_rate 0.000001 --time_lock_delta 10

Help

{{HELP|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

Setting fees in c-lightning

Error creating thumbnail: File missing
Please help by adding more information. Suggestion:
add info how c-lightning does it

More node management

Node Management