You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inferring from the fees calculated by LND suggests that the fees charged & received by a node X forwarding a payment are calculated using the base fees and fee rates as set by node X for the inbound channel and outbound channel of the forwarded payment by the following formula: feed charged = max (fee(inbound channel), fee(outbound channel)).
The documentation is not explicit about the rules that LND uses to establish the fees and about their impact on how a node uses these rules in the payment routing policy.
Your environment
version of lnd lncli version 0.14.1-beta commit=v0.14.1-beta
which operating system (uname -a on *Nix) Ubuntu server 16.04
version of btcd, bitcoind, or other backend Bitcoin Core RPC client version v22.0.0
any other relevant environment details
Steps to reproduce
Documentation issue, see above
Expected behaviour
The document should be explicit about the rules used to calculate and charge the fee by a node on the basis of the fee policy that this node applies for its channels, taking into account whether the channel is inbound or outbound for the payment.
The documentation should be explicit about the impact of these rules on the routing policy of a payment.
Actual behaviour
Not clear whether the fees charged by a node are based on the inbound channel and/or outbound channel fee policy(ies).
The text was updated successfully, but these errors were encountered:
Background
Quoting from https://github.com/lightninglabs/docs.lightning.engineering/blob/master/lightning-network-tools/lnd/channel-fees.md, " Fees are applied only once per channel by the party which is forwarding the fee. Meaning, as you push a payment to your neighbor node, you are able to charge a fee, and as payments are pushed to you, your neighbor charges the fee, even if the channel was created by you."
Inferring from the fees calculated by LND suggests that the fees charged & received by a node X forwarding a payment are calculated using the base fees and fee rates as set by node X for the inbound channel and outbound channel of the forwarded payment by the following formula: feed charged = max (fee(inbound channel), fee(outbound channel)).
The documentation is not explicit about the rules that LND uses to establish the fees and about their impact on how a node uses these rules in the payment routing policy.
Your environment
Steps to reproduce
Documentation issue, see above
Expected behaviour
The document should be explicit about the rules used to calculate and charge the fee by a node on the basis of the fee policy that this node applies for its channels, taking into account whether the channel is inbound or outbound for the payment.
The documentation should be explicit about the impact of these rules on the routing policy of a payment.
Actual behaviour
Not clear whether the fees charged by a node are based on the inbound channel and/or outbound channel fee policy(ies).
The text was updated successfully, but these errors were encountered: