Skip to content

Commit

Permalink
Merge pull request #277 from nspcc-dev/feature/verified-nodes
Browse files Browse the repository at this point in the history
netmap: Add reserved node attribute for verified nodes' domain
  • Loading branch information
roman-khimov authored Sep 27, 2023
2 parents c1a97ad + d542954 commit 1424834
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions netmap/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,18 @@ message NodeInfo {
// Must contain a comma-separated list of multi-addresses.
// * Version
// Node implementation's version in a free string form.
// * VerifiedNodesDomain
// Confirmation of admission to a group of storage nodes.
// The value is the domain name registered in the NeoFS NNS. If attribute
// is specified, the storage node requesting entry into the NeoFS network
// map with this attribute must be included in the access list located on
// the specified domain. The access list is represented by a set of TXT
// records: Neo addresses resolved from public keys. To be admitted to the
// network, Neo address of the node's public key declared in 'public_key'
// field must be present in domain records. Otherwise, registration will be
// denied.
// Value must be a valid NeoFS NNS domain name. Note that if this attribute
// is absent, this check is not carried out.
//
// For detailed description of each well-known attribute please see the
// corresponding section in NeoFS Technical Specification.
Expand Down
12 changes: 12 additions & 0 deletions proto-docs/netmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,18 @@ explicitly set:
Must contain a comma-separated list of multi-addresses.
* Version
Node implementation's version in a free string form.
* VerifiedNodesDomain
Confirmation of admission to a group of storage nodes.
The value is the domain name registered in the NeoFS NNS. If attribute
is specified, the storage node requesting entry into the NeoFS network
map with this attribute must be included in the access list located on
the specified domain. The access list is represented by a set of TXT
records: Neo addresses resolved from public keys. To be admitted to the
network, Neo address of the node's public key declared in 'public_key'
field must be present in domain records. Otherwise, registration will be
denied.
Value must be a valid NeoFS NNS domain name. Note that if this attribute
is absent, this check is not carried out.

For detailed description of each well-known attribute please see the
corresponding section in NeoFS Technical Specification.
Expand Down

0 comments on commit 1424834

Please sign in to comment.