File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
engine/common/follower/pending_tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,10 @@ func NewPendingTree(finalized *flow.Header) *PendingTree {
101101// Details:
102102// Adding blocks might result in additional blocks now being connected to the latest finalized block. The returned
103103// slice contains:
104- // 1. the subset of `certifiedBlocks` that are newly connected to the finalized block
105- // (excluding any blocks whose view is smaller or equal to the finalized block)
104+ // 1. the subset of `certifiedBlocks` that are connected to the finalized block
105+ // - excluding any blocks whose view is smaller or equal to the finalized block
106+ // - if a block `B ∈ certifiedBlocks` is already known to the PendingTree and connected,
107+ // `B` and all its connected descendants will be in the returned list
106108// 2. additionally, all of the _connected_ descendants of the blocks from step 1.
107109//
108110// PendingTree treats its input as a potentially repetitive stream of information: repeated inputs are already
You can’t perform that action at this time.
0 commit comments