# Functions

Base64StdDecode 自动解码传入的 base64 字节数组.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenChainID 根据当前链所处的 fork 的区块高度作为该 chain 的唯一标识, TODO 存在不同 fork 高度相同的情况,需要加以区分.
No description provided by the author
No description provided by the author
No description provided by the author
GenLogFileParentPath basePath/loggerName/day/.
GenLogFilepath basePath/loggerName/day/id.log.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LookupEnv 根据所有 key 查找环境变量,并通过 map 保存,如果中途有 error 不会直接中断,而是继续.
LookupEnvPairs 根据所有 key 查找环境变量,并通过 map 保存,如果中途有 error 不会直接中断,而是继续.
No description provided by the author
No description provided by the author
ScanFileLines 从 startN 处开始,scan 数据到达文件结尾,返回数据数组,eof 和 error, eof 判断是按照自定义的一行来判断的,注意这里潜在的问题是 logger 与 exporter 读写竞争可能导致日志输出到错误的 day, 所以在 resolver 处理时,只依赖数据本身,不依赖 logger 的信息,logger 和 exporter 只需要保证不丢数据就行.
No description provided by the author

# Type aliases

Timestamp 是 19 位长,精确到纳秒的时间戳.