From 2aa03a5608f8b9d16f4b1e82ec97f6f466d2c1e0 Mon Sep 17 00:00:00 2001 From: vadym Date: Mon, 13 Sep 2021 11:09:40 +0300 Subject: [PATCH] address space fix --- src/address/address.go | 2 +- src/core/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/address/address.go b/src/address/address.go index 27c7fd4d..b3bb0bfb 100644 --- a/src/address/address.go +++ b/src/address/address.go @@ -17,7 +17,7 @@ type Subnet [8]byte // The 8th bit of the last byte is used to signal nodes (0) or /64 prefixes (1). // Nodes that configure this differently will be unable to communicate with each other using IP packets, though routing and the DHT machinery *should* still work. func GetPrefix() [1]byte { - return [...]byte{0x02} + return [...]byte{0xfc} } // IsValid returns true if an address falls within the range used by nodes in the network. diff --git a/src/core/version.go b/src/core/version.go index 0bfbbcbc..41c0e80e 100644 --- a/src/core/version.go +++ b/src/core/version.go @@ -20,7 +20,7 @@ type version_metadata struct { // Gets a base metadata with no keys set, but with the correct version numbers. func version_getBaseMetadata() version_metadata { return version_metadata{ - meta: [4]byte{'m', 'e', 't', 'a'}, + meta: [4]byte{'z', 'e', 't', 'a'}, ver: 0, minorVer: 4, }