There is a lot of duplication between HB, DHB and their builders. They each have an encryption_schedule, subset_handling_strategy, max_future_epochs, rng and, with #332, random_value.
We need to find a solution that avoids the duplication but still makes usage of the builders convenient. (E.g. maybe the above fields—probably excluding rng—should be grouped in a Params struct?)
There is a lot of duplication between HB, DHB and their builders. They each have an
encryption_schedule
,subset_handling_strategy
,max_future_epochs
,rng
and, with #332,random_value
.We need to find a solution that avoids the duplication but still makes usage of the builders convenient. (E.g. maybe the above fields—probably excluding
rng
—should be grouped in aParams
struct?)