Skip to content

hivecoin HVQ (HVN) #18

Description

@newpoolpw

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions