Documentation ¶
Index ¶
- func Add(tn *testnet.TestNet) ([]string, error)
- func Build(tn *testnet.TestNet) ([]string, error)
- func BuildConfig(pconf *ParityConf, details *db.DeploymentDetails, wallets []string, ...) (string, error)
- func BuildPoaConfig(pconf *ParityConf, details *db.DeploymentDetails, wallets []string, ...) (string, error)
- func BuildPoaSpec(pconf *ParityConf, details *db.DeploymentDetails, wallets []string) (string, error)
- func BuildSpec(pconf *ParityConf, details *db.DeploymentDetails, wallets []string) (string, error)
- func GetDefaults() string
- func GetParams() string
- func GetServices() []util.Service
- func GethSpec(pconf *ParityConf, wallets []string) (string, error)
- type ParityConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfig ¶
func BuildConfig(pconf *ParityConf, details *db.DeploymentDetails, wallets []string, passwordFile string, node int) (string, error)
passwordFile unlock
func BuildPoaConfig ¶
func BuildPoaConfig(pconf *ParityConf, details *db.DeploymentDetails, wallets []string, passwordFile string, i int) (string, error)
passwordFile unlock
func BuildPoaSpec ¶
func BuildPoaSpec(pconf *ParityConf, details *db.DeploymentDetails, wallets []string) (string, error)
func BuildSpec ¶
func BuildSpec(pconf *ParityConf, details *db.DeploymentDetails, wallets []string) (string, error)
func GetDefaults ¶
func GetDefaults() string
func GetServices ¶
Types ¶
type ParityConf ¶
type ParityConf struct { BlockReward int64 `json:"blockReward"` ChainId int64 `json:"chainId"` Consensus string `json:"consensus"` //TODO Difficulty int64 `json:"difficulty"` DifficultyBoundDivisor int64 `json:"difficultyBoundDivisor"` DontMine bool `json:"dontMine"` DurationLimit int64 `json:"durationLimit"` Eip155Block int64 `json:"eip155Block"` Eip158Block int64 `json:"eip158Block"` EIP140Transition int64 `json:"eip140Transition"` EIP155Transition int64 `json:"eip155Transition"` EIP211Transition int64 `json:"eip211Transition"` EIP214Transition int64 `json:"eip214Transition"` EIP658Transition int64 `json:"eip658Transition"` EnableIPFS bool `json:"enableIPFS"` ExtraAccounts int64 `json:"extraAccounts"` ForceSealing bool `json:"forceSealing"` GasCap string `json:"gasCap"` GasFloorTarget string `json:"gasFloorTarget"` GasLimit int64 `json:"gasLimit"` GasLimitBoundDivisor int64 `json:"gasLimitBoundDivisor"` HomesteadBlock int64 `json:"homesteadBlock"` InitBalance string `json:"initBalance"` MaximumExtraDataSize int64 `json:"maximumExtraDataSize"` MaxPeers int64 `json:"maxPeers"` MinGasLimit int64 `json:"minGasLimit"` MinimumDifficulty int64 `json:"minimumDifficulty"` NetworkDiscovery bool `json:"networkDiscovery"` NetworkId int64 `json:"networkId"` PriceUpdatePeriod string `json:"priceUpdatePeriod"` RefuseServiceTransactions bool `json:"refuseServiceTransactions"` RelaySet string `json:"relaySet"` RemoveSolved bool `json:"removeSolved"` ResealMaxPeriod int64 `json:"resealMaxPeriod"` ResealMinPeriod int64 `json:"resealMinPeriod"` ResealOnTxs string `json:"resealOnTxs"` Signature string `json:"signature"` //POA Step int64 `json:"step"` //POA StepDuration int64 `json:"stepDuration"` //POA TxGasLimit string `json:"txGasLimit"` TxQueueGas string `json:"txQueueGas"` TxQueueSize int64 `json:"txQueueSize"` TxQueueStrategy string `json:"txQueueStrategy"` TxTimeLimit int64 `json:"txTimeLimit"` UsdPerEth string `json:"usdPerEth"` UsdPerTx string `json:"usdPerTx"` ValidateChainIdTransition int64 `json:"validateChainIdTransition"` WorkQueueSize int64 `json:"workQueueSize"` }
func NewConf ¶
func NewConf(data map[string]interface{}) (*ParityConf, error)
*
- Fills in the defaults for missing parts,
Click to show internal directories.
Click to hide internal directories.