Make container sanity checks in container.Put method #23

Closed
opened 2025-12-28 17:18:12 +00:00 by sami · 0 comments
Owner

Originally created by @alexvanin on GitHub (Oct 9, 2020).

Originally assigned to: @cthulhu-rider on GitHub.

It would be nice if node could make sanity checks on container fields at container.Put request:

  • do not accept containers without owner ID or with invalid owner ID,
  • do not accept containers without nonce or with invalid nonce,
  • do not accept containers without placement policy,
  • do not accept containers with unknown version,
  • optional: check container signature (smart-contract won't accept containers with invalid signature anyway, but we can make one more check).
Originally created by @alexvanin on GitHub (Oct 9, 2020). Originally assigned to: @cthulhu-rider on GitHub. It would be nice if node could make sanity checks on container fields at `container.Put` request: - do not accept containers without owner ID or with invalid owner ID, - do not accept containers without nonce or with invalid nonce, - do not accept containers without placement policy, - do not accept containers with unknown version, - optional: check container signature (smart-contract won't accept containers with invalid signature anyway, but we can make one more check).
sami 2025-12-28 17:18:12 +00:00
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-node#23
No description provided.