Skip to content

Named containers #889

@alexvanin

Description

@alexvanin

After nspcc-dev/neofs-contract#134 container contract has container.Put and container.PutNamed methods.

Storage node

On container put request, Storage node should parse container attributes. If it contains __NEOFS__NAME and optional __NEOFS__ZONE attributes, then it should invoke container.PutNamed. Otherwise invoke container.Put.

Alphabet node

Notary enabled

Parse notary notifications of container.PutNamed method. Process it the same way as container.Put.

Notary disabled

container.PutNamed produces the same notification as container.Put. If we keep it as it is, then Alphabet node must check container attributes. If __NEOFS__NAME and optional __NEOFS_ZONE are present and container is valid, then invoke container.PutNamed. If container is valid but attributes are missing, invoke container.Put.

Metadata

Metadata

Assignees

Labels

neofs-irInner Ring node application issuesneofs-storageStorage node application issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions