conduit importers filereader
Config¶
key | type | description |
---|---|---|
block-dir | string | block-dir is the path to a directory where block data is stored.
|
retry-duration | time.Duration | retry-duration controls the delay between checks when the importer has caught up and is waiting for new blocks to appear.The input duration will be interpreted in nanoseconds. |
retry-count | uint64 | retry-count controls the number of times to check for a missing block
before generating an error. The retry count and retry duration should
be configured according the expected round time.
|
filename-pattern | string | filename-pattern is the format used to find block files. It uses go string formatting and should accept one number for the round.
The default pattern is
"%[1]d_block.json"
|