base_fee
, base_fee_msat
and bitcoin.basefee
in LND.lncli updatechanpolicy --base_fee_msat 1000 55d9c8e11e6a926e3929a9584298278e6297b75b75f4f8c751f6b00da05ffe72:1
bitcoin.basefee=1000
lncli updatechanpolicy
uses decimal places. The command lncli feereport
will return both the decimal value (fee_rate
) and the amount per million (fee_per_mil
) for your convenience.lncli updatechanpolicy --fee_rate 0.000001 55d9c8e11e6a926e3929a9584298278e6297b75b75f4f8c751f6b00da05ffe72:1
bitcoin.feerate=1
lncli feereport
will output a list of all your channels and your fee policies. It will also give you a summary of how many fees you have earned routing per day, week and month.lncli feereport
{
"chan_id": "743145615608774656",
"channel_point": "2b91c69a05082d05d7135b41806cc34303837ea10383d1ac3eef77969f98d16e:0",
"base_fee_msat": "1000",
"fee_per_mil": "500",
"fee_rate": 0.000001
}
lncli getchaninfo
, lncli getchaninfo 743145615608774656
{
"channel_id": "743145615608774656",
"chan_point": "2b91c69a05082d05d7135b41806cc34303837ea10383d1ac3eef77969f98d16e:0",
"last_update": 1616482074,
"node1_pub": "021c97a90a411ff2b10dc2a8e32de2f29d2fa49d41bfbb52bd416e460db0747d0d",
"node2_pub": "032d5a4b5a6a344ca15f6284e3e149f4716a1af782ffbb0194e0dadc077051acf0",
"capacity": "16777215",
"node1_policy": {
"time_lock_delta": 40,
"min_htlc": "1000",
"fee_base_msat": "1000",
"fee_rate_milli_msat": "500",
"disabled": false,
"max_htlc_msat": "16609443000",
"last_update": 1616480497
},
"node2_policy": {
"time_lock_delta": 40,
"min_htlc": "1000",
"fee_base_msat": "1000",
"fee_rate_milli_msat": "1000",
"disabled": false,
"max_htlc_msat": "16609443000",
"last_update": 1616482074
}
}
lncli describegraph
. This will return all channels and their policies across the entire network.lncli updatechanpolicy --base_fee_msat 1000 --fee_rate 0.000001 --time_lock_delta 500 --min_htlc_msat 1000 --chan_point 55d9c8e11e6a926e3929a9584298278e6297b75b75f4f8c751f6b00da05ffe72:1
bitcoin.basefee=1000 # (in milli-satoshi)
bitcoin.feerate=1 # (in parts per million)
lncli updatechanpolicy
with the existing parameters to all channels before amending the configuration file and restarting lnd.lncli updatechanpolicy --base_fee_msat 1000 --fee_rate 0.000001