Support restoring an account without restarting havenod [$250]
This issue requests the ability to restore an account without restarting havenod.
Otherwise, the client must have permission to start the havenod process, which does not work with remote of vm setups.
There is a bounty on this issue, the amount is in the title. The reward will be awarded to the first person or group of people who resolves this issue.
If you are starting to work on this bounty, please write a comment, so that we can assign the issue to you. We expect contributors to provide a PR in a reasonable time frame or, in case of an extensive work, updates on their progresses. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task.
Read the full conditions and details of our bounty system.
Hi, I'll give this a try.
I've restructured the code and attempted to restart by running the daemon's execute(args[]) function but there are definitely issues to work through such as the persistence manager assuming its already shutdown. I think this is due to the guice initialized static objects and will need to be re-initialized correctly.
Quick update I was able to issue multiple restarts on a daemon instance and it appears to function. It wasn't guice objects but the PersistenceManager static variables. Resetting them appears to solve the problems. Going to search for any remaining static objects that may cause issues.
@woodser Is this bug/bounty still open? I can see that #320 has probably been abandoned. I am open to reviving it and driving it to completion.
Sure you are welcome to complete it, with the bounty being shared with @duriancrepe if he is available to claim it. The split would be somewhat subjective based on his contribution and yours, but it would be nice to close this one out. Thanks.
@duriancrepe Please message and we can pay this bounty out. Thanks for your work on it.
Closed with:
https://github.com/haveno-dex/haveno/pull/539 https://github.com/haveno-dex/haveno-ts/pull/174