Switch to custom BlockAnnounceData (#310)

* Switch to custom `BlockAnnounceData`

Instead of sending a `SignedFullStatement` this switches to a new struct
`BlockAnnounceData` that is being send alongside the block announcement.
The signed full statement contains the candidate commitments, meaning it
could be a full runtime upgrade that we send alongside a block
announcement... To prevent this, we now only send the candidate receipt
and the compact statement.

* Update to latest polkadot
This commit is contained in:
Bastian Köcher
2021-01-26 03:32:03 +01:00
committed by GitHub
parent b5f6580da1
commit 57b5ec4053
4 changed files with 424 additions and 282 deletions
Generated
+275 -201
View File
File diff suppressed because it is too large Load Diff