Documentation ¶
Overview ¶
Package aion handles artemis specific functionality
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServices ¶
GetServices returns the services which are used by artemis
Types ¶
type AConf ¶
type AConf struct { CorsEnabled bool `xml:"corsEnabled" json:"corsEnabled"` SecureConnect bool `xml:"secureConnect" json:"secureConnect"` NRGDefault int64 `xml:"nrgDefault" json:"nrgDefault"` NRGMax int64 `xml:"nrgMax" json:"nrgMax"` OracleEnabled bool `xml:"oracleEnabled" json:"oracleEnabled"` BlocksQueueMax int64 `xml:"blocksQueueMax"` //TODO continue adding JSON tags ShowStatus bool `xml:"showStatus"` ShowStatistics bool `xml:"showStatistics"` CompactEnabled bool `xml:"compactEnabled"` SlowImport int64 `xml:"slowImport"` Frequency int64 `xml:"frequency"` Mining bool `xml:"mining"` MineThreads int64 `xml:"mineThreads"` ExtraData string `xml:"extraData"` ClampedDecayUB int64 `xml:"clampedDecayUB"` ClampedDecayLB int64 `xml:"clampedDecayLB"` Database string `xml:"database"` CheckIntegrity bool `xml:"checkIntegrity"` StateStorage string `xml:"stateStorage"` Vendor string `xml:"vendor"` DBCompression bool `xml:"dbCompression"` LogFile bool `xml:"logFile"` LogPath string `xml:"logPath"` GenLogs string `xml:"genLogs"` VMLogs string `xml:"vmLogs"` APILogs string `xml:"apiLogs"` SyncLogs string `xml:"syncLogs"` DBLogs string `xml:"dbLogs"` ConsLogs string `xml:"consLogs"` P2PLogs string `xml:"p2plogs"` CacheMax int64 `xml:"cacheMax"` InitBalance string `json:"initBalance"` EnergyLimit int64 `json:"energyLimit"` Nonce int64 `json:"nonce"` Difficulty int64 `json:"difficulty"` TimeStamp int64 `json:"timeStamp"` ChainID int64 `json:"chainId"` ExtraAccounts int64 `json:"extraAccounts"` }
AConf represents the settings for the aion build
func NewAionConf ¶
NewAionConf creates the configuration for aion
Click to show internal directories.
Click to hide internal directories.