Files
c-relay/src/main.h

31 lines
954 B
C

/*
* C-Relay Main Header - Version and Metadata Information
*
* This header contains version information and relay metadata.
* Version macros are auto-updated by the build system.
* Relay metadata should be manually maintained.
*/
#ifndef MAIN_H
#define MAIN_H
// Version information (auto-updated by build system)
#define VERSION "v0.8.0"
#define VERSION_MAJOR 0
#define VERSION_MINOR 7
#define VERSION_PATCH 44
// Relay metadata (authoritative source for NIP-11 information)
#define RELAY_NAME "C-Relay"
#define RELAY_DESCRIPTION "High-performance C Nostr relay with SQLite storage"
#define RELAY_CONTACT ""
#define RELAY_SOFTWARE "https://git.laantungir.net/laantungir/c-relay.git"
#define RELAY_VERSION VERSION // Use the same version as the build
#define SUPPORTED_NIPS "1,2,4,9,11,12,13,15,16,20,22,33,40,42,50,70"
#define LANGUAGE_TAGS ""
#define RELAY_COUNTRIES ""
#define POSTING_POLICY ""
#define PAYMENTS_URL ""
#endif /* MAIN_H */