Questions about the commit_fee calculation #9177
Unanswered
ShookLyngs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Assume A has a channel A/B, and B has a channel B/C:
My questions:
ANCHORS
commitment type channel, so the estimated commit weight should be1124 + 172 * num-untrimmed-htlc-outputs
, wherenum-untrimmed-htlc-outputs = 1
, making the weight1296
.fee_per_kw
for the channel is253
at the moment, the fee should be:1296 * 253 / 1000 = 327.888
. The result should be rounded down, soMath.floor(327.888) = 327
.Beta Was this translation helpful? Give feedback.
All reactions