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
Hostnames in config #861
base: dev
Are you sure you want to change the base?
Hostnames in config #861
Conversation
Add a nicer user interface to the sv2 cpuminer with help messages. Add noise to the cpuminer.
Improve sv2 cpuminer
51f5cca
to
95af7b5
Compare
95af7b5
to
6e81290
Compare
thanks @nikicat, this looks like a nice improvement do you have any suggestion with regards to a local setup where these changes could be tested? |
I use Docker Compose to test it locally. Actually, this setup was the cause of this PR. |
you can test it using |
This PR needs to be rebased on dev |
hey @nikicat I tested this PR and it seems like a great improvement! we had some changes to the could you do that on your |
This patch allows to specify hostnames in config files instead of just IP addresses. It uses
net::ToSocketAddrs
to resolve the entry in the config file and proceeds with the first resolved entry. It is useful for cases when an IP address of a peer is not known in advance like running inside Kubernetes or Docker Compose.