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

Ping p2pool nodes asynchronously #616

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

KforG
Copy link
Collaborator

@KforG KforG commented Feb 28, 2024

Sometimes when verification of verthash.dat was done, OCM would have to wait on the last p2pool nodes to respond before a node was selected, and mining could begin.

While #546 improved OCM startup time significantly by pinging the nodes in a go routine, along the rest of the startup processes. This PR allows for p2pool nodes to be pinged asynchronously from each other. Allowing for less time spent waiting for nodes to answer.

Additionally this also changes the default p2pool node. The old p2proxy node no longer exist.

@vertiond
Copy link
Member

Looks good. Nice improvement

@KforG KforG merged commit 27859cb into vertcoin-project:master Feb 29, 2024
1 check failed
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.

2 participants