mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-19 23:55:06 +03:00
Spelling fixes for address.go
This commit is contained in:
parent
b31bc8bd38
commit
821ca07e0b
1 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ type Address [16]byte
|
|||
type Subnet [8]byte
|
||||
|
||||
// address_prefix is the prefix used for all addresses and subnets in the network.
|
||||
// The current implementation requires this to be a muliple of 8 bits + 7 bits.
|
||||
// The current implementation requires this to be a multiple of 8 bits + 7 bits.
|
||||
// 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 eachother, though routing and the DHT machinery *should* still work.
|
||||
// Nodes that configure this differently will be unable to communicate with each other, though routing and the DHT machinery *should* still work.
|
||||
func GetPrefix() [1]byte {
|
||||
return [...]byte{0x02}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue