From e5772ba550b51c1c3ed3e127f624763b012c3ca7 Mon Sep 17 00:00:00 2001 From: buck54321 Date: Tue, 12 Nov 2024 10:51:04 -0600 Subject: [PATCH] remove dead btc fee rate source (#3074) --- server/asset/btc/btc.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/server/asset/btc/btc.go b/server/asset/btc/btc.go index 25a834ffc9..bd50f42e7f 100644 --- a/server/asset/btc/btc.go +++ b/server/asset/btc/btc.go @@ -1751,22 +1751,6 @@ var freeFeeSources = []*txfee.SourceConfig{ return uint64(math.Round(float64(r) / 1e3)), 0, nil }, }, - { - // undocumented - Name: "billfodl.com", - Rank: 2, - Period: time.Minute * 3, - F: func(ctx context.Context) (rate uint64, errDelay time.Duration, err error) { - const uri = "https://bitcoinfees.billfodl.com/api/fees/" - var res struct { - Fastest uint64 `json:"fastestFee,string"` - } - if err := dexnet.Get(ctx, uri, &res); err != nil { - return 0, time.Minute * 10, err - } - return res.Fastest, 0, nil - }, - }, { // https://blockchair.com/api/docs#link_M0 Name: "blockchair.com",