From d3761c2435e5bced792962b07f3694d67bca6a7a Mon Sep 17 00:00:00 2001 From: Carl Date: Wed, 13 Feb 2019 13:50:17 -0800 Subject: [PATCH] Change definitions in book to match current changes --- book/src/blocktree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/blocktree.md b/book/src/blocktree.md index 1ce40099f2..eb343f55f1 100644 --- a/book/src/blocktree.md +++ b/book/src/blocktree.md @@ -50,7 +50,7 @@ slot index and blob index for an entry, and the value is the entry data. Note bl * `received` - The highest received blob index for the slot * `next_slots` - A list of future slots this slot could chain to. Used when rebuilding the ledger to find possible fork points. - * `consumed_ticks` - Tick height of the highest received blob (used to identify when a slot is full) + * `last_index` - The index of the blob that is flagged as the last blob for this slot. This flag on a blob will be set by the leader for a slot when they are transmitting the last blob for a slot. * `is_trunk` - True iff every block from 0...slot forms a full sequence without any holes. We can derive is_trunk for each slot with the following rules. Let slot(n) be the slot with index `n`, and slot(n).is_full() is true if the slot with index `n` has all the ticks expected for that slot. Let is_trunk(n) be the statement that "the slot(n).is_trunk is true". Then: is_trunk(0)