Skip to content

0.) FAQ

Andrew Plaza edited this page Oct 26, 2020 · 8 revisions

Does Substrate Archive only index finalized blocks? What about chains that do not support finalization?

Substrate Archive is finality-agnostic. It directly indexes blocks from the backend database of a Substrate chain; any and all blocks added to the database backend will be indexed by Substrate Archived. For chains that use Substrate's GRANDPA finalization gadget, only finalized blocks are recorded in the backend database and, as such, only finalized blocks will be indexed by Substrate archive.

How do I debug substrate-archive?

Substrate Archive stores its logs in the data local directory. Here is that path for Windows/MacOSX/Linux:

Platform Value Example
Linux $XDG_DATA_HOME or $HOME/.local/share /home/alice/.local/share
macOS $HOME/Library/Application Support /Users/Alice/Library/Application Support
Windows {FOLDERID_LocalAppData} C:\Users\Alice\AppData\Local

Clone this wiki locally