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 |
|
.aiassistant/rules
|
Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience.
|
3 months ago |
|
.claude
|
Clean up local Claude Code settings (v0.36.8)
|
3 weeks ago |
|
.gitea
|
Add issue templates, CI workflows, and decentralization plan
|
4 weeks ago |
|
.github/workflows
|
Add issue templates, CI workflows, and decentralization plan
|
4 weeks ago |
|
.plan
|
initial draft of hot reload policy
|
2 months ago |
|
app
|
Fix fetch-kinds script for Node.js compatibility (v0.36.9)
|
3 weeks ago |
|
cmd
|
bump v0.34.1
|
1 month ago |
|
contrib/stella
|
Add serve mode, fix binary tags, document CLI tools, improve Docker
|
2 months ago |
|
docs
|
Add event template generator with 140+ Nostr event kinds (v0.36.2)
|
4 weeks ago |
|
pkg
|
Add fixed-size type support for IdPkTs and EventRef
|
3 weeks ago |
|
relay-tester
|
Refactor for interface clarity and dependency isolation.
|
1 month ago |
|
scripts
|
Add Neo4j integration tests and query rate-limiting logic
|
1 month ago |
|
.dockerignore
|
Add serve mode, fix binary tags, document CLI tools, improve Docker
|
2 months ago |
|
.gitignore
|
Add Claude Code skills for web frontend frameworks
|
1 month ago |
|
BUG_REPORTS_AND_FEATURE_REQUEST_PROTOCOL.md
|
Add ORLY_POLICY_PATH for custom policy file location
|
4 weeks ago |
|
CLAUDE.md
|
Add secure nsec key generation and encryption for web UI (v0.36.7)
|
4 weeks ago |
|
CONTRIBUTING.md
|
Add issue templates, CI workflows, and decentralization plan
|
4 weeks ago |
|
Dockerfile
|
Add serve mode, fix binary tags, document CLI tools, improve Docker
|
2 months ago |
|
Dockerfile.relay-tester
|
Add serve mode, fix binary tags, document CLI tools, improve Docker
|
2 months ago |
|
INDEX.md
|
Add comprehensive documentation for CLAUDE and Nostr WebSocket skills
|
2 months ago |
|
LICENSE
|
Add initial project structure with README, LICENSE, and .gitignore config
|
5 months ago |
|
README.md
|
Add ORLY_POLICY_PATH for custom policy file location
|
4 weeks ago |
|
conversation.md
|
fix policy to ignore all req/events without auth
|
2 months ago |
|
docker-compose.yml
|
Interim release: documentation updates and rate limiting improvements
|
1 month ago |
|
enable-policy.sh
|
fix silent fail of loading policy with panic, and bogus fallback logic
|
2 months ago |
|
go.mod
|
Add fixed-size type support for IdPkTs and EventRef
|
3 weeks ago |
|
go.sum
|
Add fixed-size type support for IdPkTs and EventRef
|
3 weeks ago |
|
libsecp256k1.so
|
fully test and verify policy script functionality
|
2 months ago |
|
main.go
|
Interim release: documentation updates and rate limiting improvements
|
1 month ago |
|
policyfixes.md
|
fix policy to ignore all req/events without auth
|
2 months ago |