Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 391 Bytes

File metadata and controls

13 lines (11 loc) · 391 Bytes

This is the interface for the gateway to update its own information.

// UpdateOss update oss's peerId or domain
//   - domain: domain name
//
// Return:
//   - string: block hash
//   - error: error message
func (c *ChainClient) UpdateOss(domain string) (string, error)

For example code, please refer to run.go