Nostr note validation added to nip01
This commit is contained in:
@@ -15,4 +15,9 @@
|
||||
// Function declarations
|
||||
cJSON* nostr_create_and_sign_event(int kind, const char* content, cJSON* tags, const unsigned char* private_key, time_t timestamp);
|
||||
|
||||
// Event validation functions
|
||||
int nostr_validate_event_structure(cJSON* event);
|
||||
int nostr_verify_event_signature(cJSON* event);
|
||||
int nostr_validate_event(cJSON* event);
|
||||
|
||||
#endif // NIP001_H
|
||||
|
||||
Reference in New Issue
Block a user