v0.4.9 - Working on dm admin
This commit is contained in:
@@ -57,15 +57,7 @@ extern int get_config_int(const char* key, int default_value);
|
||||
// NIP-42 constants (from nostr_core_lib)
|
||||
#define NOSTR_NIP42_AUTH_EVENT_KIND 22242
|
||||
|
||||
// NIP-42 error codes (from nostr_core_lib)
|
||||
#define NOSTR_ERROR_NIP42_CHALLENGE_NOT_FOUND -200
|
||||
#define NOSTR_ERROR_NIP42_CHALLENGE_EXPIRED -201
|
||||
#define NOSTR_ERROR_NIP42_INVALID_CHALLENGE -202
|
||||
#define NOSTR_ERROR_NIP42_URL_MISMATCH -203
|
||||
#define NOSTR_ERROR_NIP42_TIME_TOLERANCE -204
|
||||
#define NOSTR_ERROR_NIP42_AUTH_EVENT_INVALID -205
|
||||
#define NOSTR_ERROR_NIP42_INVALID_RELAY_URL -206
|
||||
#define NOSTR_ERROR_NIP42_NOT_CONFIGURED -207
|
||||
// NIP-42 error codes (from nostr_core_lib - already defined in nostr_common.h)
|
||||
|
||||
// Forward declarations for NIP-42 functions (simple implementations for C-relay)
|
||||
int nostr_nip42_generate_challenge(char *challenge_buffer, size_t buffer_size);
|
||||
|
||||
Reference in New Issue
Block a user