func (t *Torrent) reconcileHandshakeStats(c *PeerConn) {
	if c._stats != (ConnStats{
		// Handshakes should only increment these fields:
		BytesWritten: c._stats.BytesWritten,
		BytesRead:    c._stats.BytesRead,
	}) {
		panic("bad stats")
	}
	c.postHandshakeStats(func(cs *ConnStats) {
		cs.BytesRead.Add(c._stats.BytesRead.Int64())
		cs.BytesWritten.Add(c._stats.BytesWritten.Int64())
	})
	c.reconciledHandshakeStats = true
}
// Reconcile bytes transferred before connection was associated with a
// torrent.
Reconcile bytes transferred before connection was associated with a
torrent.
// Reconcile bytes transferred before connection was associated with a // torrent .
func (t *Torrent) reconcileHandshakeStats(c *PeerConn) {
	if c._stats != (ConnStats{
		BytesWritten: c._stats.BytesWritten,
		BytesRead:    c._stats.BytesRead,
	}) {
		panic("bad stats")
	}
	c.postHandshakeStats(func(cs *ConnStats) {
		cs.BytesRead.Add(c._stats.BytesRead.Int64())
		cs.BytesWritten.Add(c._stats.BytesWritten.Int64())
	})
	c.reconciledHandshakeStats = true
}
func ( t * Torrent ) reconcileHandshakeStats ( c * PeerConn ) { if c . _stats != ( ConnStats { BytesWritten : c . _stats . BytesWritten , BytesRead : c . _stats . BytesRead , } ) { panic ( " " ) } c . postHandshakeStats ( func ( cs * ConnStats ) { cs . BytesRead . Add ( c . _stats . BytesRead . Int64 ( ) ) cs . BytesWritten . Add ( c . _stats . BytesWritten . Int64 ( ) ) } ) c . reconciledHandshakeStats = true }
Reconcile bytes transferred before connection was associated with a
torrent.
Reconcile bytes transferred before connection was associated with a torrent .
// Handshakes should only increment these fields: