You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mleku
06063750e7
Add fixed-size type support for IdPkTs and EventRef
- Update nostr dependency to v1.0.11 with new types package
- Add IDFixed(), PubFixed(), IDHex(), PubHex() methods to IdPkTs
- Add EventRef type: 80-byte stack-allocated event reference
- Add ToEventRef()/ToIdPkTs() conversion methods
- Update tests to use IDHex() instead of hex.Enc(r.Id)
EventRef provides:
- Copy-on-assignment semantics (arrays vs slices)
- Zero heap allocations for event reference passing
- Type-safe fixed-size fields (EventID, Pubkey)
Files modified:
- go.mod, go.sum: Update nostr to v1.0.11
- pkg/interfaces/store/store_interface.go: Add methods and EventRef type
- pkg/interfaces/store/store_interface_test.go: New test file
- pkg/database/binary_tag_filter_test.go: Use IDHex()
- pkg/neo4j/fetch-event_test.go: Use IDHex(), PubHex()
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
3 weeks ago |
| .. |
|
acl
|
Adjust ACL behavior for "none" mode and make query cache optional
|
1 month ago |
|
blossom
|
Add serve mode, fix binary tags, document CLI tools, improve Docker
|
2 months ago |
|
database
|
Add fixed-size type support for IdPkTs and EventRef
|
3 weeks ago |
|
find
|
Remove Dgraph, check hex field case, reject if any uppercase
|
1 month ago |
|
interfaces
|
Add fixed-size type support for IdPkTs and EventRef
|
3 weeks ago |
|
mode
|
Adjust ACL behavior for "none" mode and make query cache optional
|
1 month ago |
|
neo4j
|
Add fixed-size type support for IdPkTs and EventRef
|
3 weeks ago |
|
pid
|
Generalize PID controller as reusable library with abstract interfaces
|
1 month ago |
|
policy
|
Add ORLY_POLICY_PATH for custom policy file location
|
4 weeks ago |
|
protocol
|
Fix broken submodule and add import memory optimization plan
|
1 month ago |
|
ratelimit
|
Interim release: documentation updates and rate limiting improvements
|
1 month ago |
|
run
|
Implement PID-controlled adaptive rate limiting for database operations
|
1 month ago |
|
spider
|
add directory spider
|
2 months ago |
|
sync
|
Fix NIP-11 fetch URL scheme conversion for non-proxied relays
|
4 weeks ago |
|
utils
|
migrate to new nostr library
|
2 months ago |
|
version
|
Add unicode normalization for word indexing (v0.36.10)
|
3 weeks ago |
|
wasmdb
|
implement wasm/js specific database engine
|
1 month ago |