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

Remove MDNS #1830

Closed
wants to merge 4 commits into from
Closed

Remove MDNS #1830

wants to merge 4 commits into from

Conversation

rrw-zilliqa
Copy link
Contributor

(this PR applies on top of #1829 )

GCP only partly supports mdns and local networks don't support it at all; having it present encourages libp2p to think it can locate peers using mdns and do work that it doesn't need to do. It also leads to an odd situation with local networks (where nodes have no globally visible address) where all packets have to be passed using illegitimate mdns broadcasts because we refuse to accept any of the addresses identify identifies (they are all classed as non-global and our code discards them).

This patch removes mdns, simplifying our libp2p config. zq2-richard is at block 106,000 and some with it, so I hope it's not too deleterious ..

(feat) Be more conservative in deleting blocks from the block_store
(fix) Remember to remove requests from the in-flight requests queue when we get a response
(feat) admin_ mechanisms to draw graphs of node arrangements and interrupt comms
(feat) z2 commands to partition the network and dump out node arrangements
(feat) A configuration file for zq2-richard
(feat) z2 deployer info and command-line options to specify hosts for z2 deployer install and upgrade
(feat) Scripts to allow you to easily(ish) run dhat and oprofile on zilliqa processes
(feat) A ZQ2_API_URL env var for deposit txns so you can insert mitmweb to work out why they are failing.
(feat) List API URLs in z deployer info
@rrw-zilliqa rrw-zilliqa marked this pull request as ready for review November 14, 2024 23:22
@rrw-zilliqa
Copy link
Contributor Author

Duplicate of JH's recent PR

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.

1 participant