Commit Graph

18 Commits

Author SHA1 Message Date
Laan Tungir c569c0c346 Improved POW 2025-08-15 07:47:16 -04:00
Laan Tungir 3d2537603c . 2025-08-14 19:15:55 -04:00
Laan Tungir d6a0bd67b2 . 2025-08-14 18:30:16 -04:00
Laan Tungir 9191d446d3 version 2025-08-14 17:52:45 -04:00
Laan Tungir f1c22bdf53 Add automatic dependency building to Makefile
- Add secp256k1 auto-building rule for x64 target
- Fix customer build errors with missing secp256k1/.libs/libsecp256k1.a
- Force clean rebuild when secp256k1 library is missing
- Customers can now run 'make' directly without manual dependency building
- Maintains existing ARM64 cross-compilation auto-building functionality
2025-08-14 17:43:33 -04:00
Laan Tungir 993ca0f2a1 . 2025-08-14 16:43:46 -04:00
Laan Tungir 77fadc2683 Fix submodule compatibility: Remove version.c dependency and include cjson source files
- Remove nostr_core/version.c from Makefile LIB_SOURCES to fix submodule build failures
- Remove cjson/ from .gitignore and add cjson source files to repository
- Consolidate cJSON.h into cjson/ directory (remove duplicate from nostr_core/)
- Simplify build.sh versioning to only manage git tags and VERSION file
- Update examples/version_test.c to work without version functions
- Consumer projects can now use 'make' directly without missing file errors
2025-08-14 16:40:34 -04:00
Laan Tungir 2637378bf0 clean up versioning 2025-08-14 16:26:37 -04:00
Laan Tungir c109c93382 Initial template structure from nostr_core_lib
- Complete C library template with OpenSSL-based crypto
- Comprehensive build system (Makefile, build.sh)
- Example code and test suite
- Documentation and usage guides
- Cross-platform compatibility (x64/ARM64)
- Production-ready structure for C library projects
2025-08-14 15:10:59 -04:00
Laan Tungir 0ace93e303 Adding in curl and openssl repos 2025-08-14 12:09:30 -04:00
Laan Tungir af2117b574 Complete mbedTLS cleanup - Removed all mbedTLS dependencies and updated documentation
- Moved mbedTLS directories to Trash/ (mbedtls/, mbedtls-install/, mbedtls-arm64-install/)
- Removed obsolete nostr_websocket_mbedtls.c implementation
- Updated nostr_websocket/Makefile to use OpenSSL instead of mbedTLS
- Updated nostr_websocket/README.md with OpenSSL migration notes
- Updated nostr_websocket/EXPORT_GUIDE.md with OpenSSL instructions
- All tests pass: crypto tests, static linking verification
- Build system fully functional with OpenSSL-only dependencies
2025-08-14 11:59:03 -04:00
Laan Tungir 6d7b709f9a Pre-mbedTLS cleanup checkpoint - OpenSSL migration complete, all tests passing 2025-08-14 11:51:26 -04:00
Laan Tungir 5a7c796873 Last commit before switching from mbedtls to openssl 2025-08-14 09:58:24 -04:00
Laan Tungir 3aaa46bb9b cJSON.h added 2025-08-12 21:05:39 -04:00
Laan Tungir d257ae49f1 Fully statically linked for both x64 and arm64. Updated build.sh to always compile both versions 2025-08-11 06:54:50 -04:00
Laan Tungir ae4aa7cf80 added nostr_decode_npub 2025-08-09 11:40:34 -04:00
Laan Tungir e137560d64 . 2025-08-09 11:07:11 -04:00
Laan Tungir ca6b4754f9 First commit on a late git install 2025-08-09 10:23:28 -04:00