chore: add KDF_ITERATIONS var to the makefile
This commit is contained in:
parent
abc570006c
commit
b43dfaa59e
6
Makefile
6
Makefile
|
@ -320,6 +320,12 @@ DEFAULT_TENOR_API_KEY := DU7DWZ27STB2
|
|||
TENOR_API_KEY ?= $(DEFAULT_TENOR_API_KEY)
|
||||
NIM_PARAMS += -d:TENOR_API_KEY:"$(TENOR_API_KEY)"
|
||||
|
||||
# used to override the default number of kdf iterations for sqlcipher
|
||||
KDF_ITERATIONS ?= 0
|
||||
ifeq ($(shell test $(KDF_ITERATIONS) -gt 0; echo $$?),0)
|
||||
NIM_PARAMS += -d:KDF_ITERATIONS:"$(KDF_ITERATIONS)"
|
||||
endif
|
||||
|
||||
NIM_PARAMS += -d:chronicles_sinks=textlines[stdout],textlines[nocolors,dynamic],textlines[file,nocolors] -d:chronicles_runtime_filtering=on -d:chronicles_default_output_device=dynamic
|
||||
|
||||
RESOURCES_LAYOUT := -d:development
|
||||
|
|
|
@ -22,6 +22,7 @@ logScope:
|
|||
const PATHS = @[PATH_WALLET_ROOT, PATH_EIP_1581, PATH_WHISPER, PATH_DEFAULT_WALLET]
|
||||
const ACCOUNT_ALREADY_EXISTS_ERROR = "account already exists"
|
||||
const output_csv {.booldefine.} = false
|
||||
const KDF_ITERATIONS* {.intdefine.} = 256_000
|
||||
|
||||
include utils
|
||||
|
||||
|
|
Loading…
Reference in New Issue