diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-26 19:45:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-26 19:45:26 +0800 |
commit | b8354124bebcd3988afd2f41c320f834a69b949e (patch) | |
tree | d25f8e2e382ff86f2157ade522a46baba8adea30 /peer.go | |
parent | 68119d0929adebdbd39dd40982264f86164bd6e6 (diff) | |
download | dexon-b8354124bebcd3988afd2f41c320f834a69b949e.tar.gz dexon-b8354124bebcd3988afd2f41c320f834a69b949e.tar.zst dexon-b8354124bebcd3988afd2f41c320f834a69b949e.zip |
Added protocol caps accessors
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -813,6 +813,10 @@ func (self *Peer) IsCap(cap string) bool { return false } +func (self *Peer) Caps() *ethutil.Value { + return self.protocolCaps +} + func (p *Peer) String() string { var strBoundType string if p.inbound { |