package tezos-protocol-019-PtParisB
Only one slot header is accepted per slot index. If two slots headers are included into a block, the second one will fail.
Consequently, we rely on the order of operations which is done thanks to the fee market.
This is encapsulated in the following module.
val init : length:int -> t
init ~length
encodes a list of length
slots without candidates.
register t index fees
updates the candidate associated to index index
. Returns Some (_, true)
if the candidate is registered. Returns Some (_, false)
otherwise. Returns None
if the index
is not in the interval 0;length
where length
is the value provided to the init
function.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>