- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewTTL (0.06 sec)
-
pkg/ledger/smt.go
// duration for old nodes. func newSMT(hash func(data ...[]byte) []byte, updateCache cache.ExpiringCache, retentionDuration time.Duration) *smt { if updateCache == nil { updateCache = cache.NewTTL(forever, time.Second) } s := &smt{ hash: hash, trieHeight: len(hash([]byte("height"))) * 8, // hash any string to get output length retentionDuration: retentionDuration, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 14K bytes - Viewed (0)