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

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