nspcc-dev / neofs-contract

NeoFS smart-contract
GNU General Public License v3.0
10 stars 17 forks source link

container: add container placement verification #440

Closed carpawell closed 1 month ago

carpawell commented 1 month ago

The new VerifyPlacementSignatures checks if a message was signed by a suitable number of nodes. Number is taken from the contract storage, their relevance should be ensured and maintained by the Alphabet nodes every epoch. Closes #413.

carpawell commented 1 month ago

Not the most optimal implementation but good enough for now.

Not sure if it should have curveHash arg. I think no.