Remove all references to PeerName in ConnectionMaker

This commit is contained in:
Bryan Boreham committed 2014-09-08 15:05:50 +01:00
1 parent 8b3e97b96a
commit dec794eb72
5 files changed
+33 -34

No files matched your search

+3 -3
View File
@@ -155,8 +155,8 @@ type Topology struct {
type ConnectionMakerInteraction struct {
Interaction
foundAt string
name PeerName
acceptAnyPeer bool
address string
}
type ConnectionMaker struct {
@@ -167,7 +167,7 @@ type ConnectionMaker struct {
// Information about an address where we may find a peer
type Target struct {
commandLine bool // was this address given to us on the command line?
acceptAnyPeer bool // was this address given to us on the command line?
attempting bool // are we currently attempting to connect to this address?
conn *Connection
tryAfter time.Time // next time to try this address