UpdateSminerEndPoint

This is the interface for storage miners to update their endpoint.

// UpdateSminerEndpoint update address for storage miner
//   - endpoint: address
//
// Return:
//   - string: block hash
//   - error: error message
func (c *ChainClient) UpdateSminerEndpoint(endpoint []byte) (string, error)

For example code, please refer to update.go

Last updated

Was this helpful?