Renamed workers table to pool_worker
* This will fix issues with mining pools using the default name * Back in line with default configurations for most mining pool software * Fixes #93
This commit is contained in:
parent
3eb652402f
commit
96c9a4ae08
@ -6,7 +6,7 @@ if (!defined('SECURITY'))
|
|||||||
|
|
||||||
class Worker {
|
class Worker {
|
||||||
private $sError = '';
|
private $sError = '';
|
||||||
private $table = 'workers';
|
private $table = 'pool_worker';
|
||||||
|
|
||||||
public function __construct($debug, $mysqli, $user, $share, $config) {
|
public function __construct($debug, $mysqli, $user, $share, $config) {
|
||||||
$this->debug = $debug;
|
$this->debug = $debug;
|
||||||
|
|||||||
@ -161,10 +161,10 @@ CREATE TABLE IF NOT EXISTS `transactions` (
|
|||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `workers`
|
-- Table structure for table `pool_worker`
|
||||||
--
|
--
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `workers` (
|
CREATE TABLE IF NOT EXISTS `pool_worker` (
|
||||||
`id` int(255) NOT NULL AUTO_INCREMENT,
|
`id` int(255) NOT NULL AUTO_INCREMENT,
|
||||||
`account_id` int(255) NOT NULL,
|
`account_id` int(255) NOT NULL,
|
||||||
`username` char(50) DEFAULT NULL,
|
`username` char(50) DEFAULT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user