diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-12 19:39:37 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-12 19:39:37 +0800 |
commit | 8b4ed8c505111cb570c7c694675b833ebf0bba21 (patch) | |
tree | 90318f9daad5d480b30d8575c10cc76145ef726a /ethereum.go | |
parent | 4eb3ad192e58bc42dec4e44b4a8be6cb36473c0f (diff) | |
download | dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.tar dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.tar.gz dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.tar.bz2 dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.tar.lz dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.tar.xz dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.tar.zst dexon-8b4ed8c505111cb570c7c694675b833ebf0bba21.zip |
Properly exchange peer capabilities between peers
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereum.go b/ethereum.go index e3140b5ce..97ea35d45 100644 --- a/ethereum.go +++ b/ethereum.go @@ -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) |