Skip to content

Commit

Permalink
Merge branch 'master' into bux-313-remove-unused-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-4chain authored Mar 11, 2024
2 parents 35df6e8 + ac91e6f commit c32cb20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions config/p2p_network_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ var mainNetParams = params{
}

var mainNetDNSSeeds = []chaincfg.DNSSeed{
{Host: "seed.bitcoinsv.io", HasFiltering: true},
{Host: "seed.gorillapool.io", HasFiltering: true},
{Host: "seed.cascharia.com", HasFiltering: true},
{Host: "seed.satoshisvision.network", HasFiltering: true},
{Host: "seed-nodes.bsvb.tech", HasFiltering: true},
}

func updatedMainNetParams(p params) *params {
Expand Down
3 changes: 1 addition & 2 deletions internal/chaincfg/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ var MainNetParams = Params{
Net: wire.MainNet,
DefaultPort: "8333",
DNSSeeds: []DNSSeed{
{"seed.metasv.io", true},
{"btccash-seeder.bitcoinunlimited.info", true},
{"seed-nodes.bsvb.tech", true},
},

// Chain parameters
Expand Down
3 changes: 1 addition & 2 deletions internal/chaincfg/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ func TestMustRegisterPanic(t *testing.T) {
// TestSeeds ensures the right seeds are defined.
func TestSeeds(t *testing.T) {
expectedSeeds := []DNSSeed{
{"seed.metasv.io", true},
{"btccash-seeder.bitcoinunlimited.info", true},
{"seed-nodes.bsvb.tech", true},
}

if MainNetParams.DNSSeeds == nil {
Expand Down

0 comments on commit c32cb20

Please sign in to comment.