# Timmy Foundation Nostr Relay Configuration
# Sovereign infrastructure for Local Timmy communication

# Database directory
db = "./data/strfry-db"

# HTTP server configuration
server {
    bind = "0.0.0.0"
    port = 7777
    threads = 4
    maxConnections = 1000
    maxReqSize = 65536
    compression = true
}

# Relay information (NIP-11)
relay {
    name = "Timmy Foundation Sovereign Relay"
    description = "Sovereign Nostr relay for Local Timmy. Offline-first, owned infrastructure."
    url = "ws://167.99.126.228:3334"
    pubkey = "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
    contact = "npub1timmyfoundation"
    software = "strfry"
    version = "1.0.0"
    icon = ""
}

# Event filtering
filter {
    maxEventSize = 65536
    maxNumTags = 100
    maxTagValSize = 1024
    maxFilterSize = 65536
    maxSubsPerClient = 10
    maxFiltersPerSub = 5
    limit = 5000
}

# Event storage
events {
    maxSize = 0
    maxAge = 0
    minPow = 0
}

# Logging
logging {
    level = "info"
}
