Commit Graph

63 Commits

Author SHA1 Message Date
Sebastian Grewe
ece3d8fd25 adding block statistics, added finder and round shares for blocks, updates transactions for new columns, updated template and pool statistics code 2013-05-13 09:21:41 +02:00
Sebastian Grewe
e8dcba2dcc removed some warning output on shares class 2013-05-13 09:20:37 +02:00
Sebastian Grewe
4e1efd085c remove debug output 2013-05-12 17:21:31 +02:00
Sebastian Grewe
fabc5e9850 properly check for empty transactions array 2013-05-12 17:21:03 +02:00
Sebastian Grewe
2e79d8a78f grab difficulty from block .. doh 2013-05-12 17:19:28 +02:00
Sebastian Grewe
dfe0704f9e removed debug output 2013-05-12 16:59:38 +02:00
Sebastian Grewe
fbfc8d60da adding new transaction class to manual payout through website 2013-05-12 16:58:48 +02:00
Sebastian Grewe
91144afa4e search shares by IDs not timestamps, cleaned up transaction class in the process 2013-05-12 16:58:33 +02:00
Sebastian Grewe
c3964a59da adding new cron to update block confirmations in database 2013-05-12 16:56:54 +02:00
Sebastian Grewe
b5def95435 adding (required) confirmations to smarty globals 2013-05-12 16:56:35 +02:00
Sebastian Grewe
3844bbe1ab cleaned up getSingle calls, added getCoinAddress method 2013-05-12 16:56:11 +02:00
Sebastian Grewe
47ac213779 adding search method for unconfirmed blocks, add updateConfirmations method for blocks 2013-05-12 16:55:18 +02:00
Sebastian Grewe
ae32ab429f moved workers table, pushpool needs to be configured to use this instead 2013-05-12 16:53:24 +02:00
Sebastian Grewe
1194c7fb33 fixed user class, missing method 2013-05-12 12:18:56 +02:00
Sebastian Grewe
187fb92272 further cleaned up user class, created worker class, removed ledger and paid calls from user 2013-05-12 11:39:22 +02:00
Sebastian Grewe
a6e0b98552 use new blocks table properly 2013-05-12 11:37:42 +02:00
Sebastian Grewe
2e8d475e6f fixing PIN storage and added missing unique on username to DB structure 2013-05-12 00:21:03 +02:00
Sebastian Grewe
1c33731acd Merge pull request #11 from TheSerapher/register-fix
fixing user registration, adding new DB layout for accounts
2013-05-11 15:06:06 -07:00
Sebastian Grewe
dae7fe3397 fixing user registration, adding new DB layout for accounts 2013-05-12 00:05:49 +02:00
Sebastian Grewe
45638d8784 cleaned up database structure, more indexes added 2013-05-11 23:53:37 +02:00
Sebastian Grewe
c31bbb6f93 allow to search for balance for a account ID via transaction class, added template changes 2013-05-11 23:46:39 +02:00
Sebastian Grewe
961b6cc817 skip crons if no work can be done 2013-05-11 22:11:29 +02:00
Sebastian Grewe
81810c1ac3 updated DB charset to UTF8 for all entries 2013-05-11 20:20:59 +02:00
Sebastian Grewe
8dabe02afe new updated database structure 2013-05-11 20:19:14 +02:00
Sebastian Grewe
bf89975832 Merge pull request #10 from TheSerapher/template-updates
updated account template and user class to work with simplified accounts...
2013-05-11 11:17:09 -07:00
Sebastian Grewe
9dcdc91a7f updated account template and user class to work with simplified accounts table 2013-05-11 20:16:32 +02:00
Sebastian Grewe
47b3816d27 cleaned up crons, changed timestamp range to properly find shares, added verbose parameter 2013-05-11 18:51:10 +02:00
Sebastian Grewe
365a91e407 ensure we only check for unaccounted blocks 2013-05-11 17:14:43 +02:00
Sebastian Grewe
3cf5049193 Merge pull request #9 from TheSerapher/payout-system
Transactions, PPS Payout and Site Template
2013-05-11 07:53:46 -07:00
Sebastian Grewe
4a7b51d9eb implemented transactions, PPS payouts and Transactions displayed on the website 2013-05-11 16:50:15 +02:00
Sebastian Grewe
37618e9b71 Merge pull request #8 from TheSerapher/ledger-cron
Ledger cron
2013-05-11 00:21:05 -07:00
Sebastian Grewe
1f58a1e152 renamed method 2013-05-11 09:19:18 +02:00
Sebastian Grewe
cbfcff3ba1 adding future ledger cronjob for transaction confirmations 2013-05-11 09:17:43 +02:00
Sebastian Grewe
a995ab640d Merge pull request #7 from TheSerapher/sharecounter-cron
Sharecounter cron
2013-05-11 00:15:58 -07:00
Sebastian Grewe
3971ea797c further work on sharecounter cron, almost all features available now 2013-05-11 09:15:19 +02:00
Sebastian Grewe
0eab903670 Merge pull request #6 from TheSerapher/findblock-update
adding more output to findblocks
2013-05-10 23:01:08 -07:00
Sebastian Grewe
59c53a5d3d adding more output to findblocks 2013-05-11 08:00:35 +02:00
Sebastian Grewe
9da6c578d4 quick readme update regarding crons 2013-05-11 00:27:22 +02:00
Sebastian Grewe
42d2fa2618 calculate propotional payout for all shares of this block 2013-05-11 00:22:23 +02:00
Sebastian Grewe
7fe381f44c adding new table strcuture, removed unused tables 2013-05-10 22:43:30 +02:00
Sebastian Grewe
8669f987dc adding new cronjob to accumulate valid and invalid shares for each user between a timestamp of a block and the previous block to it 2013-05-10 22:37:24 +02:00
Sebastian Grewe
571e26413b adding new share class 2013-05-10 22:36:42 +02:00
Sebastian Grewe
6486a72b1b allow searching blocks in reverse order for sharecounter 2013-05-10 22:36:27 +02:00
Sebastian Grewe
0d4e5ff237 Merge pull request #5 from TheSerapher/include-fixes
properly use BASEPATH in global config, created shared file for crons
2013-05-10 11:00:16 -07:00
Sebastian Grewe
b9904a5eee properly use BASEPATH in global config, created shared file for crons 2013-05-10 19:59:54 +02:00
Sebastian Grewe
3265f3c289 Merge pull request #4 from TheSerapher/findblocks-cron
Purge original crons, start with new ones
2013-05-10 10:48:44 -07:00
Sebastian Grewe
ef4b9fd21d adding new cronjob to find generated or immature blocks, changed project to allow scripts to run outside of webroot 2013-05-10 19:46:54 +02:00
Sebastian Grewe
5dc31fe392 properly display credit/debit in color 2013-05-10 15:31:33 +02:00
Sebastian Grewe
c64f67a8b5 Merge pull request #3 from TheSerapher/class-updates
some smaller updates to classes and PHP codes
2013-05-10 06:28:34 -07:00
Sebastian Grewe
dfc4aafeaa some smaller updates to classes and PHP codes 2013-05-10 15:28:05 +02:00