mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-18 13:51:53 +01:00
78 lines
1.5 KiB
JSON
78 lines
1.5 KiB
JSON
{
|
|
"info": {
|
|
"relay_url": "wss://nostr-ts-relay.your-domain.com",
|
|
"name": "nostr-ts-relay.your-domain.com",
|
|
"description": "A nostr relay written in Typescript.",
|
|
"pubkey": "replace-with-your-pubkey",
|
|
"contact": "operator@your-domain.com"
|
|
},
|
|
"limits": {
|
|
"event": {
|
|
"eventId": {
|
|
"minLeadingZeroBits": 0
|
|
},
|
|
"kind": {
|
|
"whitelist": [],
|
|
"blacklist": []
|
|
},
|
|
"pubkey": {
|
|
"minLeadingZeroBits": 0,
|
|
"whitelist": [],
|
|
"blacklist": []
|
|
},
|
|
"createdAt": {
|
|
"maxPositiveDelta": 900,
|
|
"maxNegativeDelta": 0
|
|
},
|
|
"content": {
|
|
"maxLength": 1048576
|
|
},
|
|
"rateLimits": [
|
|
{
|
|
"kinds": [[0, 5], 7, [40, 49], [10000, 19999], [30000, 39999]],
|
|
"period": 60000,
|
|
"rate": 60
|
|
},
|
|
{
|
|
"kinds": [[20000, 29999]],
|
|
"period": 60000,
|
|
"rate": 600
|
|
},
|
|
{
|
|
"period": 3600000,
|
|
"rate": 3600
|
|
},
|
|
{
|
|
"period": 86400000,
|
|
"rate": 86400
|
|
}
|
|
]
|
|
},
|
|
"client": {
|
|
"subscription": {
|
|
"maxSubscriptions": 10,
|
|
"maxFilters": 10
|
|
}
|
|
},
|
|
"message": {
|
|
"rateLimits": [
|
|
{
|
|
"period": 60000,
|
|
"rate": 600
|
|
},
|
|
{
|
|
"period": 3600000,
|
|
"rate": 3600
|
|
},
|
|
{
|
|
"period": 86400000,
|
|
"rate": 86400
|
|
}
|
|
],
|
|
"ipWhitelist": [
|
|
"::1",
|
|
"::ffff:10.10.10.1"
|
|
]
|
|
}
|
|
}
|
|
} |