mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-14 11:16:17 +00:00
1a6bdd4099
* [pubsub] - remove pubsub package * [chain] - Add height to chain * [peer] - remove unnecesary println * [server] - Implement server package * Add main.go to run node
7 lines
246 B
Go
7 lines
246 B
Go
package server
|
|
|
|
// etAddress will return a viable address to connect to
|
|
// Currently it is hardcoded to be one neo node until address manager is implemented
|
|
func (s *Server) getAddress() (string, error) {
|
|
return "seed1.ngd.network:10333", nil
|
|
}
|