Skip to content

container: add container placement verification#440

Merged
roman-khimov merged 1 commit intomasterfrom
feat/container-signatures-verification
Oct 16, 2024
Merged

container: add container placement verification#440
roman-khimov merged 1 commit intomasterfrom
feat/container-signatures-verification

Conversation

@carpawell
Copy link
Member

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 carpawell self-assigned this Oct 15, 2024
@carpawell carpawell force-pushed the feat/container-signatures-verification branch 2 times, most recently from a9edb96 to 0cc2e70 Compare October 15, 2024 20:39
@carpawell
Copy link
Member Author

Not the most optimal implementation but good enough for now.

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

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks legit for unordered signatures.

@carpawell carpawell force-pushed the feat/container-signatures-verification branch from 0cc2e70 to db11d32 Compare October 15, 2024 20:56
@carpawell carpawell force-pushed the feat/container-signatures-verification branch from db11d32 to a3fae3b Compare October 16, 2024 12:07
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.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
@carpawell carpawell force-pushed the feat/container-signatures-verification branch from a3fae3b to d5e22de Compare October 16, 2024 12:38
@roman-khimov roman-khimov merged commit 36e7d07 into master Oct 16, 2024
@roman-khimov roman-khimov deleted the feat/container-signatures-verification branch October 16, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verification function for container-level thing

2 participants