nim-dagger/codex/utils
markspanbroek b3e57a37e2
Wire up prover (#736)
* wire prover into node

* stricter case object checks

* return correct proof

* misc renames

* adding usefull traces

* fix nodes and tolerance to match expected params

* format challenges in logs

* add circom compat to solidity groth16 convertion

* update

* bump time to give nodes time to load with all circom artifacts

* misc

* misc

* use correct dataset geometry in erasure

* make errors more searchable

* use parens around `=? (await...)` calls

* styling

* styling

* use push raises

* fix to match constructor arguments

* merge master

* merge master

* integration: fix proof parameters for a test

Increased times due to ZK proof generation.
Increased storage requirement because we're now hosting
5 slots instead of 1.

* sales: calculate initial proof at start of period

reason: this ensures that the period (and therefore
the challenge) doesn't change while we're calculating
the proof

* integration: fix proof parameters for tests

Increased times due to waiting on next period.
Fixed data to be of right size.
Updated expected payout due to hosting 5 slots.

* sales: wait for stable proof challenge

When the block pointer is nearing the
wrap-around point, we wait another period
before calculating a proof.

* fix merge conflict

---------

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
2024-03-12 12:10:14 +00:00
..
addrutils.nim Improving proc/func formatting consistency (#454) 2023-06-22 08:11:18 -07:00
asyncheapqueue.nim Slot queue (#455) 2023-07-25 12:50:30 +10:00
asynciter.nim rework indexing strategy to use an enum (#694) 2024-02-07 11:13:27 -08:00
asyncspawn.nim [marketplace] Load sales state from chain (#306) 2023-03-08 14:34:26 +01:00
asyncstatemachine.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
digest.nim Build slots (#668) 2024-01-11 08:45:23 -08:00
exceptions.nim [marketplace] Availability improvements (#535) 2023-09-29 14:33:08 +10:00
fileutils.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
json.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
keyutils.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
optionalcast.nim [utils] Add operator `as` for optional casting 2022-10-25 15:10:35 +11:00
poseidon2digest.nim Wire up prover (#736) 2024-03-12 12:10:14 +00:00
stintutils.nim feat: bigint uses decimal over hex encoding (#452) 2023-06-21 07:46:18 +02:00
then.nim Cancel and wait for asyncstatemachine futures when stopping (#493) 2023-07-31 15:09:34 +10:00
timer.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
trackedfutures.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00