Properly exchange peer capabilities between peers

This commit is contained in:
Maran
2014-05-12 13:39:37 +02:00
parent 4eb3ad192e
commit 8b4ed8c505
2 changed files with 5 additions and 1 deletions

View File

@ -122,6 +122,10 @@ func (s *Ethereum) TxPool() *ethchain.TxPool {
return s.txPool
}
func (s *Ethereum) ServerCaps() Caps {
return s.serverCaps
}
func (s *Ethereum) AddPeer(conn net.Conn) {
peer := NewPeer(conn, s, true)