aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-23Begin switching to FetchContent for depsLibravatar Michael Jurkoic
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-16fix include sha.hLibravatar Finrod Felagund
2024-04-15Add unit tests for batch queriesLibravatar Michael Jurkoic
Also add an equality operator for nostr::Event
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-18Implement receive method in WebSocket clientLibravatar 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-17Serialize relay query filters into a JSON arrayLibravatar Michael Jurkoic
2024-03-17Send events as arraysLibravatar Michael Jurkoic
2024-03-17Include SHA header for eventsLibravatar Michael Jurkoic
2024-03-13Use SHA256 hashing function for OpenSSL >= 3.0Libravatar Michael Jurkoic
2024-03-12Tweak variable names in Filters::serialize()Libravatar Michael Jurkoic
2024-03-12Generate a valid ID while serializing an eventLibravatar Michael Jurkoic
2024-03-12Add a filters struct for relay queriesLibravatar 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-12Add validation on Event serializationLibravatar Michael Jurkoic
2024-03-12Match event.cpp formatting to rest of projectLibravatar Michael Jurkoic
2024-03-03Create Nostr Service and Add Write Capabilities (#1)v0.0.1Libravatar Michael J