Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

add ability to not gossip with miners #1804

Merged
merged 2 commits into from
Aug 17, 2022
Merged

add ability to not gossip with miners #1804

merged 2 commits into from
Aug 17, 2022

Conversation

evanmcc
Copy link
Contributor

@evanmcc evanmcc commented Aug 17, 2022

since the miner stopped following the chain, not connecting to them blackholes a gossip link, making it hard for certain nodes to connect to active chain followers and stay synced. this PR makes prefer non-miners as gossip peers, hopefully improving sync until we can remove the miners from the gossip network, at which point we can tune down the number of active connections.

src/miner_util.erl Outdated Show resolved Hide resolved
@andymck
Copy link
Contributor

andymck commented Aug 17, 2022

Would using <<"node_type">> not be a better option to check here ? Which would have a value of <<"gateway">> for miners ?

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

Successfully merging this pull request may close these issues.

5 participants