-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the most recent fee rate estimate to 1) The orderbook response, 2) the epoch_report notification, and 3) a custom fee_rate endpoint. There are two major reason for this. 1. SPV clients will have no way to estimate fees. They can use the suggested fee rate with some basic sanity checks. 2. This finally closes a small vulnerability regarding fee rates on zero-conf funding coins. Previously, we handled this only client side by ensuring a reasonably high fee rate. But since the server's latest fee rate is available at the client now, we can more justifiably reject low-fee zero-conf coin-funded orders. Right now, the filter is set to >= 90% of the most recently procured rate estimate. Order estimates should also be more accurate now.
- Loading branch information
Showing
21 changed files
with
1,079 additions
and
406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.