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

hivecoin HVQ (HVN) #18

Open
newpoolpw opened this issue Oct 14, 2021 · 0 comments
Open

hivecoin HVQ (HVN) #18

newpoolpw opened this issue Oct 14, 2021 · 0 comments

Comments

@newpoolpw
Copy link

newpoolpw commented Oct 14, 2021

Good evening. Tell me, is it possible to add an additional construction of the kawpow blocktemplate?
The kawpow of HVQ is slightly different. I tried to find the changes, but I don't understand well. Perhaps a link to the pool in their git will help. I tried to run with this kawpow but the reward is 0. HiveProject2021/kawpow-pool@224d574

let cliHost = '';
if (portalConfig.cliHost) {
cliHost = portalConfig.cliHost;
} else {
cliHost = '127.0.0.1';
}
var cliPort = portalConfig.cliPort;
var listener = new CliListener(cliHost, cliPort);
listener.on('log', function (text) {
logger.debug('Master', 'CLI', text);
}).on('command', function (command, params, options, reply) {
switch (command) {
case 'blocknotify':
Object.keys(cluster.workers).forEach(function (id) {
cluster.workers[id].send({type: 'blocknotify', coin: params[0], hash: params[1]});
});
reply('Pool workers notified');
break;
case 'coinswitch':
processCoinSwitchCommand(params, options, reply);
break;
case 'reloadpool':
Object.keys(cluster.workers).forEach(function (id) {
cluster.workers[id].send({type: 'reloadpool', coin: params[0]});
});
reply('reloaded pool ' + params[0]);
break;
default:
reply('unrecognized command "' + command + '"');
break;
}
}).start();

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

No branches or pull requests

1 participant