Version retrieves the peer's negotiated `storage` protocol version.
()
| 56 | |
| 57 | // Version retrieves the peer's negotiated `storage` protocol version. |
| 58 | func (p *Peer) Version() uint { |
| 59 | return p.version |
| 60 | } |
| 61 | |
| 62 | func (p *Peer) Shards() map[common.Address][]uint64 { |
| 63 | return p.shards |