Commit Graph

159 Commits

Author SHA1 Message Date
qvqc 3dac5660cf Merge branch 'upstream/master' 2020-04-22 04:53:59 -04:00
Jethro Grassie dcaca5144f
config: add an option for the pool listen address 2020-04-18 19:10:28 -04:00
qvqc c099d75617 update webui theme for puddle 2020-04-11 10:52:52 -04:00
qvqc c7906eef8a update balance view in webui for wownero 2020-04-11 10:51:55 -04:00
qvqc 3ec4b16c6f change address prefix, blocktime, and atomic units to match wownero network 2020-04-11 10:50:07 -04:00
qvqc 660dd484fe update default pool.conf for wownero-puddle 2020-04-11 10:49:05 -04:00
qvqc 5f092836f2 set build path to randomwow 2020-04-11 10:46:05 -04:00
Jethro Grassie d2d4c3393f
docs: remove "experimental" 2020-03-04 01:06:25 -05:00
Jethro Grassie 3622e70b82
Merge pull request #35 from cohcho/fix_compare_share
store_share: modify compare_share to avoid fail
2020-03-03 18:20:52 -05:00
cohcho b380382196 store_share: modify compare_share to avoid fail
compare_share() doesn't implement strict ordering
store_share() uses MDB_APPENDDUP to avoid problem with compare_share
MDB_APPENDDUP may fail since the following pair of valid shares can't added in specified order:
  1. {share1, share2 | (share1.timestamp < share2.timestamp) && (share1.address > share2.address)}
  2. {share1, share2 | (share1.timestamp > share2.timestamp) && (share1.address == share2.address)}
If there is no plan to avoid usage of MDB_APPENDDUP in store_share()
then compare_share() can be modified to use only timestamp field
thus avoid MDB_APPENDDUP fail in the first case.
2020-03-03 07:52:20 +00:00
Jethro Grassie 834bef7008
ignore SIGPIPE so error propagates 2020-02-06 17:10:09 -05:00
Jethro Grassie 0846228da6
copyright 2020 2020-02-02 00:24:51 -05:00
Jethro Grassie dd16769ab6
improve bad share handling
(reported by cohcho, thank you)
2020-01-25 01:31:36 -05:00
cohcho 7ec47709fa
Update client target faster
Adjust client's target faster to prevent DDoS when hashrate is unknown at the
beginning and start difficulty is low or hashrate changed significantly later.
Add option retarget-ratio to control safe boundaries for client hashrate.
2020-01-23 22:59:19 -05:00
Jethro Grassie ee690126d7
fix just found time label 2020-01-19 04:50:14 -05:00
Jethro Grassie d80390c0fb
add minor formatting improvements 2020-01-18 16:34:24 -05:00
Jethro Grassie 18ce80693a
Merge pull request #31 from cohcho/round_hashes
Add round_hashes into pool_stats
2020-01-18 14:55:40 -05:00
cohcho 0b12fc3f43 Add round_hashes into pool_stats 2020-01-18 19:32:57 +00:00
Jethro Grassie c9ba3a8428
add network validation 2020-01-17 15:43:08 -05:00
Jethro Grassie b8c62a0378
improve cookie parsing 2020-01-17 00:43:50 -05:00
Jethro Grassie ed542aec9d
print options 2020-01-10 11:40:18 -05:00
Jethro Grassie 0335d92e28
update the docs 2020-01-09 02:11:30 -05:00
Jethro Grassie e103d130fb
add missing title tag to web UI 2020-01-06 01:08:12 -05:00
Jethro Grassie f774647632
allow disabling of the web UI altogether 2020-01-05 19:48:37 -05:00
Jethro Grassie f987fd4aa9
fix log and return types for web ui 2020-01-05 19:42:25 -05:00
Jethro Grassie 9ba84a4a76
advertise SSL port (if configured) 2020-01-05 17:53:51 -05:00
Jethro Grassie 9a091921f1
fix empty cookies 2020-01-05 16:54:22 -05:00
Jethro Grassie 56df00634f
Merge branch 'remove-mhd' 2020-01-05 16:31:13 -05:00
Jethro Grassie c97b0f1c37
update docs 2020-01-05 16:30:23 -05:00
Jethro Grassie e79861b519
remove libmicrohttpd
It seems unnecessary to use libmicrohttpd when libevent has everything
we need.  Thus removing the dependency.
2020-01-05 16:30:20 -05:00
Jethro Grassie 01f3b34c4b
swap out form to contenteditable cell 2020-01-05 04:33:56 -05:00
Jethro Grassie 595ddd934e
make MHD use epoll if available 2020-01-03 18:48:42 -05:00
Jethro Grassie 05fafe0fa4
fix comparators to always allow duplicates
(reported by cohcho, thanks)
2020-01-02 19:12:40 -05:00
Jethro Grassie c7984e0e5f
add retarget-time option
- allow setting a retarget time different to block time
 - tidy config printing (just reordering)
 - fix webui nethash formatting
2019-12-29 23:56:48 -05:00
Jethro Grassie 6f65aae241
fix clean exit for a failed startup 2019-12-28 01:37:51 -05:00
Jethro Grassie 5916e8bb34
fix spelling 2019-12-27 21:21:38 -05:00
Jethro Grassie e3e133f1d3
limit max target to block diff
(thanks to cohcho)
2019-12-27 21:10:38 -05:00
Jethro Grassie 7b6d4932c7
tidy config reading 2019-12-23 02:57:40 -05:00
Jethro Grassie c9346f4a3d
tidy memset 2019-12-22 15:27:33 -05:00
Jethro Grassie 0ae2946486
spelling 2019-12-18 22:38:12 -05:00
Jethro Grassie fc818af02c
add a couple of checks 2019-12-09 16:41:50 -05:00
Jethro Grassie bea8068bd9
remove FD_SETSIZE check 2019-11-29 20:03:11 -05:00
Jethro Grassie b790700c32
stratum self-select doc update 2019-11-28 00:31:04 -05:00
Jethro Grassie d3d80b0084
copy strings appropriately 2019-11-27 19:46:23 -05:00
Jethro Grassie 21ad942008
reorder link 2019-11-23 01:32:56 -05:00
Jethro Grassie 3925e827ba
update example config file with the new options 2019-11-22 23:01:07 -05:00
Jethro Grassie 88ac5af85b
add libversion 2019-11-22 22:42:47 -05:00
Jethro Grassie d40a5762cf
Merge branch 'daemonize' 2019-11-17 15:57:10 -05:00
Jethro Grassie ac275237c5
add options to daemonize 2019-11-17 15:56:47 -05:00
Jethro Grassie 9c6ef738f1
link libhidapi if required 2019-11-12 11:39:00 -05:00