mleku
fd866c21b2
refactor(database): optimize serial querying and add utils imports
- pkg/encoders/event/codectester/divider/main.go
- Added missing import for `orly.dev/pkg/utils`.
- pkg/crypto/encryption/nip44.go
- Imported `orly.dev/pkg/utils`.
- pkg/crypto/ec/musig2/sign.go
- Introduced `orly.dev/pkg/utils` import.
- pkg/crypto/keys/keys.go
- Included `orly.dev/pkg/utils`.
- pkg/database/query-for-serials.go
- Updated `QueryForSerials` to use `GetFullIdPubkeyBySerials` for batch retrieval.
- Removed unnecessary `sort` package import.
- Replaced outdated logic for serial resolution.
- pkg/database/get-fullidpubkey-by-serials.go
- Added new implementation for `GetFullIdPubkeyBySerials` for efficient batch serial lookups.
- pkg/database/get-serial-by-id.go
- Added placeholder for alternative serial lookup method.
- pkg/database/database.go
- Enabled `opts.Compression = options.None` in database configuration.
- pkg/database/save-event.go
- Replaced loop-based full ID lookup with `GetFullIdPubkeyBySerials` for efficiency.
- pkg/database/get-serials-by-range.go
- Added missing `sort.Slice` to enforce ascending order for serials.
- pkg/crypto/ec/taproot/taproot.go
- Imported `orly.dev/pkg/utils`.
- pkg/crypto/ec/musig2/keys.go
- Added `orly.dev/pkg/utils` import.
- pkg/database/get-fullidpubkey-by-serial.go
- Removed legacy `GetFullIdPubkeyBySerials` implementation.
- pkg/database/query-for-ids.go
- Refactored `QueryForIds` to use batched lookups via `GetFullIdPubkeyBySerials`.
- Consolidated batch result deduplication logic.
- Simplified code by removing redundant steps and checks.
2025-08-17 17:12:24 +01:00
..
2025-08-17 15:24:38 +01:00
2025-08-17 17:12:24 +01:00
2025-08-15 15:50:31 +01:00
2025-08-17 15:24:38 +01:00
2025-08-02 11:43:33 +01:00
2025-07-27 11:46:04 +01:00
2025-08-17 15:24:38 +01:00
2025-08-15 22:27:16 +01:00
2025-08-17 17:12:24 +01:00
2025-08-17 17:12:24 +01:00
2025-08-17 15:24:38 +01:00
2025-08-15 15:50:31 +01:00
2025-08-17 15:24:38 +01:00
2025-08-08 07:47:46 +01:00
2025-08-02 11:43:33 +01:00
2025-08-17 17:12:24 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 17:12:24 +01:00
2025-08-02 11:43:33 +01:00
2025-07-17 13:18:55 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 17:12:24 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 15:24:38 +01:00
2025-08-17 17:12:24 +01:00
2025-08-17 15:24:38 +01:00
2025-08-15 15:56:10 -04:00
2025-08-17 17:12:24 +01:00