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

Does Tron network save discovered nodes locally for a long time? #5972

Closed
TayC710 opened this issue Aug 26, 2024 · 9 comments
Closed

Does Tron network save discovered nodes locally for a long time? #5972

TayC710 opened this issue Aug 26, 2024 · 9 comments

Comments

@TayC710
Copy link

TayC710 commented Aug 26, 2024

I want to know if the tron network has a mechanism for storing nodes discovered during the node discovery process for a long time, just like Bitcoin, where these discovered nodes are saved locally. Even if the Bitcoin network restarts, these discovered nodes will not disappear.

@endiaoekoe
Copy link

I want to know if the tron network has a mechanism for storing nodes discovered during the node discovery process for a long time, just like Bitcoin, where these discovered nodes are saved locally. Even if the Bitcoin network restarts, these discovered nodes will not disappear.

@TayC710
per my understanding to java-tron node discovery mechanism. except for the seed nodes confined in the config file . the node-find mechanism will keep trying to connect to new peers in order to maintain enough connections. The results of node discovery will be stored temporarily for establishing new connections.
which means the nodes found through the node discovery mechanism will be dynamically stored tempporarily and will not be permanently stored.

@11111961abc
Copy link

11111961abc commented Aug 26, 2024 via email

@abn2357
Copy link

abn2357 commented Aug 26, 2024

I want to know if the tron network has a mechanism for storing nodes discovered during the node discovery process for a long time, just like Bitcoin, where these discovered nodes are saved locally. Even if the Bitcoin network restarts, these discovered nodes will not disappear.

@TayC710 per my understanding to java-tron node discovery mechanism. except for the seed nodes confined in the config file . the node-find mechanism will keep trying to connect to new peers in order to maintain enough connections. The results of node discovery will be stored temporarily for establishing new connections. which means the nodes found through the node discovery mechanism will be dynamically stored tempporarily and will not be permanently stored.

@endiaoekoe How many seed nodes do Java Tron have now?

@endiaoekoe
Copy link

endiaoekoe commented Aug 26, 2024

How many seed nodes do Java Tron have now?

hi, @TayC710
you can find the current seeds nodes configed in java-tron in main_net_config .
and for more details descriptions,check it here

@abn2357
Copy link

abn2357 commented Aug 26, 2024

How many seed nodes do Java Tron have now?

hi, @TayC710 you can find the current seeds nodes configed in java-tron in main_net_config . and for more details descriptions,check it here

@endiaoekoe In the ref doc, seed node means stable online mainnet full node, So what is the definition of stable?

@endiaoekoe
Copy link

So what is the definition of stable?

in my opinion, "stable node " means it's available 24/7 and you can rely on it and communicate with it as much as possible (synchronize blocks/transactions, etc.)

@abn2357
Copy link

abn2357 commented Aug 28, 2024

So what is the definition of stable?

in my opinion, "stable node " means it's available 24/7 and you can rely on it and communicate with it as much as possible (synchronize blocks/transactions, etc.)

what is the minimum number of seed modes does Tron need?

@endiaoekoe
Copy link

endiaoekoe commented Aug 29, 2024

what is the minimum number of seed modes does Tron need?

I think there are no limits for seed nodes amount;
but it is recommended to config multiple seed nodes to accelerate the node discovery process;
on the other hand,insufficient number of seed nodes may result in slower node discovery .

@vivian1912
Copy link
Contributor

@TayC710 May I ask if the above answer your question? This issue will be closed as no update for a long time. Please feel free to re-open it if you still see the issue, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants