Skip to content

Working backwards to verify witness proofs #228

Open
@swcurran

Description

@swcurran

One other aspect of witness validating from the client side.

For the logic to work in the current spec, I need to work backwards not forwards which isn't clear.

If I start at logEntry-1 - it may not have WitnessProofs as they exist only on the latest -N entry because it is the same witness through the entire chain.

But another witness that was only enabled for a singular (or a period of time) will show up partially in the streams which I can only determine in reverse order.

i.e.
N = last entry.
N- = full witness proof
(N-1)- = no proofs as no witness change
(N-2)-entryHash> = one proof as a witness was removed

If I go forward - then I don't know future proof records that only exist for the LAST record they witnessed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions