set-wallet-run-config.rst (642B)
1 .. ts:op:: setWalletRunConfig 2 3 Change the configuration of wallet-core. 4 5 **Request:** 6 7 The request must be an `InitRequest` object. 8 9 **Response:** 10 11 On success, the result is an `InitResponse` object. 12 13 **Side effects:** 14 15 Re-initializes the wallet with the new configuration, with the 16 same effects as :ts:op:`initWallet`. 17 18 **Details:** 19 20 This operation is currently an alias for :ts:op:`initWallet`: 21 both operations run the same initialization, so 22 ``setWalletRunConfig`` can also serve as the first request that 23 initializes the wallet. Fields not present in ``config`` are 24 reset to their defaults.