Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next
This commit is contained in:
commit
0890914d69
@ -6,7 +6,7 @@ if (!defined('SECURITY'))
|
||||
|
||||
class Worker {
|
||||
private $sError = '';
|
||||
private $table = 'workers';
|
||||
private $table = 'pool_worker';
|
||||
|
||||
public function __construct($debug, $mysqli, $user, $share, $config) {
|
||||
$this->debug = $debug;
|
||||
|
||||
@ -34,7 +34,7 @@ $config = array(
|
||||
'blockexplorer' => 'http://explorer.litecoin.net/search?q=', // URL for block searches, prefixed to each block number
|
||||
'chaininfo' => 'http://allchains.info', // Link to Allchains for Difficulty information
|
||||
'fees' => 0,
|
||||
'difficulty' => '31', // Target difficulty for this pool as set in pushpoold json
|
||||
'difficulty' => '20', // Target difficulty for this pool as set in pushpoold json
|
||||
'reward' => '50', // Reward for finding blocks, fixed value but changes someday
|
||||
'confirmations' => '120', // Confirmations per block needed to credit transactions
|
||||
'memcache' => array(
|
||||
|
||||
@ -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,
|
||||
`account_id` int(255) NOT NULL,
|
||||
`username` char(50) DEFAULT NULL,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user