Assuming I'm reading the code correctly: WithWitnesses (
|
func (o *AppendOptions) WithWitnesses(witnesses WitnessGroup, opts *WitnessOptions) *AppendOptions { |
) only allows passing a
WitnessGroup, i.e. ~something like the quorum of a
tlog-policy.
However, in some circumstances, I'd like to be able to configure a witness which does not contribute to quorum. Unfortunately I don't think this API enables me to do that. (But happy be told I'm wrong.) As such those "optional" witnesses are degraded to "never" witnesses.
Perhaps this is an opportunity to switch over to https://github.com/transparency-dev/formats/blob/main/policy/tlog_policy.go?
Assuming I'm reading the code correctly:
WithWitnesses(tessera/append_lifecycle.go
Line 1133 in 74fce42
WitnessGroup, i.e. ~something like the quorum of atlog-policy.However, in some circumstances, I'd like to be able to configure a witness which does not contribute to
quorum. Unfortunately I don't think this API enables me to do that. (But happy be told I'm wrong.) As such those "optional" witnesses are degraded to "never" witnesses.Perhaps this is an opportunity to switch over to https://github.com/transparency-dev/formats/blob/main/policy/tlog_policy.go?