Commit Graph

1389 Commits

Author SHA1 Message Date
kanoi
ddcbd3e6a0 ckdb - add missing UNLOCK in cmd_percent and shorten the lock for paymentaddresses_set 2014-12-22 10:52:34 +11:00
kanoi
7470af8c46 ckdb - correct workinfoid for block 333809 (it was the workinfoid of block 334106) 2014-12-20 08:24:41 +11:00
kanoi
602256c443 ckdb/php - add user % stats and menus 2014-12-19 17:16:33 +11:00
kanoi
e4c714ca94 ckdb/php - move to PPLNS 5xN but handle the workmarkers restriction 2014-12-17 11:08:24 +11:00
kanoi
eaa583661c ckdb - make invalid user auth message only debug 2014-12-16 12:27:39 +11:00
kanoi
d2a24876b0 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-12-16 11:42:11 +11:00
kanoi
d0e2e2c688 ckdb - report (rare) invalid usernames 2014-12-16 11:41:21 +11:00
Con Kolivas
5c7e42c29e Change default nonce1 length to 4 bytes 2014-12-16 07:46:44 +11:00
kanoi
3d89862c18 Merge branch 'master' of https://bitbucket.org/ckolivas/ckpool 2014-12-15 21:52:48 +11:00
Con Kolivas
55d1c98f19 Merge branch 'master' into userstats
Conflicts:
	src/connector.c
	src/stratifier.c
2014-12-15 21:47:56 +11:00
Con Kolivas
0d5d2a8a0d Merge branch 'master' into userstats 2014-12-15 21:39:52 +11:00
kanoi
c3bca3e3b0 ckdb - add the ckpool workerstats command 2014-12-15 21:38:00 +11:00
kanoi
81fa297273 php - add uncommitted css .hid 2014-12-14 08:31:12 +11:00
kanoi
f2543ca22e ckdb - don't revalidate known addresses - it's slow 2014-12-14 08:28:55 +11:00
kanoi
6647df49b6 php - addresses page, fix '+' to work with no addresses 2014-12-12 22:43:04 +11:00
kanoi
2e00dc5d3b php - fix page_api warning 2014-12-12 21:30:46 +11:00
kanoi
6ae7b58bb0 php - update payout description to match kano pool 2014-12-12 15:31:02 +11:00
kanoi
1ee6c04722 php - add a blockchain link on the payments page to the payout address 2014-12-12 15:29:10 +11:00
kanoi
d1cbdc56db ckpmsg - display up to 64k of the reply data 2014-12-12 08:47:14 +11:00
kanoi
cf3658d881 ckdb/php pplns handle user with multiple payout addresses 2014-12-12 08:46:14 +11:00
kanoi
573285dd7e ckdb/php - selectively support multiple payout addresses - still needs pplns changes 2014-12-11 22:36:59 +11:00
kanoi
72ef2dc56e php - make the socket base timeout longer 2014-12-11 16:51:40 +11:00
kanoi
9b1f76e5c4 ckdb/php - display account messages at the top of the page 2014-12-11 16:50:49 +11:00
kanoi
4c75fe3a27 ckdb/php - add code for future support of multiple payout addresses per user 2014-12-11 15:52:44 +11:00
kanoi
1fca8b8188 ckdb - abort if any compressed files return no data - also true if the decompress command doesn't exist 2014-12-06 08:46:28 +11:00
kanoi
a41e994548 ckdb - use a pipe for reloading compressed files - allow .bz2 .gz .lrz 2014-12-05 22:14:43 +11:00
kanoi
44009cd4d4 remove ckdb bzip2 build requirement 2014-12-05 17:30:54 +11:00
kanoi
fb6a9874ec ckdb - add libbz dependency to the ckdb build and allow reload to read both uncompressed and bzip2 compressed log files 2014-12-04 23:13:29 +11:00
kanoi
738a68fd9f ckdb - fix optioncontrol memory - and add FREENULL to free and null if needed 2014-12-02 08:35:00 +11:00
Con Kolivas
1df924e73d Provide an option to daemonise ckpool 2014-11-29 18:26:42 +11:00
Con Kolivas
c019a746f5 Use a completion timeout to wait for children to exit and kill them if they don't 2014-11-29 11:40:57 +11:00
Con Kolivas
098930afd5 Add a completion timeout helper function 2014-11-29 11:34:07 +11:00
Con Kolivas
3e335c3b38 Abort any functions on signal handling, cleaning up cksem functions 2014-11-29 11:07:07 +11:00
kanoi
23c461c8a7 ckdb - remove LOGERR warning 2014-11-28 19:01:02 +11:00
kanoi
503ec09f27 make LOG* macros typecheck and fix related errors/warnings 2014-11-28 17:33:34 +11:00
kanoi
1e578f4e89 ckdb - optioncontrol AutoAddUser to auth/add unknown users automatically 2014-11-28 14:38:48 +11:00
kanoi
21c1aa10fc ckdb - stat report every 10s during logger shutdown - if it's slow 2014-11-28 13:36:25 +11:00
Con Kolivas
8fb14c8c9b Use SIGUSR1 to shut down children only 2014-11-28 12:18:33 +11:00
Con Kolivas
5071a7fd06 Handle SIGUSR1 in the child sighandler 2014-11-28 12:07:13 +11:00
Con Kolivas
92fb508c44 Handle SIGUSR1 in the child sighandler 2014-11-28 12:06:59 +11:00
Con Kolivas
343699a767 Add sanity checks in pthread cancels/joins 2014-11-28 11:19:20 +11:00
Con Kolivas
2f7be53b7d Merge branch 'master' into userstats 2014-11-28 10:30:02 +11:00
Con Kolivas
53e78947ad Merge branch 'master' of bitbucket.org:ckolivas/ckpool 2014-11-28 10:29:16 +11:00
Con Kolivas
ac05feeebc Fix potential socket leak in gen_loop 2014-11-28 10:25:30 +11:00
Con Kolivas
649ad7953f Fix potential socket leak in gen_loop 2014-11-28 10:24:32 +11:00
Con Kolivas
65f52112ba Confirm all handed over sockets match the configured sockets 2014-11-28 10:12:32 +11:00
Con Kolivas
be87144fe1 Provide a helper function for turning a socket into a url and port 2014-11-28 00:57:26 +11:00
Con Kolivas
540db4f5a9 Free the addrinfo allocated in bind_socket 2014-11-28 00:42:37 +11:00
Con Kolivas
02dfda6814 Add a helper function for getting an addinfo from a url and port 2014-11-28 00:41:18 +11:00
Con Kolivas
e5f26443af Make url from sockaddr take port as a char 2014-11-28 00:31:57 +11:00