mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
edba938996
This commit adds a new build tag `integration` and removes the old tag `rpctest` for clarity. Multiple unnecessary usages of `build !rpctest` is also removed.
15 lines
443 B
Go
15 lines
443 B
Go
//go:build integration
|
|
|
|
package macaroons
|
|
|
|
import "github.com/btcsuite/btcwallet/waddrmgr"
|
|
|
|
func init() {
|
|
// Below are the reduced scrypt parameters that are used when creating
|
|
// the encryption key for the macaroon database with snacl.NewSecretKey.
|
|
// We use very low values for our itest/rpctest to speed things up.
|
|
scryptN = waddrmgr.FastScryptOptions.N
|
|
scryptR = waddrmgr.FastScryptOptions.R
|
|
scryptP = waddrmgr.FastScryptOptions.P
|
|
}
|