MCPcopy Create free account
hub / github.com/ethstorage/es-node / Version

Method Version

ethstorage/p2p/protocol/peer.go:58–60  ·  view source on GitHub ↗

Version retrieves the peer's negotiated `storage` protocol version.

()

Source from the content-addressed store, hash-verified

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

Callers 1

main.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected