19 Commits
Author SHA1 Message Date
zeekayandHanzo Dev 039295315c Go 1.27.1, and the code it can say more simply
Modules declare go 1.27.1 and the build images follow. go fix applied the
modernizers, typed atomics for the byte cache counters among them;
omitzero is not applied, since it changes what the JSON says.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 19:13:34 -07:00
zeekayandHanzo Dev d90e7473ee Take in the sized LRU that only luxfi/node had
luxfi/node required this module and also carried its own cache package, and
the one file the two did not share was lru_sized_cache.go. It is here now,
with the cachetest helper its test uses.

It reached for utils.Zero, and luxfi/utils reaches constants, which reached
geth, which reaches crypto — a chain no cache should pull in to name the zero
value of a type parameter. The helper is four lines here instead.

lru's TestCacheWithEvictionCallback fails before and after this commit; that
directory is untouched.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-06 00:09:15 -07:00
zeekay 11f88eab72 deps: repair go.sum and take container v0.2.3
go.sum still recorded the resolution from before an earlier deps bump, so the
module did not build for anyone. With it rebuilt, lru's eviction test runs and
fails: the callback it passes to container reached a constructor that dropped
it. container v0.2.3 keeps the callback. Direct requirements are otherwise
unchanged.
2026-08-21 00:22:17 -07:00
zeekay e8889bb53c chore(deps): bump geth v1.20.1 + luxfi deps — stack unification 2026-07-15 11:12:32 -07:00
zeekay 0ac43a3821 go: 1.26.3 → 1.26.4 (security: crypto/x509, mime, net/textproto) 2026-06-06 22:04:31 -07:00
zeekay 4350630e50 deps: bump luxfi/vm v1.2.0, sampler v1.1.0, staking v1.5.0 (relicense)
Picks up the 2026-06-06 relicensing:
- luxfi/vm v1.2.0 → Lux Ecosystem License v1.2 (was Lux Research v1.0).
  License-only retag of the extracted runtime; patent reservation
  preserved for runtime optimization surfaces, royalty-free for
  Descending Chains.
- luxfi/sampler v1.1.0 → BSD-3-Clause (was Lux Research v1.0).
  License restored to match the luxfi/node provenance (originally
  extracted from node/utils/sampler).
- luxfi/staking v1.5.0 → BSD-3-Clause (was Lux Research v1.0).
  License restored to match the luxfi/node provenance.

No code changes in this commit — go.mod/go.sum only.
2026-06-06 19:00:53 -07:00
zeekay 8f51e356b3 deps: luxfi/crypto v1.19.0 2026-05-13 11:59:08 -07:00
zeekay 796a19531f go.mod: bump go directive to 1.26.3 (security advisory) 2026-05-12 21:28:30 -07:00
zeekay 2d458e2683 deps: update go.mod/go.sum 2026-04-19 17:04:10 -07:00
zeekay 2f3865b941 chore: bump Go 1.26.0 → 1.26.1
Fixes 5 stdlib CVEs (html/template, os, net/url, crypto/x509 x2).
2026-03-12 01:07:50 -07:00
zeekay d433339e0c chore: update Go module dependencies 2026-03-03 14:23:56 -08:00
zeekay d52bfbffd1 chore: sync dependencies and format code 2026-02-04 15:44:50 -08:00
zeekay d7ae35c977 chore: sync with node requirements, add bytecache package 2026-01-12 14:44:47 -08:00
zeekay 8c43f5b82c feat: add LRU and DualMapCache types, update to metric v1.4.10 2026-01-09 00:38:55 -08:00
zeekay 6094bb5be9 chore(deps): add indirect dependencies
Add klauspost/compress and kr/text as indirect deps
2026-01-05 11:04:42 -08:00
zeekay 9b53acd1b5 chore: update go.mod 2025-12-31 22:21:31 -08:00
zeekay 84b0655502 chore: update Go version to 1.25.5 2025-12-20 21:44:42 -08:00
zeekay f225c58999 Add SizedCache and use linked hashmap for LRU
Updates Cache to use linked.Hashmap from utils package for improved
performance. Adds SizedCache for byte-size bounded caching.
2025-12-19 08:44:07 -08:00
zeekay db55166d12 Initial release 2025-12-04 08:38:33 -08:00