mirror of
https://github.com/vacp2p/zerokit.git
synced 2026-01-09 13:47:58 -05:00
Fix Configuration Handling: + Document the expected format of the configuration file. + Provide an example configuration file in rln-cli to guide users. + Ensure that the CLI provides useful error messages if the configuration is missing or incorrect. Implement Relay and Stateless RLN Examples + Add Relay example to illustrate RLN’s practical use case. + Add Stateless RLN example, where an externally built Merkle tree provides paths and roots for RLN stateless feature.
12 lines
214 B
JSON
12 lines
214 B
JSON
{
|
|
"tree_config": {
|
|
"path": "database",
|
|
"temporary": false,
|
|
"cache_capacity": 150000,
|
|
"flush_every_ms": 12000,
|
|
"mode": "HighThroughput",
|
|
"use_compression": false
|
|
},
|
|
"tree_height": 20
|
|
}
|