Allow sync to to request block bodies.

This commit is contained in:
Paul Hauner
2019-03-23 13:23:44 +11:00
parent 96ba1c8f77
commit 4b5b5851a6
7 changed files with 305 additions and 33 deletions

View File

@@ -162,7 +162,7 @@ pub struct BeaconBlockHeadersResponse {
#[derive(Encode, Decode, Clone, Debug, PartialEq)]
pub struct BeaconBlockBodiesRequest {
/// The list of beacon block bodies being requested.
pub block_roots: Hash256,
pub block_roots: Vec<Hash256>,
}
/// Response containing the list of requested beacon block bodies.