go-p2p/node/levin
Snider 85de30a528 feat(compat): implement spec-described aliases across all packages
Add compatibility aliases documented in specs but missing from code:

- node: NewNodeManagerWithPaths, NewPeerRegistryWithPath (deprecated
  constructor aliases), RegisterWithTransport (deprecated method alias),
  ConnectedPeers (count alias), GetLogsPayload (type alias)
- levin: Short-form Value constructors (Uint64Val, StringVal, ObjectVal,
  etc.) matching spec naming
- logging: WithComponent, GetLevel, GetGlobal (deprecated method aliases)
- ueps: TagCurrentLay, TagTargetLay (short-form tag constant aliases)

All aliases delegate to the canonical AX-compliant names. Tests cover
every alias with round-trip verification where applicable.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 12:25:22 +01:00
..
compat.go feat(compat): implement spec-described aliases across all packages 2026-03-31 12:25:22 +01:00
compat_test.go feat(compat): implement spec-described aliases across all packages 2026-03-31 12:25:22 +01:00
connection.go refactor(node): tighten AX naming across core paths 2026-03-30 22:31:11 +00:00
connection_test.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00
header.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00
header_test.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00
storage.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00
storage_test.go refactor(node): adopt AX-native protocol names 2026-03-30 21:21:07 +00:00
varint.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00
varint_test.go refactor(node): remove legacy compatibility aliases 2026-03-30 21:27:45 +00:00