Versions in this module Expand all Collapse all v1 v1.3.1 Jan 14, 2020 v1.2.0 Sep 23, 2019 Changes in this version + const ActualPoolSize + const MaxPoolSize + const TransactionSetSizeLimit + const TransactionSizeLimit + var ErrUnsupportedFileType = errors.New("file type not supported") + func GenerateBlockchain(configFilePath, outputDir string, opts *BlockchainGenerationOpts) error + func GenerateConfigFile(filepath string, opts *ConfigGenerationOpts) error + type Authcoin struct + AddressUpdate Version + ConditionUpdate Version + type Binaries struct + Client string + Daemon string + type Blockchain struct + Binaries *Binaries + Currency *Currency + LongName string + Name string + Networks map[string]*Network + Ports *Ports + Repository string + Transactions *Transactions + Version string + type BlockchainGenerationOpts struct + FrontendExplorerType FrontendExplorerType + FrontendFaucet bool + type BootstrapPeer struct + func (bp *BootstrapPeer) UnmarshalText(text []byte) error + func (bp BootstrapPeer) MarshalText() ([]byte, error) + type Caddy struct + DNS string + TLS string + type Condition struct + func NewCondition(mc types.MarshalableUnlockCondition) Condition + func NewMultisigCondition(minSignatureCount uint64, uhs ...types.UnlockHash) Condition + func (c *Condition) UnmarshalJSON(data []byte) error + func (c *Condition) UnmarshalYAML(unmarshal func(v interface{}) error) error + func (c Condition) MarshalJSON() ([]byte, error) + func (c Condition) MarshalYAML() (interface{}, error) + type Config struct + Blockchain *Blockchain + Frontend *Frontend + Generation *Generation + Template Template + func BuildConfigStruct(filePath string, opts *ConfigGenerationOpts) *Config + func ImportAndValidateConfig(configFilePath string) (*Config, error) + type ConfigGenerationOpts struct + PluginAuthcoinEnabled bool + PluginMintingEnabled bool + type Currency struct + Precision uint64 + Unit string + type Explorer struct + type Faucet struct + type Fraction struct + Denominator int64 + Numerator int64 + func (f *Fraction) UnmarshalText(text []byte) error + func (f Fraction) MarshalText() ([]byte, error) + type Frontend struct + Explorer *Explorer + Faucet *Faucet + type FrontendExplorerType uint8 + const FrontendExplorerTypeNone + const FrontendExplorerTypePlainJavascript + const FrontendExplorerTypeVueTypescript + func (et *FrontendExplorerType) FromString(str string) error + func (et FrontendExplorerType) String() string + type Generation struct + DisableGoFormatting bool + Ignore []GlobPattern + type Genesis struct + Authcoin *Condition + BlockStakeOutputs []Output + CoinOutputs []Output + GenesisBlockTimestamp int64 + Minting *Condition + type GlobPattern struct + func (gp *GlobPattern) UnmarshalText(text []byte) error + func (gp GlobPattern) MarshalText() ([]byte, error) + func (gp GlobPattern) Match(str string) bool + type Minting struct + CoinCreation Version + CoinDestruction *Version + ConditionUpdate Version + RequireMinerFees bool + type Network struct + ArbitraryDataSizeLimit uint64 + BlockCreatorFee string + BlockFrequency uint64 + BlockSizeLimit uint64 + BlockStakeAging uint64 + BootstrapPeers []*BootstrapPeer + ExtremeFutureThreshold uint64 + FutureThreshold uint64 + Genesis *Genesis + MaturityDelay uint64 + MaxAdjustmentDown Fraction + MaxAdjustmentUp Fraction + MedianTimestampWindow uint64 + MinimumTransactionFee string + NetworkType NetworkType + StakeModifierDelay uint64 + TargetWindow uint64 + TransactionFeePool string + TransactionPool TransactionPool + type NetworkType int + const NetworkTypeDevnet + const NetworkTypeStandard + const NetworkTypeTestnet + type Output struct + Condition Condition + Value string + type Ports struct + API uint16 + RPC uint16 + type Template struct + Repository string + Version string + type TemplateConfig struct + Frontend TemplateFrontendConfig + type TemplateFrontendConfig struct + Explorer map[string]TemplateFrontendTypeConfig + Faucet map[string]TemplateFrontendTypeConfig + type TemplateFrontendTypeConfig struct + Branch string + Repository string + type TransactionPool struct + PoolSizeLimit uint64 + TransactionSetSizeLimit uint + TransactionSizeLimit uint + type Transactions struct + Authcoin *Authcoin + Default *Version + Minting *Minting + type UnlockHash struct + func (u *UnlockHash) UnmarshalText(text []byte) error + func (u UnlockHash) MarshalText() ([]byte, error) + type Version struct + Version uint64