Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next

This commit is contained in:
Sebastian Grewe 2013-06-03 12:57:19 +02:00
commit 0890914d69
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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(

View File

@ -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,