Open raulk opened 4 years ago
Block sequence class: model a sequence of {block_arrival_time_offset, full_block} that captures the timeline in which blocks are to be received.
This is to test chain selection and reorgs.
Requires:
The test driver needs to feed blocks to the syncer, advancing time respectively as the test vector indicates.
ChainExport
Array of blocks, provided in a struct that contains:
Message repository:
types.SignedMessage
Block sequence class: model a sequence of {block_arrival_time_offset, full_block} that captures the timeline in which blocks are to be received.
This is to test chain selection and reorgs.
Requires:
The test driver needs to feed blocks to the syncer, advancing time respectively as the test vector indicates.