Implement relay auth, management, lifecycle and hardening phases

This commit is contained in:
2026-03-13 21:31:34 +01:00
parent 3b66ed1996
commit d24d5885a0
57 changed files with 3383 additions and 257 deletions

View File

@@ -5,6 +5,7 @@ config :parrhesia,
max_frame_bytes: 1_048_576,
max_event_bytes: 262_144,
max_filters_per_req: 16,
max_filter_limit: 500,
max_subscriptions_per_connection: 32,
max_event_future_skew_seconds: 900,
max_outbound_queue: 256,
@@ -15,12 +16,14 @@ config :parrhesia,
auth_required_for_writes: false,
auth_required_for_reads: false,
min_pow_difficulty: 0,
accept_ephemeral_events: true
accept_ephemeral_events: true,
mls_group_event_ttl_seconds: 300,
management_auth_required: true
],
features: [
nip_45_count: true,
nip_50_search: false,
nip_77_negentropy: false,
nip_50_search: true,
nip_77_negentropy: true,
nip_ee_mls: false
],
storage: [

View File

@@ -6,6 +6,8 @@ config :parrhesia, Parrhesia.Web.Endpoint,
port: 0,
ip: {127, 0, 0, 1}
config :parrhesia, enable_expiration_worker: false
pg_host = System.get_env("PGHOST")
repo_host_opts =