Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NNS resolving for any zone #356

Closed
alexvanin opened this issue Oct 26, 2022 · 1 comment · Fixed by #357
Closed

NNS resolving for any zone #356

alexvanin opened this issue Oct 26, 2022 · 1 comment · Fixed by #357
Assignees
Labels
U3 Regular

Comments

@alexvanin
Copy link
Contributor

Now ResolveContainerName works only with .container zone

name+".container", int64(nns.TXT),

We want to have more general function that accepts any zone (or full domain).

@KirillovDenis
Copy link
Contributor

Let's accept the domain as function parameter

// Domain represents information about container domain registered in the NNS
// contract deployed in the NeoFS network.
type Domain struct {
name, zone string
}

cthulhu-rider pushed a commit that referenced this issue Oct 28, 2022
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
U3 Regular
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants