nim-codex/codex/slots/sampler.nim
Dmitriy Ryajov 825766eea0
Rework builder & sampler (#697)
* add proof initializer for poseidon2 and `$`

* fix padding and block selection

* fix sample selection and input construction

* fix sample selection & more descriptive names

* add concrete types for sampler & builder

* add missing digest calls

* use concrete types

* add sample test fixtures

* use concrete types and don't fetch dummy blocks
2024-02-08 02:27:11 +00:00

10 lines
163 B
Nim

import ./sampler/sampler
import ./sampler/utils
import ../merkletree
export sampler, utils
type
Poseidon2Sampler* = DataSampler[Poseidon2Tree, Poseidon2Hash]