ssvlabs / ssv-spec

GNU General Public License v3.0
25 stars 22 forks source link

feature: (alan) filter committee duty shares #466

Closed y0sher closed 1 month ago

y0sher commented 1 month ago

Description

Committee struct holds all the shares for the validators of that committee, though a CommitteeRunner only lives for a certain slot and thereby only needs shares of validators that have duty for that slot.

Changes

Filter the shares of Committee to create a subset that has only shares of validators that have duties for this slot.