Documentation ¶
Index ¶
- func GetBlockWorker() string
- func GetChainID() string
- func GetMaxTxnQuery() int
- func GetMinConfirmation() int
- func GetMinSubmit() int
- func GetMiners() []string
- func GetPreferredBlobbers() []string
- func GetQuerySleepTime() int
- func GetSharders() []string
- func PopulateChain(minerjson string, sharderjson string) error
- func PopulateNodes(nodesjson string) ([]string, error)
- func SetBlockWorker(blockWorker string)
- func SetChainID(id string)
- func SetMaxTxnQuery(num int)
- func SetMinConfirmation(minConfirmation int)
- func SetMinSubmit(minSubmit int)
- func SetMiners(minerArray []string)
- func SetPreferredBlobbers(preferredBlobberArray []string)
- func SetQuerySleepTime(time int)
- func SetSharders(sharderArray []string)
- type ChainConfig
- type StorageNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockWorker ¶
func GetBlockWorker() string
func GetChainID ¶
func GetChainID() string
func GetMaxTxnQuery ¶
func GetMaxTxnQuery() int
func GetMinConfirmation ¶
func GetMinConfirmation() int
func GetMinSubmit ¶
func GetMinSubmit() int
func GetPreferredBlobbers ¶
func GetPreferredBlobbers() []string
func GetQuerySleepTime ¶
func GetQuerySleepTime() int
func GetSharders ¶
func GetSharders() []string
func PopulateChain ¶
func PopulateNodes ¶
func SetBlockWorker ¶
func SetBlockWorker(blockWorker string)
func SetChainID ¶
func SetChainID(id string)
func SetMaxTxnQuery ¶
func SetMaxTxnQuery(num int)
func SetMinConfirmation ¶
func SetMinConfirmation(minConfirmation int)
func SetMinSubmit ¶
func SetMinSubmit(minSubmit int)
func SetPreferredBlobbers ¶
func SetPreferredBlobbers(preferredBlobberArray []string)
func SetQuerySleepTime ¶
func SetQuerySleepTime(time int)
func SetSharders ¶
func SetSharders(sharderArray []string)
Types ¶
type ChainConfig ¶
type StorageNode ¶
type StorageNode struct { ID string `json:"id"` Baseurl string `json:"url"` // contains filtered or unexported fields }
func (*StorageNode) IsSkip ¶
func (sn *StorageNode) IsSkip() bool
func (*StorageNode) SetSkip ¶
func (sn *StorageNode) SetSkip(t bool)
Click to show internal directories.
Click to hide internal directories.