-
Notifications
You must be signed in to change notification settings - Fork 10
/
constants.go
27 lines (24 loc) · 1.12 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package firecore
// Those are `var` and globally available so that some chains to keep backward-compatibility can
// change them. This is not advertised and should **not** be used by new chain.
var (
MaxUint64 = ^uint64(0)
// Common ports
MetricsListenAddr string = ":9102"
// Firehose chain specific port
IndexBuilderServiceAddr string = ":10009"
ReaderNodeGRPCAddr string = ":10010"
ReaderNodeManagerAPIAddr string = ":10011"
MergerServingAddr string = ":10012"
RelayerServingAddr string = ":10014"
FirehoseGRPCServingAddr string = ":10015"
SubstreamsTier1GRPCServingAddr string = ":10016"
SubstreamsTier2GRPCServingAddr string = ":10017"
// Data storage default locations
BlocksCacheDirectory string = "file://{data-dir}/storage/blocks-cache"
MergedBlocksStoreURL string = "file://{data-dir}/storage/merged-blocks"
OneBlockStoreURL string = "file://{data-dir}/storage/one-blocks"
ForkedBlocksStoreURL string = "file://{data-dir}/storage/forked-blocks"
IndexStoreURL string = "file://{data-dir}/storage/index"
TmpDir string = "{data-dir}/tmp"
)