Commit Graph

141 Commits

Author SHA1 Message Date
R4SAS
8cfc43eaca implement low-diff shares counting (#2718 #2726) 2018-05-11 12:25:04 +00:00
R4SAS
b007bfa9a9 add database upgrade script, update version in initial database 2018-04-25 08:07:55 +00:00
R4SAS
cdba6ce722
fix "field doesn't have a default values" error
Otherwise cron will return error: `Failed to update share statistics for %username%: SQL Query failed: 1364`
2018-04-25 05:55:47 +03:00
Blonďák
893d920327 #2539 - More generic class UserSettings 2017-01-12 21:22:27 +01:00
Zdeněk Jurka
556db98835 #2539 - Feature request: Pushover.net notifications 2017-01-12 16:32:30 +01:00
Jonny Bravo
d6d68cb8b0 Changed shares to BIGINT data type to account for BTC having far more shares than can be handled by standard INT datatype 2016-02-21 13:41:10 -05:00
Sebastian Grewe
ffea9cdb92 [FIX] Missed new DB version in base structure 2015-04-16 12:47:11 +02:00
Sebastian Grewe
1613355c04 [UPDATE] Store coin auto payout in coin_addresses table per coin 2015-04-16 12:16:45 +02:00
Sebastian Grewe
5240e37ccf [SQL] Removed coin_address from accounts table, not used anymore 2015-04-15 15:19:24 +02:00
Sebastian Grewe
4bf899bb84 [FIX] Proper version in base import sql 2015-01-18 15:42:25 +01:00
Sebastian Grewe
e0f10c046e [UPDATE] Shares to bigint for blocks table (#2382), SQL file cleanup 2015-01-18 15:40:57 +01:00
Sebastian Grewe
4147ef583b [FIX] New base SQL version 2014-09-01 20:23:40 +02:00
Sebastian Grewe
22e88777da Merge branch 'development' into coin-rounding-setting 2014-09-01 20:23:09 +02:00
Sebastian Grewe
8cf7c99124 [FIX] Added 0.0.14 to base structure 2014-09-01 20:15:33 +02:00
Sebastian Grewe
105d772a21 [MERGE] Development 2014-07-22 10:37:11 +02:00
Sebastian Grewe
a7a731dcf1 [UPDATE] Working coin precision system
* [ADDED] New option to coin class to change coin value precision
* [UPDATE] SQL Transactions table from double to decimal(50,30)
* [REMOVED] Admin setting for coin value precision
* [UPDATE] JS files to honor coin precision
2014-07-19 09:10:21 +02:00
Sebastian Grewe
eeb048175b [MERGE] Conflicts with development 2014-07-19 08:21:20 +02:00
Sebastian Grewe
8928b33939 [SQL] Moved to 0.0.13 SQL structure 2014-07-19 08:20:22 +02:00
Sebastian Grewe
b758ee9395 [PoC] Cronjob based Hashrate graphs 2014-07-19 08:06:07 +02:00
Sebastian Grewe
0c227cb741 [FIX] Base structure, DB_VERSION 2014-07-10 11:50:28 +02:00
Sebastian Grewe
6ddca7466c [ADDED] Properly insert coin values 2014-07-07 14:31:17 +02:00
Sebastian Grewe
0a09c78e27 Revert "[UPDATE] Base Structure with new DOUBLE"
This reverts commit b987358355.
2014-06-30 09:02:51 +02:00
Sebastian Grewe
b987358355 [UPDATE] Base Structure with new DOUBLE 2014-06-30 08:54:12 +02:00
Sebastian Grewe
370d66c147 [FIX] Base Strucutre Import 2014-06-30 07:05:16 +02:00
Sebastian Grewe
3248a487df [ADDED] coin_addresses table and support
* [ADDED] New coin_addresses table to upgrade script and base file
* [MIGRATE] Move coin_address from accounts to coin_addresses table
* [UPDATE] Updated all classes/pages/scripts to use new coin address class
* [UPDATE] DB_VERSION 0.0.12
2014-06-30 07:05:15 +02:00
Sebastian Grewe
9057ed0c9b [FIX] Missing DB Version in Base Structure 2014-06-26 11:40:40 +02:00
iAmShorty
18621d492a [FIX] shares_archive table 2014-06-05 18:52:17 +02:00
iAmShorty
61f52f46ae Delete 012_shares_archive_update.sql 2014-06-03 13:00:48 +02:00
iAmShorty
7f0f2fffac Update 000_base_structure.sql 2014-05-26 09:31:43 +02:00
iAmShorty
62ed5699dc Create 012_shares_archive_update.sql 2014-05-26 09:30:20 +02:00
Sebastian Grewe
43bf7be200 [FIX] Merge conflict with development 2014-04-24 11:43:38 +02:00
Sebastian Grewe
90181483b9 [FIX] Merge with development 2014-04-24 11:43:00 +02:00
Sebastian Grewe
1c02b09636 [UPDATE] UTC as default timezone (ID 415) 2014-04-23 10:35:18 +02:00
Sebastian Grewe
68d59d6eae [SQL] Base structure updated 2014-04-23 10:35:18 +02:00
Sebastian Grewe
78c3419254 [ADDED] New base structure for 0.0.9 2014-04-20 15:34:55 +02:00
Sebastian Grewe
46f7adb0ec [SQL] Base Structure 0.0.8 2014-03-25 10:04:30 +01:00
Sebastian Grewe
3223e40cc6 [FIXED] Charset on payouts table, non-critical 2014-03-21 16:05:59 +01:00
Sebastian Grewe
8b28b25e18 [CHANGE] Moved SQL files into upgrade script 2014-03-21 15:49:30 +01:00
Sebastian Grewe
75c20a4baa [SQL] Updated blocks table share_id to bigint
Will avoid issues with BIGINT from shares table getting too big for the
INT on the blocks share_id column.

Thanks IRC@webxassDE for the heads up!
2014-03-04 10:21:46 +01:00
Sebastian Grewe
c8f639796a [UPDATE] Added INDEX to transactions table
Should speed up queries using both account_id and archived for a
specific account.
2014-02-13 14:45:32 +01:00
Sebastian Grewe
5e73e7a48c [FIX] UPdate empty coin_addresses 2014-02-05 15:15:17 +01:00
Sebastian Grewe
9bc1a5f0ea [FIX] Base Structure Index 2014-02-05 10:45:35 +01:00
Sebastian Grewe
4b204a5ca3 [FIX] Base structure 2014-02-05 10:41:40 +01:00
Sebastian Grewe
c00b6d6757 [IMPROVED] Payout logics
* [ADDED] More methods to our transaction class
 * `createDebitAPRecord` and `createDebitMPRecord`, will handle the
 * entire debit process
  * Adds Debit transaction
  * Adds TXFee transaction
  * mark transactions as archived
  * validate user is fully paid out
  * send notification to user
 * `getMPQueue` was added to unify the process of getting payout queues
* [MOVED] Only one mail template for both payout methods
* [ADDED] Some minor calls to user class
* [ADDED] Full address validation to bitcoin class
* [SQL] New SQL upgrade and Version Increment
 * Adding UNIQUE index to coin_address in accounts table
 * preperation for `sendmany` implementation
2014-02-03 08:16:58 +01:00
xisi
4e1190952a updated expiration on email confirm tokens to 1 hour rather than 10 min 2014-01-20 04:42:08 -05:00
xisi
befc5b9276 cleanup 2014-01-20 04:42:08 -05:00
xisi
ccc7fa6fe9 accidentally a word 2014-01-20 04:42:08 -05:00
xisi
2e7c461885 fix token_types table because I didn't specify id when inserting 2014-01-20 04:42:08 -05:00
xisi
13e6c43ba5 add notify_email to accounts table and getUserNotifyEmail() method in user class 2014-01-20 04:30:17 -05:00
xisi
9ecd8d4d3e added signup_timestamp to accounts table
added getSignupTime() method to user class
added 014_accounts_update.sql and updated 000_base_structure.sql
incremented db version
2014-01-20 04:30:17 -05:00