wownero-puddle/src
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
..
bstack.c copyright 2020 2020-02-02 00:24:51 -05:00
bstack.h copyright 2020 2020-02-02 00:24:51 -05:00
forkoff.c copyright 2020 2020-02-02 00:24:51 -05:00
forkoff.h copyright 2020 2020-02-02 00:24:51 -05:00
pool.c store_share: modify compare_share to avoid fail 2020-03-03 07:52:20 +00:00
pool.h copyright 2020 2020-02-02 00:24:51 -05:00
util.c copyright 2020 2020-02-02 00:24:51 -05:00
util.h copyright 2020 2020-02-02 00:24:51 -05:00
webui-embed.html fix just found time label 2020-01-19 04:50:14 -05:00
webui.c copyright 2020 2020-02-02 00:24:51 -05:00
webui.h copyright 2020 2020-02-02 00:24:51 -05:00
xmr.cpp copyright 2020 2020-02-02 00:24:51 -05:00
xmr.h copyright 2020 2020-02-02 00:24:51 -05:00