Next leader needs to publish empties

This commit is contained in:
Greg Fitzgerald
2018-12-11 13:54:13 -07:00
parent eeb31074de
commit bffa9f914c

View File

@@ -43,7 +43,11 @@ A leader transmits entries during its slot. After `T` ticks, all the
validators switch to the next scheduled leader. Validators must ignore entries validators switch to the next scheduled leader. Validators must ignore entries
sent outside a leader's assigned slot. sent outside a leader's assigned slot.
All `T` ticks must be observed from the current leader for that part of PoH to All `T` ticks must be observed by the next leader for it to build its own
be accepted by the cluster. If entries are not observed (leader is down) or entries on. If entries are not observed (leader is down) or entries are invalid
entries are invalid (leader is buggy or malicious), a validator should fill the (leader is buggy or malicious), the next leader must produce empty entries to
gap with empty entries and continue with PoH from the next leader. fill the previous leader's slot. Note that the next leader should do repair
requests in parallel, and postpone sending empty entries until it is confident
other validators also failed to observe the previous leader's entries. If a
leader incorrectly builds on empty entries, the leader following it must
replace all its entries with empties.