Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newSMT (0.07 sec)

  1. pkg/ledger/smt.go

    // rollover, causing an immediate expiration (ironic, eh?)
    const forever time.Duration = 1<<(63-1) - 1
    
    // newSMT creates a new smt given a keySize, hash function, cache (nil will be defaulted to TTLCache), and retention
    // duration for old nodes.
    func newSMT(hash func(data ...[]byte) []byte, updateCache cache.ExpiringCache, retentionDuration time.Duration) *smt {
    	if updateCache == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top