bbqpool-stratum
Version:
High performance Stratum poolserver in Node.js. Optimized to build with GCC 10 and O3 / bugfixes
17 lines (13 loc) • 453 B
JavaScript
/*
*
* Main (Updated)
*
*/
const Pool = require('./main/pool');
////////////////////////////////////////////////////////////////////////////////
exports.algorithms = require('./main/algorithms');
exports.daemon = require('./main/daemon');
exports.difficulty = require('./main/difficulty');
exports.create = function(poolOptions, portalOptions, authorizeFn, responseFn) {
return new Pool(poolOptions, portalOptions, authorizeFn, responseFn);
};