Commit Graph

4026 Commits

Author SHA1 Message Date
Con Kolivas
0436e44c6d Fix potential dereference when no serverurl is specified in the config file. 2023-05-27 14:54:06 +10:00
Con Kolivas
199243af79 Fix macro reusing variable names leading to string corruption. 2023-05-27 14:35:14 +10:00
Con Kolivas
709c307145 Trivial tidy. 2023-05-27 11:19:22 +10:00
Con Kolivas
c9cdb74443 Fix corrupt debugging of json get string and potential crash. 2023-05-27 00:31:05 +10:00
Con Kolivas
240d74fe5c Special casing testnet turns out to be unnecessary since the diff is still relative to an absolute reference value. 2023-05-25 18:03:29 +10:00
Con Kolivas
e829346808 Fix build warning. 2023-05-25 09:49:03 +10:00
Con Kolivas
92d837bab4 Segwit address usernames need longer message length capacity. 2023-05-25 09:42:17 +10:00
Con Kolivas
96a511ca96 Limit log message length to 256 chars, splitting longer lines up to 4096 bytes across multiple lines. 2023-05-25 09:39:59 +10:00
Con Kolivas
f6564e14ea Limit usernames to maximum filename length, and expand filename and path length to maximum supported. 2023-05-25 09:10:38 +10:00
Con Kolivas
9823484792 Fix warning in ckpool.c 2023-05-25 08:54:47 +10:00
Con Kolivas
2fa6ec379c Fix warning. 2023-05-25 08:44:16 +10:00
Con Kolivas
86c1baa91a Update .gitignore 2023-05-25 08:39:56 +10:00
Con Kolivas
99a54f15bd Update git repository to represent solobtc branch. 2023-05-25 08:38:10 +10:00
Con Kolivas
97dedaf3df Remove unused script. 2023-05-25 08:34:41 +10:00
Con Kolivas
99bb96e22f Remove unused script. 2023-05-25 08:33:47 +10:00
Con Kolivas
a0113640cb Remove unused code. 2023-05-25 08:32:23 +10:00
Con Kolivas
30b1c6a4db Bump version to 0.9.6 2023-05-25 08:30:26 +10:00
Con Kolivas
f4bb210849 Remove deprecated pool components from source. 2023-05-25 08:29:18 +10:00
Con Kolivas
c689a1eed2 Remove deprecated db components from source. 2023-05-25 08:28:15 +10:00
Con Kolivas
6c19b490dd Streamline work with ultra low diffs in testnet/regtest, outputting updated network diff to console. 2023-05-24 22:59:11 +10:00
Con Kolivas
0eb10e1d22 Update ser_number implementation with hex values for clarity. 2023-05-24 22:17:05 +10:00
Con Kolivas
a7d9bf5793 Fix lower diff bound. 2023-05-24 22:00:22 +10:00
Con Kolivas
87631eaff3 Fix no donation transaction decode. 2023-05-23 22:45:36 +10:00
Con Kolivas
6d10141531 Fix off by one error. 2023-05-23 22:36:10 +10:00
Con Kolivas
09976df29c Simplifty network diff detection from nbits, making it more robust, adding 2 new functions to libckpool. 2023-05-23 22:35:23 +10:00
Con Kolivas
970a281ee3 Only submit purged transactions if there are node servers attached. 2023-05-23 20:13:22 +10:00
Con Kolivas
b83b674610 Create a sample coinbase transaction in solo mode as well to detect its validity. 2023-05-23 16:59:06 +10:00
Con Kolivas
5e4079e884 Make donation percentage configurable and default to zero if not set. 2023-05-23 16:40:16 +10:00
Con Kolivas
7f06817e50 Add discrete support for testnet and regtest mining, along with the testnet flag for btcd entries in the config file. 2023-05-23 15:56:11 +10:00
Con Kolivas
099d7d0d3c Check coinbase transaction is valid at startup. 2023-05-22 22:38:26 +10:00
Con Kolivas
014134280d Fix build. 2022-11-03 14:39:37 +11:00
Con Kolivas
9c902007c3 Remove temporary file tracking. 2022-11-03 14:38:14 +11:00
Con Kolivas
0c16ebaded Number of objects generated need 64 bit. 2022-11-03 14:34:32 +11:00
Con Kolivas
f99ff4e926 Support lack of flags parameter from GBT in newer bitcoinds. 2021-05-07 22:04:23 +10:00
Con Kolivas
7691dd01a1 Show 4 significant digits for diff%. 2020-06-19 08:21:20 +10:00
Con Kolivas
6bdb27b3e8 Fix pool's best diff lagging after block solves. 2020-06-08 13:57:08 +10:00
Con Kolivas
bdd7dc4290 Bump version to 0.95. 2020-06-08 13:50:33 +10:00
Con Kolivas
65d2a10862 Add sha256 assembly code to make dists. 2020-06-08 13:50:29 +10:00
Con Kolivas
a58da2a21e Make ZMQ optional in build. 2020-06-08 13:50:21 +10:00
Con Kolivas
8258a2c58b Update README. 2020-06-08 13:50:12 +10:00
ckolivas
d4c86128b0 Install symbolic link for ckproxy, and automatically start ckpool in ckproxy mode when called by the ckproxy name. 2020-06-08 13:49:27 +10:00
Con Kolivas
7d4d6484dc Enable zmqnotify only on non-proxy. 2020-05-26 15:50:47 +10:00
Con Kolivas
9323dd2baf Fix btcd failover. 2020-05-22 11:38:44 +10:00
ckolivas
6acb4ac711 Silence some noisy logging. 2020-05-19 10:49:57 +10:00
ckolivas
eee7544b89 Unused variable cleanup. 2020-05-18 22:24:30 +10:00
ckolivas
75d462efb5 Base is updated with notifier. 2020-05-18 19:21:32 +10:00
ckolivas
02a7471d66 Support newer bitcoinds that silently dropped the segwit rules response to getblocktemplate. 2020-05-18 18:04:26 +10:00
ckolivas
8b22cb97af Implement support for zmqpubhashblock notifier. 2020-05-18 18:04:26 +10:00
ckolivas
cd0d0e2335 Enable console throbber and status. 2020-05-14 16:31:02 +10:00
ckolivas
0a736bc5fd Remove unused remote server data. 2020-05-14 15:21:19 +10:00