rings: DecodeAddress() [WIP]

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2024-05-28 02:29:34 +00:00
parent e1186975a6
commit 7b39f643ab
2 changed files with 76 additions and 0 deletions
+14
View File
@@ -8,7 +8,21 @@ import (
"darvaza.org/core"
)
// RingID ... TODO
type RingID int
const (
// InvalidRing ... TODO
InvalidRing RingID = iota - 1
// RingZero ... TODO
RingZero
// RingOne ... TODO
RingOne
// RingTwo ... TODO
RingTwo
// RingThree ... TODO
RingThree
// RegionMax indicates the highest number that can be used for a [RegionID].
RegionMax = (1 << 4) - 1
// ZoneMax indicates the highest number that can be used for a [ZoneID].