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