1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-20 18:30:25 +08:00

feat(p2p): add more link to tcp

This commit is contained in:
源文雨
2024-08-06 20:30:33 +08:00
parent ea768f88f9
commit b71a0541bd
8 changed files with 198 additions and 47 deletions

View File

@@ -47,7 +47,9 @@ func (m *Me) wait(data []byte) *head.Packet {
logrus.Debugf("[recv] packet crc %016x, seq %08x, xored crc %016x", crclog, seq, crc)
}
if m.recved.Get(crc) {
logrus.Warnln("[recv] ignore duplicated crc packet", strconv.FormatUint(crc, 16))
if config.ShowDebugLog {
logrus.Debugln("[recv] ignore duplicated crc packet", strconv.FormatUint(crc, 16))
}
return nil
}
if config.ShowDebugLog {