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

Method Log

ethstorage/p2p/protocol/peer.go:78–80  ·  view source on GitHub ↗

Log overrides the P2P lg with the higher level one containing only the id.

()

Source from the content-addressed store, hash-verified

76
77// Log overrides the P2P lg with the higher level one containing only the id.
78func (p *Peer) Log() log.Logger {
79 return p.lg
80}
81
82func (p *Peer) getRequestSize() uint64 {
83 return uint64(math.Max(p.tracker.Capacity(p2pReadWriteTimeout.Seconds()*rttEstimateFactor), p.minRequestSize))

Calls

no outgoing calls