A scanner for findora. This tool will generate all data and cache into db.
Before use scanner, you should set environment variable DATABASE_URL
correctly. The format of it is postgres://<Owner>:<Password>@<Host>/<DatabaseName>
.
Set environment variable RUST_LOG=scanner=info
to show logs.
scanner-cli load -s https://prod-mainnet.prod.findora.org:26657/ --height <int>
scanner-cli scan -s https://prod-mainnet.prod.findora.org:26657/ --start <int> --end <int>
scanner-cli subscribe -s https://prod-mainnet.prod.findora.org:26657/
start height is loaded from database, or specified by --start <int>