Documentation
¶
Index ¶
- func CreateFileConfigs() (ConfigPaths, TestConfig, error)
- func CreateGoNodeConfig(cfg *settings.BlockchainSettings) (string, error)
- func CreateScalaNodeConfig(cfg *settings.BlockchainSettings) (string, error)
- type AccountInfo
- type ConfigPaths
- type DistributionItem
- type GenesisConfig
- type GenesisSettings
- type TestConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileConfigs ¶
func CreateFileConfigs() (ConfigPaths, TestConfig, error)
func CreateGoNodeConfig ¶
func CreateGoNodeConfig(cfg *settings.BlockchainSettings) (string, error)
func CreateScalaNodeConfig ¶
func CreateScalaNodeConfig(cfg *settings.BlockchainSettings) (string, error)
Types ¶
type AccountInfo ¶
type AccountInfo struct {
PublicKey crypto.PublicKey
SecretKey crypto.SecretKey
Amount uint64
Address proto.WavesAddress
}
func NewBlockchainConfig ¶
func NewBlockchainConfig() (*settings.BlockchainSettings, []AccountInfo, error)
type ConfigPaths ¶
type DistributionItem ¶
type GenesisConfig ¶
type GenesisConfig struct {
GenesisTimestamp int64
GenesisSignature crypto.Signature
GenesisBaseTarget types.BaseTarget
AverageBlockDelay uint64
Transaction []genesis_generator.GenesisTransactionInfo
}
type GenesisSettings ¶
type GenesisSettings struct {
Scheme proto.Scheme
SchemeRaw string `json:"scheme"`
AverageBlockDelay uint64 `json:"average_block_delay"`
MinBlockTime float64 `json:"min_block_time"`
DelayDelta uint64 `json:"delay_delta"`
Distributions []DistributionItem `json:"distributions"`
PreactivatedFeatures []int16 `json:"preactivated_features"`
}
type TestConfig ¶
type TestConfig struct {
Accounts []AccountInfo
}
Click to show internal directories.
Click to hide internal directories.