Skip to content

First step toward static feebumping#25

Merged
darosior merged 8 commits intorevault:masterfrom
darosior:static_feebumping
May 13, 2022
Merged

First step toward static feebumping#25
darosior merged 8 commits intorevault:masterfrom
darosior:static_feebumping

Conversation

@darosior
Copy link
Copy Markdown
Member

This implements revault/practical-revault#119.

We start by adapting the listener to the new messages, and make it treat incoming Cancel signatures for the various Cancel transactions (where it previously only had to manage for a single one).
We continue by adapting the poller loop to choose the correct Cancel transaction to broadcast depending on the fee estimates. This is only a first step, more needs to be considered for a proper fee bumping integration.
Finally, we get rid of the fee bumping wallet mentions: we are not doing that anymore (for the time being).

@darosior
Copy link
Copy Markdown
Member Author

Rebased

@darosior darosior force-pushed the static_feebumping branch 4 times, most recently from d56cd27 to bfe5c31 Compare May 3, 2022 07:17
@darosior darosior requested a review from edouardparis May 5, 2022 09:57
@darosior darosior force-pushed the static_feebumping branch from bfe5c31 to 25319b3 Compare May 5, 2022 16:13
Comment thread src/bitcoind/interface.rs Outdated
Comment thread src/bitcoind/interface.rs Outdated
Comment thread src/poller.rs Outdated
Comment thread src/poller.rs Outdated
@darosior darosior force-pushed the static_feebumping branch from 25319b3 to 4c9ed5b Compare May 6, 2022 15:34
@darosior
Copy link
Copy Markdown
Member Author

darosior commented May 6, 2022

Thanks i hadn't run clippy 🙊

@darosior darosior force-pushed the static_feebumping branch 2 times, most recently from 6a98572 to 128c7f8 Compare May 6, 2022 16:04
darosior added 6 commits May 6, 2022 19:21
We use a custom pytest marker to optionally create a proxy server
in-between miradord and bitcoind, to optionally mock some RPC calls made
from the former to the latter.
…martfee

We adapt the feerate of the Cancel we'll broadcast to the feerate market
conditions. We still need a fallback estimation and to implement
re-bumping but it's a first step toward static fee-bumping for the WT.
@darosior darosior force-pushed the static_feebumping branch from 128c7f8 to 390bda4 Compare May 6, 2022 17:23
@darosior darosior requested a review from edouardparis May 6, 2022 17:36
@darosior
Copy link
Copy Markdown
Member Author

@edouardparis if you can have another look, i think it's RFM

Copy link
Copy Markdown
Member

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

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

utACK 390bda4

@darosior darosior merged commit e589c35 into revault:master May 13, 2022
@darosior darosior deleted the static_feebumping branch May 13, 2022 16:24
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