Commit Graph

461 Commits

Author SHA1 Message Date
FiveMovesAhead
a1d2134c3d Require min solution ratio. 2025-03-18 21:41:02 +08:00
FiveMovesAhead
ca35a60126 Add weighting based on solution ratio. 2025-03-18 21:41:01 +08:00
FiveMovesAhead
99975da7c0 Move hardcoded magic numbers to config. 2025-03-18 21:30:51 +08:00
FiveMovesAhead
d91882207e Fix scripts. 2025-02-26 23:35:27 +08:00
FiveMovesAhead
136dd3fd8e Fix calc_apy script. 2025-02-18 01:46:23 +08:00
FiveMovesAhead
ed4281d117 Merge branch 'token_locker' into test/blank_slate 2025-02-14 11:20:43 +08:00
FiveMovesAhead
7e32e09b11 Update swagger with new & updated endpoints. 2025-02-13 16:52:21 +08:00
FiveMovesAhead
f4195007b4 Update OPoWBlockData fields. 2025-02-06 10:51:23 +08:00
FiveMovesAhead
7b11c445ba Merge branch 'token_locker' into test/blank_slate 2025-02-06 10:17:35 +08:00
FiveMovesAhead
e7cc3b4b86 Change reward_share and coinbase in block_data to PreciseNumber. 2025-02-06 10:03:33 +08:00
FiveMovesAhead
7deb677643 Merge branch 'c003_quadkp_update' into blank_slate 2025-02-02 18:14:46 +07:00
FiveMovesAhead
424d096a85 Only update adoption for active breakthroughs. 2025-01-26 10:20:21 +08:00
FiveMovesAhead
cb4d877988 Address deposit edge case. 2025-01-23 20:14:16 +08:00
FiveMovesAhead
1bb3a70e68 Add example batch verification script. 2025-01-18 16:51:58 +00:00
FiveMovesAhead
ec5e09d1c0 Add get-batch-data endpoint to master. 2025-01-18 14:19:26 +00:00
FiveMovesAhead
101ca13ca3 Remove attribution section from evidence template. 2025-01-18 14:18:43 +00:00
FiveMovesAhead
44d8b93e5d Rewarded tokens need to be claimed. 2025-01-17 00:11:57 +00:00
FiveMovesAhead
4acf08f597 Add relock function to TokenLocker. 2025-01-16 22:08:33 +00:00
FiveMovesAhead
b20a190ebc Minor edits to breakthrough flow. 2025-01-16 21:37:10 +00:00
FiveMovesAhead
81c01e5bcf Allow difficulty_ranges to be disabled. 2025-01-16 17:45:54 +00:00
FiveMovesAhead
bfcd071bf2 Update swagger. 2025-01-16 16:31:31 +00:00
FiveMovesAhead
ff4c455335 Fix coinbase reward type. 2025-01-16 16:31:22 +00:00
FiveMovesAhead
4029d4fcc2 Fix set_coinbase not exported. 2025-01-16 13:54:57 +00:00
FiveMovesAhead
64b228f394 Add support for coinbase. 2025-01-16 10:53:07 +00:00
FiveMovesAhead
7dc9098941 Add view function to TokenLocker. 2025-01-16 10:50:24 +00:00
FiveMovesAhead
70907ed1dd Remove session from slave to fix connection issue. 2025-01-15 00:32:47 +00:00
FiveMovesAhead
a8c5fda873 Add support for TokenLocker. Remove submit-topup and submit-deposit. 2025-01-15 00:29:37 +00:00
FiveMovesAhead
a91414b7f3 Add TokenLocker contract. 2025-01-15 00:27:27 +00:00
FiveMovesAhead
07737efe62 Change breakthrough submission flow. 2025-01-12 15:45:31 +00:00
FiveMovesAhead
f791061142 Increase default max fuel to 10 billion. 2025-01-11 01:44:27 +08:00
FiveMovesAhead
6e445c35c7 Lock rust-toolchain to v1.82.0 2025-01-09 19:25:29 +08:00
FiveMovesAhead
30a0f59f30 Update description for knapsack. 2025-01-09 15:46:37 +08:00
FiveMovesAhead
ee172fd9e4 Merge commit 'refs/pull/25/head' of https://github.com/tig-foundation/tig-monorepo into c003_quadkp_update 2025-01-09 15:45:09 +08:00
FiveMovesAhead
14373ff80c Add delay before voting begins. 2025-01-09 11:25:43 +08:00
FiveMovesAhead
715da6cd69 Only process votes for players who have active deposits. 2025-01-05 11:13:24 +08:00
FiveMovesAhead
3138f31c00 Slave kills tig-worker if master stops batch. 2024-12-31 22:54:05 +08:00
FiveMovesAhead
614de4fe30 Address warning there is already a transaction in progress. 2024-12-31 22:31:20 +08:00
FiveMovesAhead
587ea86692 Refresh db connection. 2024-12-31 22:21:48 +08:00
FiveMovesAhead
fb4eba5756 Hardcode master port to 5115. 2024-12-31 22:20:57 +08:00
FiveMovesAhead
48d8dcd888 Move envvars to .env file. 2024-12-31 22:20:04 +08:00
FiveMovesAhead
2364377174 Add script to calc apy. 2024-12-29 03:09:49 +08:00
FiveMovesAhead
74c31623b9 Add jekyll config to ignore symbolic links. 2024-12-28 22:43:30 +08:00
FiveMovesAhead
b2ffa138c8 Add script to calc rewards from delegation. 2024-12-28 22:03:35 +08:00
FiveMovesAhead
dce7f75af7 Check if hashes.zlib exists. 2024-12-28 08:37:16 +08:00
FiveMovesAhead
42426138c1 Enforce delay between sends of the same batch. 2024-12-26 23:39:26 +08:00
FiveMovesAhead
53a9d252bc Save hashes to optimise merkle proof calcs. 2024-12-26 21:51:03 +08:00
FiveMovesAhead
c8e437854a Fix bug in reward calc involving fractional delegations. 2024-12-23 04:46:15 +08:00
FiveMovesAhead
14c7b65a19 Disallow 0 fraction delegations. 2024-12-23 04:03:28 +08:00
FiveMovesAhead
5759a103e1 Convert string to bytes. 2024-12-22 23:20:26 +08:00
FiveMovesAhead
12486514cc Fix type in swagger preventing build. 2024-12-22 23:15:08 +08:00