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

ZeroMQ support for solo mining #465

Merged
merged 1 commit into from
Jul 17, 2021
Merged

ZeroMQ support for solo mining #465

merged 1 commit into from
Jul 17, 2021

Conversation

SChernykh
Copy link
Contributor

Gets new blocks from daemon immediately without polling, saving ~0.5 seconds on average when daemon gets new block from the network. Also saves some CPU cycles because it doesn't need to poll daemon every second.

Testing: add "daemon-zmq-port": 28083 to proxy's pool config in config.json and run ./monerod --testnet --zmq-pub tcp://127.0.0.1:28083

Gets new blocks from daemon immediately without polling, saving ~0.5 seconds on average when daemon gets new block from the network. Also saves some CPU cycles because it doesn't need to poll daemon every second.

Testing: add "daemon-zmq-port": 28083 to proxy's pool config in config.json and run ./monerod --testnet --zmq-pub tcp://127.0.0.1:28083
@xmrig xmrig merged commit 945f9a9 into xmrig:dev Jul 17, 2021
@SChernykh SChernykh mentioned this pull request Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants