Commit Graph

120 Commits

Author SHA1 Message Date
FiveMovesAhead
a8c5fda873 Add support for TokenLocker. Remove submit-topup and submit-deposit. 2025-01-15 00:29:37 +00:00
FiveMovesAhead
14373ff80c Add delay before voting begins.
Some checks are pending
Test Workspace / Test Workspace (push) Waiting to run
2025-01-09 11:25:43 +08:00
FiveMovesAhead
461dcd19aa Rename fields to votes tallied. 2024-12-04 04:33:21 +00:00
FiveMovesAhead
1fb4d822f6 Allow delegating to multiple players. 2024-12-03 00:37:20 +00:00
FiveMovesAhead
bf7fa8452f Add breakthroughs. 2024-11-30 00:49:26 +00:00
FiveMovesAhead
59dbef3739 Update cutoff calc. 2024-11-27 17:20:21 +00:00
FiveMovesAhead
dd9cba76d1 Make algorithm round_pushed round_active option. 2024-11-26 17:09:11 +00:00
FiveMovesAhead
f775b42125 Make runtime_signature a single u64. 2024-11-25 12:47:59 +00:00
FiveMovesAhead
1053b4cbec Change runtime configs to be based on AlgorithmType. 2024-11-25 12:34:55 +00:00
FiveMovesAhead
a3b274ff2e Rename config parameter. 2024-11-25 12:18:16 +00:00
FiveMovesAhead
94bb0f3c9c Rename param to min_lock_amount. 2024-11-25 11:51:31 +00:00
FiveMovesAhead
425442c6ef Rename associated_deposit to delegated_weighted_deposit for clarity 2024-11-25 11:41:46 +00:00
FiveMovesAhead
81f7bcdb7c Simplify config. 2024-11-25 11:22:10 +00:00
FiveMovesAhead
c27e34d32a Rename config params for clairty. 2024-11-24 00:55:15 +08:00
FiveMovesAhead
0d1c5c76a1 Add self_deposit field to OPoWBlockData. 2024-11-23 22:58:43 +08:00
FiveMovesAhead
ef951d5a82 Player name is nullable if no ENS. 2024-11-22 19:41:07 +08:00
FiveMovesAhead
ea79f61e9f Add code to submit_algorithm. 2024-11-22 18:39:09 +08:00
FiveMovesAhead
45f9d96ba9 Don't use thread_rng. 2024-11-22 16:40:02 +08:00
FiveMovesAhead
2e638d14da Can delegate as long as initial deposit meets min requirement. 2024-11-22 03:30:07 +08:00
FiveMovesAhead
cc6e3d293d Remove eth_block_num. 2024-11-22 02:10:39 +08:00
FiveMovesAhead
d6a0c5ef36 Remove block_confirmed from ChallengeState. 2024-11-22 01:21:50 +08:00
FiveMovesAhead
0ef50c76d2 Remove unneccessary Delegatee structs. 2024-11-21 11:23:23 +08:00
FiveMovesAhead
aeb8c6c878 Add benchmark to ActiveType. 2024-11-21 03:55:20 +08:00
FiveMovesAhead
d698526481 Add minimum deposit requirement for delegator and delegatee. 2024-11-21 03:47:50 +08:00
FiveMovesAhead
3b9e1d309a Simplify context. 2024-11-21 03:14:00 +08:00
FiveMovesAhead
5ec1cfc74d Fix runtime_signature_arr test. 2024-11-20 12:31:14 +08:00
FiveMovesAhead
ca89cc287e Merge branch 'runtime_signature_update' into test/temp 2024-11-20 12:26:19 +08:00
FiveMovesAhead
1a48452cf5 PoD + delegation update. 2024-11-20 12:26:08 +08:00
FiveMovesAhead
f33ffc8460 WIP 2024-11-18 08:43:36 +08:00
FiveMovesAhead
c660193cbe Update runtime signature to an array 2024-10-19 08:33:14 +01:00
FiveMovesAhead
00055da089 Remove wasm blob. 2024-09-23 14:04:18 +08:00
FiveMovesAhead
46e44fa3ee Add tests to ensure python and rust versions are the same. 2024-09-22 23:14:18 +08:00
FiveMovesAhead
3cb372f9d5 Deprecate rust crates tig-api and tig-benchmarker. 2024-09-22 15:28:02 +08:00
FiveMovesAhead
1dcc34a956 Precommit config should be Option 2024-09-20 19:44:33 +08:00
FiveMovesAhead
93a71835fc submission_delay_multiplier f64 2024-09-20 19:28:05 +08:00
FiveMovesAhead
a2dd845132 Use rand_hash in calculating seed. 2024-09-20 09:50:55 +08:00
FiveMovesAhead
a7b79a539d Limit num_nonces to u32. 2024-09-20 09:07:17 +08:00
Just van Stam
d957d1ae5a update rng to single seed 2024-09-20 06:28:56 +08:00
FiveMovesAhead
aca71dce47 Change sampled_nonces to HashSet. 2024-09-20 05:43:58 +08:00
FiveMovesAhead
8058116e2c PrecommitDetails should be Option. 2024-09-20 03:32:01 +08:00
FiveMovesAhead
c2be2fd48e Use blake3 across the board. 2024-09-20 02:08:21 +08:00
FiveMovesAhead
f3518c7117 Remove min_gaps and cutoff_frontier. 2024-09-20 00:05:57 +08:00
FiveMovesAhead
f065bba860 Add block details. 2024-09-20 00:02:19 +08:00
FiveMovesAhead
24eb48666a Add config for precommits, and structs for topup. 2024-09-19 13:11:44 +08:00
FiveMovesAhead
9fc8347e89 Precommit WIP 2024-09-12 16:10:44 +08:00
FiveMovesAhead
c7a1693398 Add cap to percent rolling deposit. 2024-09-09 12:46:55 +08:00
FiveMovesAhead
53460404ba Use all 512 bits of keccak512 in seed & challenge generation 2024-08-15 13:50:30 +08:00
FiveMovesAhead
ec71c8e719 Repalce md5 with keccak256, and change nonces from u32 to u64. 2024-08-15 04:28:46 +08:00
FiveMovesAhead
dc6bed4c42 Phase-in new challenge into cutoff mechanism. 2024-08-13 21:43:35 +08:00
FiveMovesAhead
1dd26c0619 Use min for cutoffs. 2024-08-01 09:38:03 +08:00
FiveMovesAhead
8ae30995db Add challenge state. 2024-07-12 13:48:09 +08:00
FiveMovesAhead
a29143fc33 Store cutoff_frontier. 2024-06-18 02:29:44 +10:00
FiveMovesAhead
e8f10cd46f Use exponential moving average to adjust solution signature threshold. 2024-06-17 13:23:40 +10:00
FiveMovesAhead
b4ff12f4e0 Allow each challenge to define its own min gap between frontiers. 2024-06-15 00:45:32 +10:00
FiveMovesAhead
430779c512 Enforce min gap between frontiers. 2024-06-15 00:45:31 +10:00
FiveMovesAhead
0eb57c8446 Smooth out scaling_factor to avoid spikes. 2024-06-13 11:16:00 +10:00
FiveMovesAhead
108f46b214 New config properties default to None. 2024-06-08 17:31:35 +10:00
FiveMovesAhead
f178522fe7 Move eth_block_num to BlockDetails. 2024-06-07 11:39:19 +10:00
FiveMovesAhead
2ca238317d Rename balance to deposit to avoid confusion. 2024-06-07 04:07:31 +10:00
FiveMovesAhead
d6f5d775dc eth_block_num should be Option 2024-06-06 23:41:54 +10:00
FiveMovesAhead
99606b673e Implement proof of deposit. 2024-06-06 16:57:07 +10:00
FiveMovesAhead
60cc7a9513 Add legal docs. 2024-05-16 12:41:51 +08:00
FiveMovesAhead
ccd410ba05 Rename multifactor to optimisable. 2024-05-13 21:21:45 +08:00
FiveMovesAhead
d20df0b824 Make challenge difficulty configurable. 2024-05-13 20:53:20 +08:00
FiveMovesAhead
cf99f1c90f Brush up docs and add licenses. 2024-05-13 16:12:29 +08:00
FiveMovesAhead
abe1f1bb04 Support banning of algorithms. 2024-05-09 12:35:26 +08:00
FiveMovesAhead
d9aaf56932 Remove unecessary .gitignore 2024-05-09 05:24:37 +08:00
FiveMovesAhead
116b544636 Add support for gnosis safe. 2024-05-09 05:24:11 +08:00
FiveMovesAhead
b159f529af Make block_id a required query parameter for most requests. 2024-05-06 19:36:45 +08:00
FiveMovesAhead
e95a3f9822 Initial version 2024-04-23 13:04:31 +08:00