split rules in header and payload sub sections

This commit is contained in:
Alfredo Garcia 2021-05-11 09:50:16 -03:00 committed by Deirdre Connolly
parent 014dd22f86
commit 119e9013e0
1 changed files with 8 additions and 0 deletions

View File

@ -199,6 +199,14 @@ if let Ok(header) = msg.header.validate() {
### Rules
The following rules must be implemented:
#### Header
- `sender` and `receiver` can't be the same.
#### Payloads
- Each jubjub type must be validated during deserialization.
- `share_commitments`: For each round, the maximum number of participants is set by the length of `share_commitments`.
- `signing_commitments`: