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