mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
07e8f6908d
This commit changes the way how/when the node is started/stopped: 1. `node` is not started on the app startup 2. When the user presses "Sign in" button the node is started with user specific configs (`InstallationID`, custom bootnodes, etc), and only after that `Login` call is performed. 3. When the user creates a new account, at first the node is started with default params (the same as would be used when user signs into the app after account creation whithout changing any setting), then `CreateAccount` call happens, then `Login`. 4. When the user restores their account, the flow is the same as `3` but with `RecoverAccount` instead of `CreateAccount` 5. When the user logs out the node is stopped. That's it.