security_test.go
1 package macaroons 2 3 import "github.com/btcsuite/btcwallet/waddrmgr" 4 5 func init() { 6 // Below are the reduced scrypt parameters that are used when creating 7 // the encryption key for the macaroon database with snacl.NewSecretKey. 8 // We use very low values for our itest/rpctest to speed things up. 9 scryptN = waddrmgr.FastScryptOptions.N 10 scryptR = waddrmgr.FastScryptOptions.R 11 scryptP = waddrmgr.FastScryptOptions.P 12 }