Skip to content

Add delete metadata so delete ops have a fixed seq #40

@Frando

Description

@Frando

If tracking a hypercore that is a hypertrie for changes, it's easy to track all put operations. However, deletes are not clearly identifieable from the log because they are (quoting mafintosh): "puts with a hash distance nearby key. You can’t trivially identity them with the differ".

For kappa-core style usecases things are much easier if each operation has a fixed sequence number by which it can be addressed and indexed. If deletes in Hypertrie were Nodes with the deleted key plus a deleted flag, that would be straightforward (which it is not at the moment).

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