Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NODE_P2P_V2 to filters #102

Merged
merged 1 commit into from Aug 29, 2023
Merged

Add NODE_P2P_V2 to filters #102

merged 1 commit into from Aug 29, 2023

Conversation

Sjors
Copy link
Contributor

@Sjors Sjors commented Jan 20, 2023

Perhaps premature since bitcoin/bitcoin#24545 hasn't been merged yet, but I figured it would be handy if at least one seed supports it. Mine does now, only on mainnet:

  • xc08.seed.bitcoin.sprovoost.nl all SegWit enabled nodes including pruned ones
  • x809.seed.bitcoin.sprovoost.nl all SegWit enabled full archive nodes (needed for IBD)
  • for compact filters use x849 for full archive nodes (or xc48, but Bitcoin Core only serves these filters on pruned nodes if they've been enabled since IBD, see Improve Indices on pruned nodes via prune blockers bitcoin/bitcoin#21726)

So far it's found one reachable node on IPv4.

Usage (IPv4 vs IPv6, results under ANSWER SECTION):

dig -t A xc08.seed.bitcoin.sprovoost.nl
dig -t AAAA xc08.seed.bitcoin.sprovoost.nl

Assuming modern node software won't need pre-segwit peers or bloom filters, these combinations have been omitted.

Someone should sanity check the hex values.

Assuming modern node software won't need pre-segwit peers or bloom filters, these combinations have been omitted.
@sipa
Copy link
Owner

sipa commented Aug 29, 2023

ACK b9c64db

@sipa sipa merged commit 4ff7d8f into sipa:master Aug 29, 2023
@Sjors Sjors deleted the 2023/01/p2pv2 branch August 30, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants