mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 22:13:07 +00:00
802 B
802 B
rln-db-inspector
This document describes how to run and use the rln-db-inspector tool.
It is meant to be used to debug and fetch the metadata stored in the RLN tree db.
Pre-requisites
- An existing RLN tree db
Usage
-
First, we compile the binary
make -j16 wakunode2This command will fetch the rln static library and link it automatically.
-
Define the arguments you wish to use
export RLN_TREE_DB_PATH="xxx" -
Run the db inspector
./build/wakunode2 inspectRlnDb \ --rln-relay-tree-path:$RLN_TREE_DB_PATHWhat this does is - a. loads the tree db from the path provided b. Logs out the metadata, including, number of leaves set, past 5 merkle roots, last synced block number