This is a source code for the tutorial Extending Lake indexer with start options. It shows how to implement start options to your indexer built on top of NEAR Lake Framework:
-
from specified block height (out of the box)
./target/release/indexer mainnet from-block 65359506
-
from the latest final block from the network
./target/release/indexer mainnet from-latest
-
from the block indexer has indexed the last before it was interrupted