aboutsummaryrefslogtreecommitdiff
path: root/src/nostr_service.cpp
AgeCommit message (Collapse)Author
2024-07-10return future from queryRelaysLibravatar Daniel Wigton
2024-07-06emptyLibravatar Daniel Wigton
2024-07-02deduplicate events in queryRelaysLibravatar Daniel Wigton
2024-06-04remove trailing whitespace and unimplemented closeSubscriptions() functionLibravatar Finrod Felagund
2024-05-07Remove 'RelayList' type aliasLibravatar buttercat1791
2024-05-07Update and test methods for closing subscriptionsLibravatar buttercat1791
2024-05-06Test closing subscriptionsLibravatar buttercat1791
2024-05-05Close relays after batch query and update unit testLibravatar buttercat1791
2024-05-03Add unit test for queryRelays with callbacksLibravatar Michael Jurkoic
2024-04-30Ensure first queryRelay unit test passesLibravatar Michael Jurkoic
2024-04-28Configure for Linux buildsLibravatar Michael Jurkoic
- Use vcpkg for most dependency management. - Manually include uuid_v4. - Update README with prerequisites and build instructions. - Support subproject and standalone builds.
2024-04-16use namespaces instead of using specific variablesLibravatar Finrod Felagund
2024-04-16use uuid_v4 to generate faster UUIDs than BoostLibravatar Finrod Felagund
2024-04-14Take send out of try-catchLibravatar Michael Jurkoic
The client::IWebSocketClient::send method should catch errors and return false if anything goes wrong.
2024-04-14Refine error handling on wss sendLibravatar Michael Jurkoic
2024-04-14Improve error handling around JSON parsingLibravatar Michael Jurkoic
2024-04-11Update existing unit tests for recent code changesLibravatar Michael Jurkoic
All preexisting unit tests now pass and test for the correct behavior.
2024-04-10Handle relay response messagesLibravatar Michael Jurkoic
These changes do not yet have unit tests.
2024-04-07Remove default event handlingLibravatar Michael Jurkoic
Caching events and fetching them in batches is out of scope for NostrService. In the future, an additional service should be added to the library that handles local event caching and provides some default handlers for incoming messages from relays.
2024-03-30Add a unit test for NostrService::QueryRelaysLibravatar Michael Jurkoic
2024-03-25Use shared pointers for filters and eventsLibravatar Michael Jurkoic
2024-03-25Replace Event::deserialize with static methodsLibravatar Michael Jurkoic
2024-03-23Get smarter with pointers so tests passLibravatar Michael Jurkoic
2024-03-19Move relay payload parsing into NostrServiceLibravatar Michael Jurkoic
Preserve separation of concerns.
2024-03-18Declare a signer interfaceLibravatar Michael Jurkoic
2024-03-18Use smart pointersLibravatar Michael Jurkoic
2024-03-18Provide option to store events for async retrievalLibravatar Michael Jurkoic
2024-03-17Begin defining relay message handlingLibravatar Michael Jurkoic
2024-03-17Provide methods to close all open subscriptionsLibravatar Michael Jurkoic
2024-03-17Add service methods to close filter subscriptionsLibravatar Michael Jurkoic
2024-03-17Open relay subscriptions for a filter requestLibravatar Michael Jurkoic
2024-03-12Pass references into lambdaLibravatar Michael Jurkoic
Unit tests for event publishing currently fail due to event validation. A signer will need to be implemented before tests pass.
2024-03-03Create Nostr Service and Add Write Capabilities (#1)v0.0.1Libravatar Michael J