RegnstkSminer
// RegnstkSminer registers as a storage miner,
// which is the first stage of storage miner registration.
//
// - earnings: earnings account
// - endpoint: communications endpoint
// - staking: number of staking, the unit is CESS
// - tibCount: the size of declaration space, in TiB
//
// Return:
// - string: block hash
// - error: error message
func (c *ChainClient) RegnstkSminer(earnings string, endpoint []byte, staking uint64, tibCount uint32) (string, error)Last updated