Reject blocks with invalid last ticks in replay stage (#6833)

* Reject blocks with invalid last ticks in replay stage

* slot_full
This commit is contained in:
Justin Starry
2019-11-08 20:21:54 -05:00
committed by GitHub
parent 91be35731c
commit 02058ea699
4 changed files with 99 additions and 41 deletions

View File

@@ -3,6 +3,9 @@ pub enum BlockError {
/// Block entries hashes must all be valid
InvalidEntryHash,
/// Blocks must end in a tick that has been marked as the last tick.
InvalidLastTick,
/// Blocks can not have extra ticks or missing ticks
InvalidTickCount,