Skip to content

Commit

Permalink
remove dead btc fee rate source (#3074)
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 authored Nov 12, 2024
1 parent 4fbb943 commit e5772ba
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions server/asset/btc/btc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e5772ba

Please sign in to comment.