cleanup: remove extra comments
All checks were successful
Bearer / scan (push) Successful in 31s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 32s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 31s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 31s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 44s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 47s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 54s
Go Revive Lint / lint (push) Successful in 1m5s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m50s
Run Gosec / tests (push) Successful in 1m10s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m23s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m25s
Go Build Multi-Platform / Create Release (push) Has been skipped

This commit is contained in:
2025-12-29 23:50:03 -06:00
parent 8e777bef03
commit 3af2be27d8

View File

@@ -178,12 +178,7 @@ func NewTransport(cfg *common.ReticulumConfig) *Transport {
heldAnnounces: make(map[string]*PathAnnounceEntry),
}
// TODO: Path table persistence - Python Reticulum persists the path table to disk at
// storage/destination_table containing [timestamp, received_from, hops, expires, random_blobs, interface, packet_hash]
// for each known destination. This allows faster startup by not needing to re-discover all paths.
// However, NOT persisting provides better privacy as paths are ephemeral and forgotten on restart.
// Decision: Keep paths in-memory only for now (better privacy). If persistence is needed in the future,
// implement loadPathTable() and persistPathTable() methods with periodic saves.
// TODO: Path table persistence
transportIdent, err := identity.LoadOrCreateTransportIdentity()
if err == nil {