mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 22:22:36 +02:00
macaroons: use fast scrypt options in itest and unit tests
This commit is contained in:
13
macaroons/security.go
Normal file
13
macaroons/security.go
Normal file
@ -0,0 +1,13 @@
|
||||
// +build !rpctest
|
||||
|
||||
package macaroons
|
||||
|
||||
import "github.com/btcsuite/btcwallet/snacl"
|
||||
|
||||
var (
|
||||
// Below are the default scrypt parameters that are used when creating
|
||||
// the encryption key for the macaroon database with snacl.NewSecretKey.
|
||||
scryptN = snacl.DefaultN
|
||||
scryptR = snacl.DefaultR
|
||||
scryptP = snacl.DefaultP
|
||||
)
|
Reference in New Issue
Block a user