split rules in header and payload sub sections
This commit is contained in:
parent
014dd22f86
commit
119e9013e0
|
@ -199,6 +199,14 @@ if let Ok(header) = msg.header.validate() {
|
||||||
|
|
||||||
### Rules
|
### 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.
|
- 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`.
|
- `share_commitments`: For each round, the maximum number of participants is set by the length of `share_commitments`.
|
||||||
- `signing_commitments`:
|
- `signing_commitments`:
|
||||||
|
|
Loading…
Reference in New Issue