Versions in this module Expand all Collapse all v0 v0.0.10 Mar 17, 2021 Changes in this version + const DataDirectory + const Mainnet + const ModeEnv + const NetworkEnv + const Offline + const Online + const PortEnv + const Testnet + type Configuration struct + Compressors []*encoder.CompressorEntry + ConfigPath string + Currency *types.Currency + DefidPath string + GenesisBlockIdentifier *types.BlockIdentifier + IndexerPath string + Mode Mode + Network *types.NetworkIdentifier + Params *chaincfg.Params + Port int + Pruning *PruningConfiguration + RPCPort int + func LoadConfiguration(baseDirectory string) (*Configuration, error) + type Mode string + type PruningConfiguration struct + Depth int64 + Frequency time.Duration + MinHeight int64