Skip to content

Zap verification API #88

@jb55

Description

@jb55

The metadata data structure format is getting updated, which opens up a few new apis that I am considering:

uint64_t ndb_note_meta_get_flags() uint64_t ndb_note_meta_set_flags(uint64_t flag) 

where one of the flags could be: NDB_NOTE_FLAG_ZAP_VERIFIED

once the write thread notices this flag is toggled to true on the zap note metadata, then we can update the sats counter on the zap target metadata.

This would provide a super robust way of counting verified zaps

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