Skip to content

Commit bc90879

Browse files
committed
Merge pull request #2386 from MPOS/bigint-blocks-shares
Bigint blocks shares
2 parents 943dcd0 + af69042 commit bc90879

16 files changed

+38
-33
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
0.0.1 (Mar 7th 2013)
1+
1.0.0 (Jan 18th 2015)
22
--------------------
33

4-
* WiP Upload of all files currently available
5-
* Added upstream script collections
6-
* Added SQL structure
4+
* First (non-beta) public release of MPOS

include/config/global.inc.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Also the URL to check for the most recent upstream versions available
77
* https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-config-version
88
**/
9-
$config['version'] = '0.0.8';
9+
$config['version'] = '1.0.0';
1010
$config['version_url'] = 'https://raw.githubusercontent.com/MPOS/php-mpos/master/include/version.inc.php';
1111

1212
/**

include/version.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
33

4-
define('MPOS_VERSION', '0.0.4');
5-
define('DB_VERSION', '0.0.15');
6-
define('CONFIG_VERSION', '0.0.8');
4+
define('MPOS_VERSION', '1.0.0');
5+
define('DB_VERSION', '1.0.0');
6+
define('CONFIG_VERSION', '1.0.0');
77
define('HASH_VERSION', 1);
88

99
// Fetch installed database version

sql/000_base_structure.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ CREATE TABLE IF NOT EXISTS `blocks` (
4646
`accounted` tinyint(1) NOT NULL DEFAULT '0',
4747
`account_id` int(255) unsigned DEFAULT NULL,
4848
`worker_name` varchar(50) DEFAULT 'unknown',
49-
`shares` int(255) unsigned DEFAULT NULL,
49+
`shares` bigint(30) unsigned DEFAULT NULL,
5050
`share_id` bigint(30) DEFAULT NULL,
5151
PRIMARY KEY (`id`),
5252
UNIQUE KEY `height` (`height`,`blockhash`),
@@ -144,7 +144,7 @@ CREATE TABLE IF NOT EXISTS `settings` (
144144
UNIQUE KEY `setting` (`name`)
145145
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
146146

147-
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.15');
147+
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '1.0.0');
148148

149149
CREATE TABLE IF NOT EXISTS `shares` (
150150
`id` bigint(30) NOT NULL AUTO_INCREMENT,

sql/001_pplns_statistics.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

sql/002_settings_update.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

sql/003_monitoring_update.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

sql/004_blocks_worker.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

sql/005_create_templates_table.sql

Lines changed: 0 additions & 7 deletions
This file was deleted.

sql/006_txid_transactions.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)