Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
*
- Setup the EOS test net
- @param int nodes The number of producers to make
- @param []Server servers The list of relevant servers
func GetDefaults ¶
func GetDefaults() string
func GetServices ¶
Types ¶
type EosConf ¶
type EosConf struct {
UserAccounts int64 `json:"userAccounts"`
BlockProducers int64 `json:"validators"`
AccountCpuStake int64 `json:"accountCpuStake"`
AccountRam int64 `json:"accountRam"`
AccountNetStake int64 `json:"accountNetStake"`
AccountFunds int64 `json:"accountFunds"`
BpCpuStake int64 `json:"bpCpuStake"`
BpNetStake int64 `json:"bpNetStake"`
BpRam int64 `json:"bpRam"`
BpFunds int64 `json:"bpFunds"`
MaxBlockNetUsage int64 `json:"maxBlockNetUsage"`
TargetBlockNetUsagePct int64 `json:"targetBlockNetUsagePct"`
MaxTransactionNetUsage int64 `json:"maxTransactionNetUsage"`
BasePerTransactionNetUsage int64 `json:"basePerTransactionNetUsage"`
NetUsageLeeway int64 `json:"netUsageLeeway"`
ContextFreeDiscountNetUsageNum int64 `json:"contextFreeDiscountNetUsageNum"`
ContextFreeDiscountNetUsageDen int64 `json:"contextFreeDiscountNetUsageDen"`
MaxBlockCpuUsage int64 `json:"maxBlockCpuUsage"`
TargetBlockCpuUsagePct int64 `json:"targetBlockCpuUsagePct"`
MaxTransactionCpuUsage int64 `json:"maxTransactionCpuUsage"`
MinTransactionCpuUsage int64 `json:"minTransactionCpuUsage"`
MaxTransactionLifetime int64 `json:"maxTransactionLifetime"`
DeferredTrxExpirationWindow int64 `json:"deferredTrxExpirationWindow"`
MaxTransactionDelay int64 `json:"maxTransactionDelay"`
MaxInlineActionSize int64 `json:"maxInlineActionSize"`
MaxInlineActionDepth int64 `json:"maxInlineActionDepth"`
MaxAuthorityDepth int64 `json:"maxAuthorityDepth"`
InitialChainId string `json:"initialChainId"`
ChainStateDbSizeMb int64 `json:"chainStateDbSizeMb"`
ReversibleBlocksDbSizeMb int64 `json:"reversibleBlocksDbSizeMb"`
ContractsConsole bool `json:"contractsConsole"`
P2pMaxNodesPerHost int64 `json:"p2pMaxNodesPerHost"`
AllowedConnection string `json:"allowedConnection"`
MaxClients int64 `json:"maxClients"`
ConnectionCleanupPeriod int64 `json:"connectionCleanupPeriod"`
NetworkVersionMatch int64 `json:"networkVersionMatch"`
SyncFetchSpan int64 `json:"syncFetchSpan"`
PauseOnStartup bool `json:"pauseOnStartup"`
MaxTransactionTime int64 `json:"maxTransactionTime"`
MaxIrreversibleBlockAge int64 `json:"maxIrreversibleBlockAge"`
KeosdProviderTimeout int64 `json:"keosdProviderTimeout"`
TxnReferenceBlockLag int64 `json:"txnReferenceBlockLag"`
Plugins []string `json:"plugins"`
ConfigExtras []string `json:"configExtras"`
}
func (*EosConf) GenerateConfig ¶
func (*EosConf) GenerateGenesis ¶
Click to show internal directories.
Click to hide internal directories.