Skip to content

Tessera witnessing does not support "optional" witnesses #1123

Description

@BenBirt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions