Skip to content

Commit 3d1c376

Browse files
committed
chaintopology: remove deprecated urgent/normal/slow feerate display.
Signed-off-by: Rusty Russell <[email protected]>
1 parent d211e1f commit 3d1c376

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

lightningd/chaintopology.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -512,23 +512,6 @@ static struct command_result *json_feerates(struct command *cmd,
512512
feerate_to_style(feerate_min(cmd->ld, NULL), *style));
513513
json_add_u64(response, "max_acceptable",
514514
feerate_to_style(feerate_max(cmd->ld, NULL), *style));
515-
516-
if (deprecated_apis) {
517-
/* urgent feerate was CONSERVATIVE/2, i.e. what bcli gives us
518-
* now for unilateral close feerate */
519-
json_add_u64(response, "urgent",
520-
feerate_to_style(unilateral_feerate(cmd->ld->topology), *style));
521-
/* normal feerate was ECONOMICAL/4, i.e. what bcli gives us
522-
* now for opening feerate */
523-
json_add_u64(response, "normal",
524-
feerate_to_style(opening_feerate(cmd->ld->topology), *style));
525-
/* slow feerate was ECONOMICAL/100, i.e. what bcli gives us
526-
* now for min feerate, but doubled (the min was slow/2 but now
527-
* the Bitcoin plugin directly gives the real min acceptable). */
528-
json_add_u64(response, "slow",
529-
feerate_to_style(feerate_min(cmd->ld, NULL) * 2, *style));
530-
}
531-
532515
json_object_end(response);
533516

534517
if (!missing) {

0 commit comments

Comments
 (0)