Switched to a DAG ledger

This commit is contained in:
2026-02-16 07:36:44 +00:00
parent 4e830bf5d0
commit 78f22a8320
4 changed files with 277 additions and 84 deletions

View File

@@ -133,11 +133,11 @@ func main() {
return
}
if isZero32(ent.Previous) {
if isZero32(ent.Parents) {
break
}
// Follow the linked list backwards
curID = core.EntryID(ent.Previous)
curID = core.EntryID(ent.Parents)
}
}