Add method to resolve container name #85

Open
opened 2025-12-28 18:12:29 +00:00 by sami · 0 comments
Owner

Originally created by @KirillovDenis on GitHub (Oct 27, 2022).

It would be nice to have some way to resolve container name. Now we can know container ID by name using NNS resolver from SDK.

Having new way to resolve names in API would be helpful for:

  • gates (they don't need to make rpc to sidechain)
  • neofs-cli (we can easily find out container id by its name)

There are two way to adopt such resolving:

  • Add new rpc mehod here
  • Teach node to get containers not only by ID but also by name (It seems quite complicated and)

Probably this issue is for the future though.

/cc @alexvanin @realloc

Originally created by @KirillovDenis on GitHub (Oct 27, 2022). It would be nice to have some way to resolve container name. Now we can know container ID by name using [NNS resolver from SDK](https://github.com/nspcc-dev/neofs-sdk-go/blob/da4ddcf337dad1b241f7d4c23d0170258f352703/ns/nns.go). Having new way to resolve names in API would be helpful for: * gates (they don't need to make rpc to sidechain) * neofs-cli (we can easily find out container id by its name) There are two way to adopt such resolving: * Add new rpc mehod [here](https://github.com/nspcc-dev/neofs-api/blob/813c04bea4a23b99fb90666b1b325c95e0a364cf/container/service.proto#L17) * Teach node to get containers not only by ID but also by name (It seems quite complicated and) Probably this issue is for the future though. /cc @alexvanin @realloc
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-api#85
No description provided.