12 lines
252 B
Go
12 lines
252 B
Go
package trade
|
|
|
|
// add a server at an address
|
|
func RegAddServer(a Addr) error {
|
|
// read the server's key
|
|
// check signature
|
|
// sign servers key
|
|
// send signature to server
|
|
// send to all other servers
|
|
// send list of peers to server
|
|
return nil
|
|
}
|