Properly exchange peer capabilities between peers
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user