github.com/decred/dcrlnd@v0.7.6/macaroons/security_test.go (about)

     1  package macaroons
     2  
     3  func init() {
     4  	// Below are the reduced scrypt parameters that are used when creating
     5  	// the encryption key for the macaroon database with snacl.NewSecretKey.
     6  	// We use very low values for our itest/rpctest to speed things up.
     7  	scryptN = 2
     8  	scryptR = 1
     9  	scryptP = 1
    10  }