Skip to content

Unpaid containers #1199

@carpawell

Description

@carpawell

Is your feature request related to a problem? Please describe.

I'm always frustrated when our new feature is not tested. We have released the deny-of-service-if-not-paid feature: nspcc-dev/neofs-node#3650.

Describe the solution you'd like

  1. Add a wallet with a balance, store objects more than the owner may afford
  2. Wait an epoch to report updated storage values and another one for payments
  3. See that SNs refuse to add additional objects to this container.
  4. WARNING: before v0.51.0 release, there is only found unpaid container message in log, AFTER v0.51.0 release, there will also be dropping all the container's data
  5. WARNING: after v.0.51.0 release, it will be possible to keep storing objects again after container cleanup (if balance still allows storing smth).

Describe alternatives you've considered

-

Additional context

nspcc-dev/neofs-node#3691
nspcc-dev/neofs-node#3692

Metadata

Metadata

Assignees

No one assigned

    Labels

    I3Minimal impactS4RoutineU2Seriously plannedfeatureCompletely new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions