document slot better
This commit is contained in:
parent
e6ae9977b2
commit
63f49eff76
|
@ -169,13 +169,10 @@ type
|
||||||
## blck.state_root == rdata.root
|
## blck.state_root == rdata.root
|
||||||
|
|
||||||
BlockSlot* = object
|
BlockSlot* = object
|
||||||
## Unique identifier for a particular fork in the block chain - normally,
|
## Unique identifier for a particular fork and time in the block chain -
|
||||||
## there's a block for every slot, but in the case a block is not produced,
|
## normally, there's a block for every slot, but in the case a block is not
|
||||||
## the chain progresses anyway, producing a new state for every slot.
|
## produced, the chain progresses anyway, producing a new state for every
|
||||||
#
|
## slot.
|
||||||
# TODO: Isn't this type unnecessary?
|
|
||||||
# The `BlockRef` stored here already includes the `slot` number as well.
|
|
||||||
# We should either remove it or write a comment clarifying why it exists.
|
|
||||||
blck*: BlockRef
|
blck*: BlockRef
|
||||||
slot*: Slot ##\
|
slot*: Slot ##\
|
||||||
## Slot time for this BlockSlot which may differ from blck.slot when time
|
## Slot time for this BlockSlot which may differ from blck.slot when time
|
||||||
|
|
Loading…
Reference in New Issue