576475e3dc
Add countenvelope encoder with marshal/unmarshal support, buffer pool integration, and tests; improve error messages for subscription validation
2025-08-30 16:26:55 +01:00
6c39ea4332
Add reqenvelope package with marshal/unmarshal support and tests, implement GenFilters utility, and improve filter-related methods for robustness
2025-08-30 15:29:09 +01:00
faa527756b
Add eventenvelope codec with support for Submission and Result envelopes, implement EstimateSize, and increase buffer capacity
2025-08-30 14:43:32 +01:00
431f37763d
add NOTICE and OK envelope encoders with marshal/unmarshal support and comprehensive tests
2025-08-30 14:02:33 +01:00
caf9546d1c
add EOSE envelope encoder with marshal/unmarshal support and tests
2025-08-30 13:43:28 +01:00
3867b87b8b
create new tag constructors for more flexibility
2025-08-30 13:34:04 +01:00
acee5e3a90
implement auth, closed and close envelopes
2025-08-30 13:21:06 +01:00
1ba2bb0a9b
implement filter codec
2025-08-26 18:26:34 +01:00
c958a7d9ed
add forked version of encoding/json with html escape disabled
...
- modified all local packages to use this fork
2025-08-23 10:34:22 +01:00
f15db4313b
Add warning about improper JSON encoding with json.Marshal in event.E documentation and emphasize buffer pool usage.
2025-08-23 02:35:15 +01:00
0f7f3017ea
Implement MarshalJSON and UnmarshalJSON for tag.T, update relayinfo marshaling comments, and adjust tests for consistent JSON handling.
2025-08-23 02:26:47 +01:00
ddb4c486cb
Document JSON marshaling issue with escaped characters in MarshalJSON and update tests to prevent improper marshaling.
2025-08-23 02:08:30 +01:00
7d20a51508
Refactor tag encoder to optimize buffer reuse, simplify tag marshaling, and improve event handling; enhance tests with additional coverage and example validation.
2025-08-22 23:26:11 +01:00
225f949540
Refactor event encoder to handle nil tags gracefully and optimize buffer allocation; update tests for improved coverage and data consistency.
2025-08-22 21:47:19 +01:00
bf178eae4e
complete the marshal/unmarshal of events using the new pool enabled tag codecs
2025-08-22 14:29:55 +01:00
8add32bb78
Add relayinfo package and utility modules for NIP-11 support
...
Introduce the `relayinfo` package with `NIP-11` utilities, including `Fees`, `Limits`, and `NIPs` structures. Add utility modules for handling numbers, timestamps, and kinds. Integrate functionality for fetching and managing relay information.
2025-08-21 15:22:17 +01:00
ecaf52b98f
Add core packages, configuration system, and initial application structure
2025-08-21 11:04:03 +01:00
b8db587d7b
initial addition of essential crypto, encoders, workflows and LLM instructions
2025-08-20 05:47:06 +01:00