peers use uuid to avoid duplicate connections

This commit is contained in:
Ethan Buchman
2015-07-10 03:05:25 +00:00
parent 9521e4e4e7
commit d0610845dc
20 changed files with 1209 additions and 3 deletions

View File

@ -11,6 +11,7 @@ type NodeInfo struct {
Version string `json:"version"`
Revision string `json:"revision"`
UUID string `json:"uuid"`
Host string `json:"host"`
P2PPort uint16 `json:"p2p_port"`
RPCPort uint16 `json:"rpc_port"`