Documentation ¶
Index ¶
- Variables
- func GetCommonStoresURLs(dataDir string) (mergedBlocksStoreURL, oneBlocksStoreURL string, err error)
- func GetIndexStore(dataDir string) (indexStore dstore.Store, possibleIndexSizes []uint64, err error)
- func Main()
- func MustReplaceDataDir(dataDir, in string) string
- func VersionString(version, commit, date string) string
- type ReaderApp
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Data dir (for local operations only) DataDir = "./fh-data" // GRPC Service Addresses BlockStreamServingAddr = "0.0.0.0:9000" RelayerServingAddr = "0.0.0.0:9010" MergerServingAddr = "0.0.0.0:9020" FirehoseGRPCServingAddr = "0.0.0.0:9030" MetricsServingAddr = "0.0.0.0:9102" // Blocks store MergedBlocksStoreURL string = "file://{fh-data-dir}/storage/merged-blocks" OneBlockStoreURL string = "file://{fh-data-dir}/storage/one-blocks" IndexStoreURL string = "file://{fh-data-dir}/storage/block-index" IndexStoreSizes = []int{100000, 10000, 1000} // Protocol defaults FirstStreamableBlock uint64 = 0 )
View Source
var (
RootCmd = &cobra.Command{
Use: "firecosmos",
Short: "Firehose services for Cosmos blockchains",
}
)
Functions ¶
func GetCommonStoresURLs ¶
func GetIndexStore ¶
func MustReplaceDataDir ¶
func VersionString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.