-
Notifications
You must be signed in to change notification settings - Fork 374
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
Network peering discovery - Seed mode - Addrbook.json #2308
Comments
I don't think it's a question of whether we need this, but how do we not already have this? Bootnodes are essential to bootstrapping a chain / network pockets, and making sure discovery happens out of the box, continuously. @albttx, I see the addrbook addition as an easy addition (periodic peer info dump to disk). I'm just curious whether we need this kind of functionality in the first place if the size of the cluster that ultimately needs to be discovered is not even large, and rediscovering it upon boot shouldn't take too much time. What do you think? How much time is actually saved in practice, through this "optimization"? I'd say full steam ahead on the bootnode (seeds) implementation |
@albttx does this apply also for |
@albttx |
The reason for removing Before we implement |
Fixing the networking configuration for the launch is essential, but we shouldn't implement AddrBook. We can either rename the title and description or close this issue in favor of a new one. Remember, it's not just about writing code—there may not even be any code to write. It's also about coordinating the configuration on an external repository. |
@zivkovicmilos please reuse this issue when you have time |
I'm not sure to understand @moul ,
Do you means by that fixing p2p seeds and pex ? In that case, where are you planning to store the discovered peers ? the cool things with the I love the idea of |
Peering and network discovery
Description
During my setup of a multi-node cluster, i realised there is not (as in tendermint 1):
addrbook.json
The only peering solution is
persistent_peers
. Which is known by tendermint node runner to node be a best practice to set because it could cause network issue leading to missing blocks.To setup a 3 nodes cluster, what i would like to do is :
thanks to that, all 3 nodes will be connected.
If a new node arrive
We would need to add all nodes are persistent peers... :/
Seed Mode
Some people run a "Seed node", which is a node only to help people to connect to the network and gather peers, this setting is mostly set to
false
.In tendermint, there is a
seed_mode = {{ true || false }}
.Here is a part default tendermint config.toml file.
FYI, validators and infra people mostly run binaryholdings/tenderseed which is like a seed node, without block check.
Addrbook.json
in tendermint, there is a
$DAEMON_HOME/config/addrbook.json
file, which contains a list of peers, so everytime the node restart, it will read from this file the list of peers.This 2 features has been removed by @jaekwon from 2021, in the beginning of tm2. Is it wanted ? Temporary removed ? Does he have a different solutions in mind ?
I would be happy to work in this and get my hands inside of tm2 if it's accepted :)
The text was updated successfully, but these errors were encountered: