Skip to content

Commit b9d0298

Browse files
committed
chore: minor configuration change
1 parent c52b330 commit b9d0298

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

.nostr.local/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"paymentProcessors": {
3939
"zebedee": {
4040
"baseURL": "https://api.zebedee.io/",
41-
"callbackBaseURL": "https://nostream.localtest.me/callbacks/zebedee"
41+
"callbackBaseURL": "https://denostr.localtest.me/callbacks/zebedee"
4242
}
4343
},
4444
"workers": {

CONFIGURATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following environment variables can be set:
3030

3131
# Settings
3232

33-
Running `nostream` for the first time creates the settings file in `<project_root>/.nostr/settings.yaml`. If the file is not created and an error is thrown ensure that the `<project_root>/.nostr` folder exists. The configuration directory
33+
Running `denostr` for the first time creates the settings file in `<project_root>/.nostr/settings.yaml`. If the file is not created and an error is thrown ensure that the `<project_root>/.nostr` folder exists. The configuration directory
3434
can be changed by setting the `NOSTR_CONFIG_DIR` environment variable.
3535

3636
| Name | Description |
@@ -44,7 +44,7 @@ can be changed by setting the `NOSTR_CONFIG_DIR` environment variable.
4444
| network.remoteIpHeader | HTTP header from proxy containing IP address from client. |
4545
| mirroring.static[].address | Address of mirrored relay. (e.g. ws://100.100.100.100:8008) |
4646
| mirroring.static[].filters | Subscription filters used to mirror. |
47-
| mirroring.static[].secret | Secret to pass to relays. Nostream relays only. Optional. |
47+
| mirroring.static[].secret | Secret to pass to relays. Denostr relays only. Optional. |
4848
| workers.count | Number of workers to spin up to handle incoming connections. |
4949
| | Spin workers as many CPUs are available when set to zero. Defaults to zero. |
5050
| limits.event.eventId.minLeadingZeroBits | Leading zero bits required on every incoming event for proof of work. |

deployment/maintenance.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ data:
7474
paymentsProcessors:
7575
zebedee:
7676
baseURL: https://api.zebedee.io/
77-
callbackBaseURL: https://nostream.your-domain.com/callbacks/zebedee
77+
callbackBaseURL: https://denostr.your-domain.com/callbacks/zebedee
7878
ipWhitelist:
7979
- "3.225.112.64"
8080
- "::ffff:3.225.112.64"
8181
lnbits:
8282
baseURL: https://lnbits.your-domain.com/
83-
callbackBaseURL: https://nostream.your-domain.com/callbacks/lnbits
83+
callbackBaseURL: https://denostr.your-domain.com/callbacks/lnbits
8484
network:
8585
maxPayloadSize: 524288
8686
# Comment the next line if using CloudFlare proxy

deployment/static-mirroring.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ data:
7474
paymentsProcessors:
7575
zebedee:
7676
baseURL: https://api.zebedee.io/
77-
callbackBaseURL: https://nostream.your-domain.com/callbacks/zebedee
77+
callbackBaseURL: https://denostr.your-domain.com/callbacks/zebedee
7878
ipWhitelist:
7979
- "3.225.112.64"
8080
- "::ffff:3.225.112.64"
8181
lnbits:
8282
baseURL: https://lnbits.your-domain.com/
83-
callbackBaseURL: https://nostream.your-domain.com/callbacks/lnbits
83+
callbackBaseURL: https://denostr.your-domain.com/callbacks/lnbits
8484
network:
8585
maxPayloadSize: 524288
8686
# Comment the next line if using CloudFlare proxy

deployment/worker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ data:
7474
paymentsProcessors:
7575
zebedee:
7676
baseURL: https://api.zebedee.io/
77-
callbackBaseURL: https://nostream.your-domain.com/callbacks/zebedee
77+
callbackBaseURL: https://denostr.your-domain.com/callbacks/zebedee
7878
ipWhitelist:
7979
- "3.225.112.64"
8080
- "::ffff:3.225.112.64"
8181
lnbits:
8282
baseURL: https://lnbits.your-domain.com/
83-
callbackBaseURL: https://nostream.your-domain.com/callbacks/lnbits
83+
callbackBaseURL: https://denostr.your-domain.com/callbacks/lnbits
8484
network:
8585
maxPayloadSize: 524288
8686
# Comment the next line if using CloudFlare proxy

resources/default-settings.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ payments:
2121
paymentsProcessors:
2222
zebedee:
2323
baseURL: https://api.zebedee.io/
24-
callbackBaseURL: https://nostream.your-domain.com/callbacks/zebedee
24+
callbackBaseURL: https://denostr.your-domain.com/callbacks/zebedee
2525
ipWhitelist:
2626
- "3.225.112.64"
2727
- "::ffff:3.225.112.64"
2828
lnbits:
2929
baseURL: https://lnbits.your-domain.com/
30-
callbackBaseURL: https://nostream.your-domain.com/callbacks/lnbits
30+
callbackBaseURL: https://denostr.your-domain.com/callbacks/lnbits
3131
network:
3232
maxPayloadSize: 524288
3333
# Comment the next line if using CloudFlare proxy
@@ -105,14 +105,14 @@ limits:
105105
- 42
106106
period: 60000
107107
rate: 144
108-
- description: 480 events/min for encrypted channel event kinds 104 and 140-142
108+
- description: 1200 events/min for encrypted channel event kinds 104 and 140-142
109109
kinds:
110110
- 104
111111
- 140
112112
- 141
113113
- 142
114114
period: 60000
115-
rate: 480
115+
rate: 1200
116116
- description: 60 events/min for event kind ranges 5-7 and 43-49
117117
kinds:
118118
- - 5
@@ -136,9 +136,9 @@ limits:
136136
- 29999
137137
period: 60000
138138
rate: 120
139-
- description: 2880 events/hour for all events
139+
- description: 4800 events/hour for all events
140140
period: 3600000
141-
rate: 2880
141+
rate: 4800
142142
whitelists:
143143
pubkeys: []
144144
ipAddresses:
@@ -147,13 +147,13 @@ limits:
147147
- "::ffff:10.10.10.1"
148148
client:
149149
subscription:
150-
maxSubscriptions: 10
150+
maxSubscriptions: 20
151151
maxFilters: 10
152152
message:
153153
rateLimits:
154-
- description: 480 raw messages/min
154+
- description: 720 raw messages/min
155155
period: 60000
156-
rate: 480
156+
rate: 720
157157
ipWhitelist:
158158
- "::1"
159159
- "10.10.10.1"

src/factories/payments-processor-factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const createZebedeePaymentsProcessor = (
5757
], settings) as string | undefined
5858
if (
5959
typeof callbackBaseURL === 'undefined' ||
60-
callbackBaseURL.indexOf('nostream.your-domain.com') >= 0
60+
callbackBaseURL.indexOf('denostr.your-domain.com') >= 0
6161
) {
6262
const error = new Error(
6363
'Setting paymentsProcessor.zebedee.callbackBaseURL is not configured.',
@@ -98,7 +98,7 @@ const createLNbitsPaymentProcessor = (
9898
], settings) as string | undefined
9999
if (
100100
typeof callbackBaseURL === 'undefined' ||
101-
callbackBaseURL.indexOf('nostream.your-domain.com') >= 0
101+
callbackBaseURL.indexOf('denostr.your-domain.com') >= 0
102102
) {
103103
const error = new Error(
104104
'Setting paymentsProcessor.lnbits.callbackBaseURL is not configured.',

test/integration/docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
migrations-test:
3838
condition: service_completed_successfully
3939
networks:
40-
- nostream-test
40+
- denostr-test
4141
links:
4242
- db-test
4343
db-test:
@@ -47,7 +47,7 @@ services:
4747
POSTGRES_PASSWORD: postgres
4848
POSTGRES_DB: nostr_ts_relay_test
4949
networks:
50-
- nostream-test
50+
- denostr-test
5151
ports:
5252
- 25432:5432
5353
healthcheck:
@@ -59,7 +59,7 @@ services:
5959
image: redis:7.0.5-alpine3.16
6060
command: redis-server --loglevel warning --requirepass nostr_ts_relay_test
6161
networks:
62-
- nostream-test
62+
- denostr-test
6363
restart: always
6464
healthcheck:
6565
test: [ "CMD", "redis-cli", "ping", "|", "grep", "PONG" ]
@@ -85,9 +85,9 @@ services:
8585
db-test:
8686
condition: service_healthy
8787
networks:
88-
- nostream-test
88+
- denostr-test
8989
links:
9090
- db-test
9191

9292
networks:
93-
nostream-test:
93+
denostr-test:

tor/torrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
HiddenServiceDir /var/lib/tor/nostream
1+
HiddenServiceDir /var/lib/tor/denostr
22
HiddenServicePort 80 10.10.10.2:8008

0 commit comments

Comments
 (0)