discosrv: Remove deprecated v1 support

This commit is contained in:
Jakob Borg
2014-04-19 23:02:14 +02:00
parent 9349eb77cd
commit 44a194d226
3 changed files with 0 additions and 175 deletions

View File

@@ -1,22 +1,5 @@
package discover
const (
AnnouncementMagicV1 = 0x20121025
QueryMagicV1 = 0x19760309
)
type QueryV1 struct {
Magic uint32
NodeID string // max:64
}
type AnnounceV1 struct {
Magic uint32
Port uint16
NodeID string // max:64
IP []byte // max:16
}
const (
AnnouncementMagicV2 = 0x029E4C77
QueryMagicV2 = 0x23D63A9A