Skip to content

Conversation

@sipa
Copy link
Member

@sipa sipa commented Jun 15, 2016

Since #8083 and #7749 were both merged, any flag set in nRelevantServices would propagate to all CAddress results retrieved from the DNS seed, even if that DNS seed does not support filtering.

Fix this by making the name adaptation function also update the passed in flags.

Furthermore, move that from from DNSSeedData to net. Structs in chainparams should be data only.

@maflcko maflcko added the P2P label Jun 15, 2016
@gmaxwell
Copy link
Contributor

utACK

@jonasschnelli
Copy link
Contributor

Thanks for fixing.
utACK bc0a895

@laanwj
Copy link
Member

laanwj commented Jun 16, 2016

utACK bc0a895

@laanwj laanwj merged commit bc0a895 into bitcoin:master Jun 16, 2016
laanwj added a commit that referenced this pull request Jun 16, 2016
bc0a895 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)
codablock pushed a commit to codablock/dash that referenced this pull request Dec 28, 2017
…sults

bc0a895 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…sults

bc0a895 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)
furszy added a commit to PIVX-Project/PIVX that referenced this pull request May 14, 2020
…ults

9107379 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)

Pull request description:

  Backport of bitcoin#8208 based on top of #1616 (Only the last commit is important here). Part of #1374.

  Original Description:

  > Any flag set in nRelevantServices would propagate to all CAddress results retrieved from the DNS seed, even if that DNS seed does not support filtering.
  >
  > Fix this by making the name adaptation function also update the passed in flags.
  >
  > Furthermore, move that from from DNSSeedData to net. Structs in chainparams should be data only.

ACKs for top commit:
  random-zebra:
    utACK 9107379
  furszy:
    utACK 9107379

Tree-SHA512: a4c75fcdabac7afbd5df4b33f0bd02a438dffa75b8b63bc49fe63998579c8a15d6067cc357a72efd0b8123c9708853b9e2d04eada7ae85c088b0952bcf0baa90
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants