github.com/koko1123/flow-go-1@v0.29.6/state/protocol/badger/config.go (about) 1 package badger 2 3 import ( 4 "github.com/koko1123/flow-go-1/model/flow" 5 ) 6 7 type Config struct { 8 transactionExpiry uint64 // how many blocks after the reference block a transaction expires 9 } 10 11 func DefaultConfig() Config { 12 return Config{ 13 transactionExpiry: flow.DefaultTransactionExpiry, 14 } 15 }