Browse Source

version bump to 0.4.0

pull/456/head
Ethan Buchman 8 years ago
parent
commit
dab31d0166
3 changed files with 3 additions and 15 deletions
  1. +0
    -11
      .gitignore
  2. +2
    -3
      pex_reactor.go
  3. +1
    -1
      version.go

+ 0
- 11
.gitignore View File

@ -1,16 +1,5 @@
*.swp
*.swo
.bak
*.bak
.DS_Store
build/*
rpc/test/.tendermint
.debora
.tendermint
remote_dump
.revision
vendor
.vagrant
test/p2p/data/
test/logs
.glide

+ 2
- 3
pex_reactor.go View File

@ -66,7 +66,8 @@ func (pexR *PEXReactor) AddPeer(peer *Peer) {
// Add the peer to the address book
netAddr, err := NewNetAddressString(peer.ListenAddr)
if err != nil {
log.Warn("Error decoding message", "error", err)
// this should never happen
log.Error("Error in AddPeer: invalid peer address", "addr", peer.ListenAddr, "error", err)
return
}
@ -79,7 +80,6 @@ func (pexR *PEXReactor) AddPeer(peer *Peer) {
// (For outbound peers, the address is already in the books)
pexR.book.AddAddress(netAddr, netAddr)
}
return
}
// Implements Reactor
@ -115,7 +115,6 @@ func (pexR *PEXReactor) Receive(chID byte, src *Peer, msgBytes []byte) {
default:
log.Warn(Fmt("Unknown message type %v", reflect.TypeOf(msg)))
}
}
// Asks peer for more addresses.


+ 1
- 1
version.go View File

@ -1,3 +1,3 @@
package p2p
const Version = "0.3.5" // minor fixes
const Version = "0.4.0" // DialSeeds returns an error

Loading…
Cancel
Save