Ricardo Arturo Cabral Mejía
|
14bc96f516
|
feat: allow lightning zap receipts on paid relays (#303)
* chore: add event_kinds whitelist for fee schedules
* chore: fix identation in default-settings.yml
* chore: waive admission fee for specific event kinds
* docs: add payment settings to CONFIGURATION.md
* docs: improve read replica docs
|
2023-05-12 19:52:29 -04:00 |
|
Ricardo Arturo Cabral Mejía
|
e1561e78fd
|
fix: issues with invoices (#271)
* fix: issues with invoices
* chore: add invoice event tag
* chore: add sub limits
* chore: cleanup invoices page
* chore: use mergeDeepLeft when updating invoice
* chore: ignore whitelisted pubkey for adminssion fee
* chore: use secp256k1 bytesToHex
* fix: insecure derivation from secret
* fix: tests
* chore: consistent returns
* test: fix intg tests
* fix: intg tests
* chore: set SECRET for intg tests
|
2023-04-07 09:48:28 -07:00 |
|
Anton
|
2bbe798760
|
feat: NIP-40 (#148)
* feat: add method for checking if event is expired
* fix: tag length check
* feat: add method for expiration check
* feat: refactor event expiration
* fix: remove stale comment
* fix: remove unused method
* fix: upsert/insert tests
* fix: failing tests
* feat: add tests for event expiration
* feat: update test
* feat: add nip 40 to supportedNips
* chore: add expires_at column to events table
* chore: use uint for expires_at
---------
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
|
2023-02-03 16:10:49 -08:00 |
|
Ricardo Arturo Cabral Mejía
|
45b08d8a21
|
chore: add RELAY_PRIVATE_KEY env var
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
|
2023-02-02 00:19:26 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
f9c53eeeb8
|
feat: massive update
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
|
2023-02-02 00:19:26 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
2618a4d2dc
|
feat: add pay-to-relay
|
2023-02-02 00:19:26 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
09039791f1
|
feat: support db read replicas
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
|
2023-01-25 00:13:01 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
1db3343ef8
|
fix: integration tests
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
|
2023-01-16 01:31:01 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
845dedc451
|
feat: support pubkey/ip whitelisting for event rate limits
|
2022-12-27 13:32:56 -08:00 |
|
Ricardo Arturo Cabral Mejía
|
f425da08b6
|
test: fix tests
|
2022-12-21 01:42:43 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
433b7f8707
|
feat: ignore dupe subscriptions
|
2022-12-21 01:42:43 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
9364412677
|
feat: reject events with long content field
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
|
2022-11-20 10:40:39 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
b36b62520e
|
test: message/event rate limiting
|
2022-11-15 21:17:20 -05:00 |
|
Ricardo Arturo Cabral Mejía
|
7d5188c366
|
test: add parameterized replaceable evts unit test
|
2022-11-10 09:05:14 -05:00 |
|
Ricardo Arturo Cabral Mejia
|
b48843ca2b
|
test: add unit tests for SubscribeMessageHandler
|
2022-11-08 23:52:23 -05:00 |
|
Ricardo Arturo Cabral Mejia
|
f057406fe4
|
test: delegated event message handler
|
2022-11-08 23:52:22 -05:00 |
|
Ricardo Arturo Cabral Mejia
|
46cd022598
|
test: refactor settings
|
2022-11-08 23:52:21 -05:00 |
|
Ricardo Arturo Cabral Mejia
|
70c76e552d
|
test: add event message handler unit tests
|
2022-10-18 23:11:37 -04:00 |
|
Ricardo Arturo Cabral Mejia
|
ac5a9d6788
|
test: add UnsubscribeMessageHandler unit tests
|
2022-10-18 23:11:36 -04:00 |
|
Ricardo Arturo Cabral Mejia
|
8451b14c16
|
test: improve coverage
|
2022-10-18 23:11:33 -04:00 |
|
Ricardo Arturo Cabral Mejia
|
b6c6269328
|
chore: refactor adapters
|
2022-10-18 23:11:32 -04:00 |
|