upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/config.h')
-rw-r--r--main/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/config.h b/main/config.h
index fa4d95c..1e580e9 100644
--- a/main/config.h
+++ b/main/config.h
@@ -13,6 +13,7 @@
13#define TOLLGATE_MAX_AP_SSID_LEN 32 13#define TOLLGATE_MAX_AP_SSID_LEN 32
14#define TOLLGATE_MAX_AP_PASS_LEN 64 14#define TOLLGATE_MAX_AP_PASS_LEN 64
15#define TOLLGATE_MAX_RELAYS 4 15#define TOLLGATE_MAX_RELAYS 4
16#define TOLLGATE_MAX_SEED_RELAYS 8
16 17
17typedef struct { 18typedef struct {
18 char ssid[32]; 19 char ssid[32];
@@ -63,6 +64,11 @@ typedef struct {
63 64
64 bool cvm_enabled; 65 bool cvm_enabled;
65 char cvm_relays[256]; 66 char cvm_relays[256];
67
68 char nostr_seed_relays[TOLLGATE_MAX_SEED_RELAYS][128];
69 int nostr_seed_relay_count;
70 int nostr_sync_interval_s;
71 int nostr_fallback_sync_interval_s;
66} tollgate_config_t; 72} tollgate_config_t;
67 73
68void tollgate_config_derive_unique(tollgate_config_t *cfg); 74void tollgate_config_derive_unique(tollgate_config_t *cfg);