Skip to content

Commit

Permalink
Rephrase the fee spike buffer requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast committed Mar 30, 2020
1 parent f5490f1 commit afb7313
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -793,10 +793,10 @@ A sending node:
transaction at the current `feerate_per_kw` while maintaining its channel
reserve (see [Updating Fees](#updating-fees-update_fee)).
- SHOULD NOT offer `amount_msat` if, after adding that HTLC to its commitment
transaction, its remaining balance doesn't allow it to pay the fee for a
future additional non-dust HTLC at a higher feerate while maintaining its
channel reserve ("fee spike buffer"). A buffer of `2*feerate_per_kw` is
recommended to ensure predictability.
transaction, its remaining balance doesn't allow it to pay the fee to receive a

This comment has been minimized.

Copy link
@m-schmoock

m-schmoock Mar 30, 2020

Collaborator

Maybe something like:

doesn't allow it to pay the (commitment transaction?) fee when adding a potential non-dust HTLC ..."

This comment has been minimized.

Copy link
@t-bast

t-bast Mar 30, 2020

Author Collaborator

Good idea, making it explicity that it's the fee of the commitment transaction (not just the HTLC) probably clears this up

This comment has been minimized.

Copy link
@t-bast

t-bast Mar 30, 2020

Author Collaborator

Let me know what you think of 60eeb09

future additional non-dust HTLC while maintaining its channel reserve ("fee
spike buffer"). A buffer that expects the current `feerate_per_kw` to potentially
double is recommended to ensure predictability between implementations.
- if it is _not responsible_ for paying the Bitcoin fee:
- MUST NOT offer `amount_msat` if, once the remote node adds that HTLC to
its commitment transaction, it cannot pay the fee for the updated local or
Expand Down

0 comments on commit afb7313

Please sign in to comment.