Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightning-rf #740 set feespike factor to 2 #3589

Merged

Conversation

m-schmoock
Copy link
Collaborator

@m-schmoock m-schmoock commented Mar 12, 2020

This PR makes our channel lockup drain mitigation 86c28b2 compatible with the upcoming changes of the lightning/bolts#740 wich will set this value to a factor of 2.

@m-schmoock m-schmoock force-pushed the fix/rfc740_feespike_factor branch 3 times, most recently from 0b47e45 to 78335ef Compare March 13, 2020 08:27
@cdecker
Copy link
Member

cdecker commented Mar 13, 2020

Surprise, we have hardcoded values in tests... I wanted to remove them ever since I got started with the elements support, since they can break way too easily.

@m-schmoock m-schmoock force-pushed the fix/rfc740_feespike_factor branch 2 times, most recently from ee60bd1 to 3effa3c Compare March 13, 2020 14:11
lightningd/peer_control.c Outdated Show resolved Hide resolved
tests/test_pay.py Show resolved Hide resolved
tests/test_pay.py Outdated Show resolved Hide resolved
tests/test_pay.py Outdated Show resolved Hide resolved
@m-schmoock m-schmoock force-pushed the fix/rfc740_feespike_factor branch 2 times, most recently from e1efcef to 2c7f8b4 Compare March 19, 2020 11:36
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
Copy link
Member

@cdecker cdecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This conflicts with my cleanup PR, but doesn't introduce new failures, so I'll rebase #3568 on top of this.

ACK 9f0064c

* non-funder can't add any non-dust HTLCs (since the funder would
* have to pay the additional fee, but it can't afford to). This
* leads to the channel starving at the feast! This was reported by
* ACINQ's @t-bast
* (https://github.com/lightningnetwork/lightning-rfc/issues/728) and
* demonstrated with c-lightning by @m-schmook
* demonstrated with c-lightning by @m-schmoock
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about mistyping your nickname btw 😉

@cdecker cdecker merged commit af7e879 into ElementsProject:master Mar 19, 2020
@m-schmoock m-schmoock deleted the fix/rfc740_feespike_factor branch March 21, 2020 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants