Commit Graph

413 Commits

Author SHA1 Message Date
Sebastian Grewe
b6aa1cbc66 Merge branch 'development' into bootstrap 2014-03-25 09:32:36 +01:00
iAmShorty
25323f324d [FIX] file rights 2014-03-25 09:21:15 +01:00
iAmShorty
22b6901149 [FIX] getbalance fix for coins with getbalance problems 2014-03-25 09:20:48 +01:00
Sebastian Grewe
5841eb458e Merge branch 'development' into bootstrap 2014-03-21 16:01:03 +01:00
Sebastian Grewe
9a7d9abb70 Merge pull request #1984 from MPOS/drop-baseline-shares
Drop baseline shares
2014-03-21 15:57:17 +01:00
Sebastian Grewe
bc42963c75 [DEPRECATED] run-crons throws a warning now 2014-03-21 14:06:46 +01:00
Sebastian Grewe
10ad428575 [UPDATED] Logrotate conf 2014-03-21 14:06:31 +01:00
Sebastian Grewe
67a4713cf0 [REMOVED] Baseline Share calculations
* We now track diff1 shares instead of converting into a baselined value
* PPS has been adjusted to payout shares directly
* Estimated Shares in coin_base adjusted
2014-03-21 11:51:34 +01:00
Sebastian Grewe
e684a987cc [ADDED] Calc Coin PPS Value Method 2014-03-20 12:11:35 +01:00
Sebastian Grewe
88e3edbd84 [MERGE] Fix merge conflict 2014-03-19 17:24:18 +01:00
Sebastian Grewe
e863ef3a0a Merge branch 'development' into bootstrap 2014-03-17 15:53:53 +01:00
Sebastian Grewe
dcb50da38a [REMOVED] Code Debug output 2014-03-17 13:19:53 +01:00
Sebastian Grewe
914df494ed [FIX] Access to protected var 2014-03-17 13:18:53 +01:00
Sebastian Grewe
46cfd2cf8c [POC] Replaced config target bits with coin base
* Do not auto-set target bits via autoloader
* Use coin_base to declare target_bits
* Adjust target_bits in each coin_algo class instead

Addresses #1953
2014-03-17 13:11:50 +01:00
Sebastian Grewe
d205e53649 [CLEANUP] Percentage column shorter 2014-03-14 11:49:57 +01:00
Sebastian Grewe
d468c82694 [ADDED] Block or Payout based bonus percentage 2014-03-13 14:25:52 +01:00
Sebastian Grewe
45851ea654 [FEATURE] Added Pool Bonus for Prop and PPLNS 2014-03-13 07:43:45 +01:00
Sebastian Grewe
32054045fb Merge branch 'development' into bootstrap 2014-03-11 09:33:03 +01:00
Sebastian Grewe
d289b422f3 [ADDED] IDLE Worker Global Switch
Fixes #1921 once merged.
2014-03-10 13:40:23 +01:00
Sebastian Grewe
7e49e90996 [Merge] Fix conflicts with development 2014-03-07 08:37:51 +01:00
Sebastian Grewe
9fc1a39137 Merge pull request #1899 from MPOS/findblocks-workaround
[WORKAROUND] Blocks without confirmations
2014-03-06 18:30:23 +01:00
Sebastian Grewe
5fc516f6b9 Merge pull request #1890 from mxaddict/master
Pull request for findblock cron fix, related to orphaned blocks.
2014-03-06 09:43:05 +01:00
Sebastian Grewe
b77fec0adb [WORKAROUND] Blocks without confirmations
Fixes #1898 once accepted and merged.
2014-03-06 09:25:14 +01:00
iAmShorty
b85a47ac50 [UPDATE] dashboard fixes, disable tickerupdate in cron/dashboard 2014-03-05 16:21:23 +01:00
Sebastian Grewe
a1dbe8bb09 [FIX] Workaround for missing confirmations
This will fix issues with those coins that don't track confirmations for
blocks inside the getblock RPC call. It will try to fallback to the
transactions confirmations and insert those instead.

Fixes #1823 as mentioned by @ice00 - Thanks for that!
2014-03-03 09:42:36 +01:00
Barry Deeney
338154b1ee Updated findblock cron to use block->getLastValid 2014-03-02 11:03:32 +08:00
Sebastian Grewe
aac80502e1 [FIX] Bail findblocks on block insertion errors
Fixes #1857 once merged.
2014-02-28 09:09:29 +01:00
Sebastian Grewe
8d369d5ba4 [IMPROVED] Deduct TXFEE in Transaction CreateDebit
No need to deduct the fees on our cronjob, do it automatically in our
transaction class when creating a Debit record.
2014-02-27 15:19:01 +01:00
Sebastian Grewe
15d448e47e [FIX] Apply proper fee on auto-payouts
Thanks IRC blonkel for the heads up.
2014-02-27 15:19:01 +01:00
iAmShorty
15f7300195 [UPDATE] cleanup 2014-02-24 20:49:07 +01:00
iAmShorty
c6b060dbd5 [FIX] Newmint Payout Fix 2014-02-24 20:31:53 +01:00
Sebastian Grewe
8cb42aab2b Merge pull request #1770 from iAmShorty/realbalance-wrapper
[FIX] return balance from main account
2014-02-19 09:34:01 +01:00
Sebastian Grewe
63a6672cd2 Merge pull request #1782 from MPOS/payout-tx-limit
[ADDED] Payout Queue Limiter
2014-02-19 09:12:24 +01:00
Sebastian Grewe
dbbd57c761 [FIX] Wrong method call in tickerupdate 2014-02-18 19:00:16 +01:00
Sebastian Grewe
7229b5b130 [ADDED] Payout Queue Limiter
* [ADDED] LIMIT to getMPQueue and getAPQueue
* [ADDED] Default config payout queue size of 1000 for MP and 1000 for AP
* [UPDATED] Payouts cronjob to use this new default limits

This may help some coins that have tx count issues when doing sendmany.
Other coins can play with the values to find their sweet spot. Run the
payout multiple times in a row to force more transactions of the same
amount.

Fixes #1773 and thanks to @jrwr for the idea!
2014-02-18 09:16:26 +01:00
iAmShorty
a67b7a9615 Update payouts.php 2014-02-16 18:15:11 +01:00
iAmShorty
09e5bd72dc [UPDATE] changed logging 2014-02-16 18:07:27 +01:00
iAmShorty
6b8f1e6b52 [UPDATE] added logging information
looks good while doing payouts
```
2014-02-16 17:51:09 - INFO --> Starting Payout...
2014-02-16 17:51:09 - INFO --> Auto Payout Sum: 107.55535194 - Wallet Balance: 35779.26412985 with 4750.003 unconfirmed
2014-02-16 17:51:09 - INFO -->   found 1 queued auto payouts
2014-02-16 17:51:09 - INFO -->     | UserID     | Username                  | Balance              | Address                                  | Threshold            |
2014-02-16 17:51:09 - INFO -->     | 5          | shorty                    | 107.55535194         | MMRFkUnQSMDBQSMBG3QBBaEg4ixSa7ksDm       | 100                  |
2014-02-16 17:51:11 - INFO -->   payout succeeded with RPC TXID: 722fbd25bd02e08516cb49577c0a69f8aa51be6a6867047cb553b29085c238d3
```
2014-02-16 17:51:47 +01:00
iAmShorty
63ba74fc60 [UPDATE] balance fix for cron and wallet 2014-02-16 17:32:05 +01:00
iAmShorty
db5f731363 [UPDATE] typo 2014-02-16 16:36:56 +01:00
iAmShorty
e9b056df0f [ENHANCEMENT] add payout sum to log 2014-02-16 16:35:41 +01:00
Sebastian Grewe
4be9ae288b [ADDED] Block height to prop payouts
So the payout indicates what block is being paid out.
2014-02-16 10:12:27 +01:00
Sebastian Grewe
cdaf757b8b Merge branch 'next' of github.com:MPOS/php-mpos into next 2014-02-16 08:32:10 +01:00
Sebastian Grewe
6f5d866bb9 [ADDED] Force run even if cron is active with -f 2014-02-16 08:31:47 +01:00
Sebastian Grewe
5c22cc3c08 Merge pull request #1764 from MPOS/combine-cleanups
[IMPROVED] Combined cleanup tasks into single PHP
2014-02-16 08:12:11 +01:00
Sebastian Grewe
5dd13d4475 Merge pull request #1757 from MPOS/getrealbalance-wrapper
[ADDED] getrealbalance wrapper for payouts
2014-02-16 08:11:08 +01:00
Sebastian Grewe
71162d0d67 Merge pull request #1763 from MPOS/log-formatting
Log formatting
2014-02-15 19:19:26 +01:00
Sebastian Grewe
146b56259b [IMPROVED] Combined cleanup tasks into single PHP
* [IMPROVED] Logging format for all cleanup tasks
* [UPDATED] Cron shellescripts
* [UPDATE] Cron Monitoring Page
* [DELETED] Old `*_cleanup.php` scripts
2014-02-15 19:01:25 +01:00
Sebastian Grewe
e36060cd2e [IMPROVED] Tickerupdate log format 2014-02-15 18:44:00 +01:00
Sebastian Grewe
35910ef097 [IMPROVED] Statistics log format 2014-02-15 18:32:39 +01:00