94 Commits

Author SHA1 Message Date
Laan Tungir
b51bcb4943 Migrated n_signer verb names to nostr_ prefix 2026-07-20 18:34:00 -04:00
Laan Tungir
af06f23939 Fix NIP-59 dynamic buffer sizing for NIP-17 gift wraps 2026-04-11 15:53:44 -04:00
Laan Tungir
fc337cf921 Implemented cooldown period in relay connection to prevent flapping 2026-04-10 06:13:02 -04:00
Laan Tungir
f478a780d7 Add per-relay EOSE timeout fallback and robust subscription EOSE completion 2026-04-07 07:41:50 -04:00
2e7eacc02e Update README checklist with not-applicable NIP markers and legend 2026-03-22 11:53:37 -04:00
ec8eb5555b Implement and validate NIP-03 live OpenTimestamps flow with HTTP/base64 fixes 2026-03-22 11:50:19 -04:00
Your Name
a3a68f0fde added blossom client functionality. Unified curl 2026-03-21 20:40:25 -04:00
Your Name
2fe36acde4 cashu token fixed 2026-03-21 09:14:02 -04:00
f470759b96 Fix cashuB byte-string token encoding and add live testnut redeem-regenerate cashuB integration coverage 2026-03-21 07:59:49 -04:00
fb3c9dbc76 Fix NUT-00 hash_to_curve domain separator and expand live NIP-60 swap roundtrip diagnostics/tests 2026-03-20 19:18:25 -04:00
303013a518 Fix Cashu hash_to_curve to NUT-00 spec and align live helper for send-proof compatibility 2026-03-20 15:30:09 -04:00
f7e179dd85 Confirm live testnut-based outbound token generation test run and documentation update 2026-03-20 11:26:07 -04:00
a3f7a1bbfd Add cashu_encode_token with cashuA/cashuB formats and live encode-decode validation 2026-03-20 10:59:13 -04:00
a595747aff Add Cashu keyset endpoints support and per-amount unblinding with live checkstate validation 2026-03-20 10:32:43 -04:00
39ebfcd90a Add live NIP-60 Cashu receive integration test using nofee.testnut mint 2026-03-20 10:23:21 -04:00
Your Name
63972d974d Preserve Cashu mint error JSON on non-2xx responses for downstream diagnostics 2026-03-20 09:48:03 -04:00
Your Name
13fd364ca3 Add Cashu blinding helpers and secp256k1 point ops 2026-03-19 18:45:17 -04:00
Your Name
cb4ff93906 Add Cashu token decode support for cashuA and cashuB 2026-03-19 18:19:45 -04:00
Your Name
4d0d794a9a Added cashu functionality. 2026-03-19 14:52:03 -04:00
Your Name
ae672b7047 Added cashu functionality. 2026-03-19 14:32:14 -04:00
Your Name
0a8a813fcf Added cashu functionality. 2026-03-19 14:30:44 -04:00
Your Name
ea40aec6b8 Added cashu functionality. 2026-03-19 14:25:53 -04:00
98cfd81b01 Release v0.5.0 2026-03-19 09:13:59 -04:00
d8d3f9b28c just want to increment 2026-03-19 09:09:59 -04:00
669793dd67 just want to increment 2026-03-19 09:09:46 -04:00
e21c8eb5be nip60 2026-03-19 09:01:11 -04:00
Your Name
20006df228 fix relay pool sync query repeat behavior and add regression test 2026-03-16 05:27:23 -04:00
Your Name
adc7aa9dcf Delegate nostr_core_lib logging via callback and integrate single-file didactyl logging 2026-03-13 13:57:20 -04:00
Your Name
1a549afa19 Various changes 2026-03-05 15:18:44 -04:00
Your Name
6ee62e6575 Add relay state transition cause capture in poll loop 2026-03-05 15:18:13 -04:00
Your Name
5afe802e8f Fix oversized ws frame handling and increase receive buffers 2026-03-05 14:42:14 -04:00
Your Name
e77973aea0 query_sync: forward non-matching relay messages to pool dispatch 2026-03-05 14:07:11 -04:00
Your Name
ea84795911 relay_pool: skip reconnect attempts in publish_async 2026-03-05 11:01:21 -04:00
Your Name
481bf3158d Add socket recv/send timeouts after connect to prevent websocket poll hangs on half-broken connections 2026-03-05 10:39:51 -04:00
23e68bdc83 Add NIP-42 auth support to relay pool with verbose auth diagnostics test and docs updates 2026-03-01 08:49:55 -04:00
4dc753cdcc Implement NIP-46 remote signing API, tests/example, build integration, and refresh README docs 2026-02-28 09:53:35 -04:00
Your Name
64b7c7ec33 Fix SSL_pending busy-wait causing 100% CPU usage
The tls_recv() function was skipping the select() call when SSL_pending()
returned non-zero, causing a tight busy-wait loop. This fix ensures select()
is always called, using a zero timeout when SSL has buffered data to return
immediately, or the full timeout to properly block when waiting for new data.

This prevents the relay client from consuming 100% CPU while maintaining
the WebSocket connection.
2026-02-03 14:16:00 -04:00
f3068f82f3 Rollback of nip44 changes, and added ability to modify timestamps in giftwraps. 2025-10-27 13:16:06 -04:00
Your Name
a8dc2ed046 Add configurable timestamp randomization for NIP-59 gift wraps 2025-10-27 12:57:25 -04:00
9a3965243c Revert NIP-44 to spec compliance (65535 bytes), keep NIP-04 at 1MB 2025-10-27 12:51:50 -04:00
23c2a58c2b Upgrade nip4 and nip44 to be able to handle 1MB payloads. 2025-10-24 18:56:30 -04:00
45fb6d061d Adding async publish to relay pool 2025-10-09 09:19:11 -04:00
c0784fc890 added nip 17 2025-10-04 18:32:28 -04:00
499accf440 Implement NIP-21: nostr: URI scheme with full support for note, nprofile, nevent, and naddr URIs including TLV encoding/decoding and comprehensive test suite 2025-10-03 06:10:56 -04:00
6b95ad37c5 nip 17, and 59 2025-10-03 04:25:10 -04:00
54a6044083 Add enhanced subscription functionality with EOSE result modes 2025-10-02 15:00:50 -04:00
0f897ab1b3 Getting the relay pool up to speed 2025-10-02 11:51:41 -04:00
0d910ca181 Updated synchronous relay queries to handle nip42. 2025-09-30 12:16:23 -04:00
9a63550863 Merge branch 'master' of ssh://git.laantungir.net:222/laantungir/nostr_core_lib
Working on Ginxsom auth and NIP 42 on a different computer at the same
time. My bad.
2025-09-07 13:07:02 -04:00
eb7a9e6098 Add NIP-42 implementation and local updates
- Added NIP-42 authentication implementation (nip042.c, nip042.h)
- Added NIP-42 test suite (nip42_test.c, nip42_test)
- Updated common core files for NIP-42 support
- Updated build script
- Rebuilt test binaries
2025-09-07 13:04:53 -04:00