mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
Support macaroons and TLS && Add arkd wallet cmds (#232)
* Update protos * Update handlers * Support macaroons and TLS * Add arkd cli * Minor fixes * Update deps * Fixes * Update makefile * Fixes * Fix * Fix * Fix * Remove trusted onboarding from client * Completely remove trusted onboarding * Fix compose files and add --no-macaroon flag to arkd cli * Lint * Remove e2e for trusted onboarding * Add sleep time
This commit is contained in:
committed by
GitHub
parent
059e837794
commit
57ce08f239
14
server/pkg/macaroons/security_integration.go
Normal file
14
server/pkg/macaroons/security_integration.go
Normal file
@@ -0,0 +1,14 @@
|
||||
//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
|
||||
}
|
||||
Reference in New Issue
Block a user