fix protospec.md

This commit is contained in:
Andre Staltz 2023-04-26 14:26:51 +03:00
parent 2a2b184dd1
commit 1aac2f56a2
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 5 additions and 8 deletions

View File

@ -86,7 +86,10 @@ interface Data4567 extends WithId {
interface Data8 extends WithId {
phase: 8,
payload: Array<string>,
payload: {
msgs: Array<Msg>,
bloom: string,
}
}
interface Data9 extends WithId {
@ -94,11 +97,5 @@ interface Data9 extends WithId {
payload: Array<Msg>,
}
type Data = {
id: string, // TangleID: msg hash of the tangle's root msg
phase: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10,
payload: {
}
}
type Data = Data1 | Data2 | Data3 | Data4567 | Data8 | Data9
```