Closed robinbb closed 6 months ago
@Isaac-DeFrain worked on this recently, if I am not mistaken.
@robinbb you have a misunderstanding of what that flag does. It's the cadence at which we persist a ledger into Rocks. Setting this value to 1 will result in a ledger being stored at each blockchain height.
--ledger-cadence <LEDGER_CADENCE>
Cadence for computing and storing ledgers [default: 100]
Ouch. That's a new problem!
time ./target/release/mina-indexer server start -s /mnt/mina-log-storage/mina_network_block_data/ -d ./full-database --log-dir ./full-logs --ledger-cadence 10
The above command does not result in progress every 10 blocks, as expected from the '--ledger-cadence' setting. Rather, the following is found in the log:
... and no similar entries beforehand, suggesting that a ledger cadence of 5000 is being used.