Commit Graph

8 Commits

Author SHA1 Message Date
bndw
a7dbf7c491 refactor(postgres): Unit test SaveEvent
Refactors SaveEvent so it's unit testable and adds tests to
assert the current behavior.
2023-05-18 09:40:45 -03:00
fiatjaf
4e15120111 migrate all built-in storage backends. 2023-05-01 19:41:17 -03:00
Steve Perkins
a82e5edb0d Adds NIP-33 support for replaceable events. 2023-03-31 11:36:54 -03:00
Gustavo Chain
304831f749 move AfterSave method from relay to storage 2023-02-10 10:37:46 -03:00
0x0ff
f2ab8020a8 handle event responses as per NIP-20 2022-12-27 16:44:57 -03:00
fiatjaf
d7aba0b21f fix some dependencies and storage instantiation on example relays. 2022-11-11 09:46:18 -03:00
fiatjaf
b903f72945 never store ephemeral events. 2022-11-03 14:33:18 -03:00
fiatjaf
aa96fa0a21 refactor framework interface, simplify basic and whitelisted, bring expensive on and rewrite it. 2022-07-24 17:41:00 -03:00