-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc save command causes wallet timeout #50
Comments
The daemon should indeed respond as soon as the request is accepted, a not after the blockchain storage is completed. This method was implemented when the blockchain storage took less than 2 secs. |
Storing the blockchain should not overwrite the whole file, but should append to it (like in a DB, as @Neozaru mentioned above). Thus, even automatic async savestates could be allowed each 'n' blocks/minutes (with a new command-line argument --autosave [arg]). |
Fixed in rpcwallet, although a more thorough fix will be with the move to BlockchainDB |
…plate core: cache block template where possible /monero#4146
Currently the RPC save blockchain command communicates to the daemon and waits for a response; however, because blockchain storage at the daemon takes a long time, the wallet always timesout waiting for the RPC to respond and freezes the wallet.
Proper wallet behaviour for save blockchain functionality should prevent the wallet from timing out while it waits for the daemon to complete saving the blockchain.
The text was updated successfully, but these errors were encountered: