Skip to content

Commit 6e0f59d

Browse files
committed
spv: Remove SFNodeCF from required services
This removes the SFNodeCF from the required services for nodes when querying for nodes in the https seeder. This service was removed from dcrd on commit b04e2456c8dc842b285b509b8fe1e6f7f8306aa7 as part of the work to deprecate V1 CFilters. V1 CFilters are no longer used by dcrwallet, and the fact that nodes no longer advertise support for this service, means the list of nodes returned by the seeders to dcrwallet is severely limited. In particular, for testnet as of this writing only a single (outdated) node is returned, making it harder to sync testnet nodes.
1 parent 4ed5a4c commit 6e0f59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spv/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func (s *Syncer) Run(ctx context.Context) error {
339339

340340
// Seed peers over DNS when not disabled by persistent peers.
341341
if len(s.persistentPeers) == 0 {
342-
s.lp.SeedPeers(ctx, wire.SFNodeNetwork|wire.SFNodeCF)
342+
s.lp.SeedPeers(ctx, wire.SFNodeNetwork)
343343
}
344344

345345
// Start background handlers to read received messages from remote peers

0 commit comments

Comments
 (0)