33 lines
1021 B
C
33 lines
1021 B
C
/*
|
|
* C-Relay Main Header - Version and Metadata Information
|
|
*
|
|
* This header contains version information and relay metadata that is
|
|
* automatically updated by the build system (build_and_push.sh).
|
|
*
|
|
* The build_and_push.sh script updates VERSION and related macros when
|
|
* creating new releases.
|
|
*/
|
|
|
|
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
// Version information (auto-updated by build_and_push.sh)
|
|
#define VERSION "v0.4.2"
|
|
#define VERSION_MAJOR 0
|
|
#define VERSION_MINOR 4
|
|
#define VERSION_PATCH 2
|
|
|
|
// 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"
|
|
#define LANGUAGE_TAGS ""
|
|
#define RELAY_COUNTRIES ""
|
|
#define POSTING_POLICY ""
|
|
#define PAYMENTS_URL ""
|
|
|
|
#endif /* MAIN_H */
|