RegnstkAssignStaking
// RegnstkAssignStaking is registered as a storage miner, unlike RegnstkSminer,
// needs to be actively staking by the staking account, which is the first stage
// of storage miner registration.
//
// - earnings: earnings account
// - endpoint: communications endpoint
// - stakingAcc: staking account
// - tibCount: the size of declaration space, in TiB
//
// Return:
// - string: block hash
// - error: error message
func (c *ChainClient) RegnstkAssignStaking(earnings string, endpoint []byte, stakingAcc string, tibCount uint32) (string, error)Last updated