Commit Graph
84 Commits
Author SHA1 Message Date
laantungir b512be79ab Fix Cashu hash_to_curve to NUT-00 spec and align live helper for send-proof compatibility v0.5.9 2026-03-20 15:30:09 -04:00
laantungir 5760a3a7d0 Confirm live testnut-based outbound token generation test run and documentation update v0.5.8 2026-03-20 11:26:07 -04:00
laantungir 2b80abc3ae Add cashu_encode_token with cashuA/cashuB formats and live encode-decode validation v0.5.7 2026-03-20 10:59:13 -04:00
laantungir c81db98e3f Add Cashu keyset endpoints support and per-amount unblinding with live checkstate validation v0.5.6 2026-03-20 10:32:43 -04:00
laantungir afe3e4787f Add live NIP-60 Cashu receive integration test using nofee.testnut mint v0.5.5 2026-03-20 10:23:21 -04:00
Your Name e3b9248004 Preserve Cashu mint error JSON on non-2xx responses for downstream diagnostics 2026-03-20 09:48:03 -04:00
Your Name fcb5abdccf Add Cashu blinding helpers and secp256k1 point ops 2026-03-19 18:45:17 -04:00
Your Name 92d5927392 Add Cashu token decode support for cashuA and cashuB 2026-03-19 18:19:45 -04:00
Your Name 6c6bcba650 Added cashu functionality. v0.5.4 2026-03-19 14:52:03 -04:00
Your Name 7aea4b07df Added cashu functionality. v0.5.3 2026-03-19 14:32:14 -04:00
Your Name 84257b2f58 Added cashu functionality. v0.5.2 2026-03-19 14:30:44 -04:00
Your Name af4f7cace9 Added cashu functionality. v0.5.1 2026-03-19 14:25:53 -04:00
laantungir 363b7e9adf Release v0.5.0 v0.5.0 2026-03-19 09:13:59 -04:00
laantungir 3186c2ead6 just want to increment 2026-03-19 09:09:59 -04:00
laantungir f07433578a just want to increment 2026-03-19 09:09:46 -04:00
laantungir d264d9f5ed nip60 2026-03-19 09:01:11 -04:00
Your Name 98094cac86 fix relay pool sync query repeat behavior and add regression test 2026-03-16 05:27:23 -04:00
Your Name 79d98587d3 Delegate nostr_core_lib logging via callback and integrate single-file didactyl logging v0.4.13 2026-03-13 13:57:20 -04:00
Your Name 81814e8518 Various changes v0.4.12 2026-03-05 15:18:44 -04:00
Your Name 784cfc09c3 Add relay state transition cause capture in poll loop 2026-03-05 15:18:13 -04:00
Your Name c87f8db6d8 Fix oversized ws frame handling and increase receive buffers 2026-03-05 14:42:14 -04:00
Your Name c871c40219 query_sync: forward non-matching relay messages to pool dispatch 2026-03-05 14:07:11 -04:00
Your Name 2b3113dafc relay_pool: skip reconnect attempts in publish_async 2026-03-05 11:01:21 -04:00
Your Name 5c51ab1f9f Add socket recv/send timeouts after connect to prevent websocket poll hangs on half-broken connections v0.4.11 2026-03-05 10:39:51 -04:00
laantungir df50ca1273 Add NIP-42 auth support to relay pool with verbose auth diagnostics test and docs updates v0.4.10 2026-03-01 08:49:55 -04:00
laantungir 2ce2ecbbfb Implement NIP-46 remote signing API, tests/example, build integration, and refresh README docs 2026-02-28 09:53:35 -04:00
Your Name 57ecbf0c11 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
laantungir e87d7364ff Rollback of nip44 changes, and added ability to modify timestamps in giftwraps. v0.4.8 2025-10-27 13:16:06 -04:00
Your Name 0b2cca6549 Add configurable timestamp randomization for NIP-59 gift wraps 2025-10-27 12:57:25 -04:00
laantungir fca1a8077d Revert NIP-44 to spec compliance (65535 bytes), keep NIP-04 at 1MB 2025-10-27 12:51:50 -04:00
laantungir 2c128a6295 Upgrade nip4 and nip44 to be able to handle 1MB payloads. v0.4.7 2025-10-24 18:56:30 -04:00
laantungir 24903b8c90 Adding async publish to relay pool 2025-10-09 09:19:11 -04:00
laantungir c6896eebb4 added nip 17 v0.4.6 2025-10-04 18:32:28 -04:00
laantungir 4e06d8f723 Implement NIP-21: nostr: URI scheme with full support for note, nprofile, nevent, and naddr URIs including TLV encoding/decoding and comprehensive test suite v0.4.5 2025-10-03 06:10:56 -04:00
laantungir d7a8aa1dc4 nip 17, and 59 v0.4.4 2025-10-03 04:25:10 -04:00
laantungir cdeb569a16 Add enhanced subscription functionality with EOSE result modes v0.4.3 2025-10-02 15:00:50 -04:00
laantungir 2224448d12 Getting the relay pool up to speed 2025-10-02 11:51:41 -04:00
laantungir 9bf74e76ce Updated synchronous relay queries to handle nip42. v0.2.6 2025-09-30 12:16:23 -04:00
laantungir d52ac9c106 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.
v0.2.5
2025-09-07 13:07:02 -04:00
laantungir e087a17eb9 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
Your Name d7e43328bb Add unified request validation system with authentication rules
- Add request_validator.h/c with comprehensive authentication system
- Implement pluggable database backend interface (SQLite default)
- Add priority-based rule evaluation engine with caching
- Support pubkey whitelist/blacklist, hash blacklist, MIME restrictions
- Add new authentication error codes to nostr_common.h
- Include request_validator.h in nostr_core.h
- Update build.sh to compile request_validator.c
- Designed for shared use between ginxsom and c-relay projects
2025-09-07 09:44:38 -04:00
laantungir 0af77dffab nip13 validation added 2025-09-05 13:42:03 -04:00
laantungir 0f72d7433a readme.md v0.2.4 2025-09-03 15:16:08 -04:00
laantungir 2f3140d4f6 remove exposed .h crypto headers 2025-09-02 12:36:52 -04:00
laantungir 31947d12b7 Streaming sha256 v0.2.3 2025-08-19 11:24:48 -04:00
laantungir 9e9fcba96c version v0.2.2 2025-08-19 07:02:42 -04:00
laantungir 4a096ff35f Nostr note validation added to nip01 v0.2.1 2025-08-19 06:59:04 -04:00
laantungir 64aee10a21 clean up v0.2.0 2025-08-17 14:14:52 -04:00
laantungir a9a1aff682 Fixed bug in nip44.c, was an error in ecdh_shared_secret. Added comments 2025-08-17 11:29:07 -04:00
laantungir a4fbba027e Fixed error in nip04 implementation. Now working 2025-08-17 10:42:38 -04:00