Skip to content
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

Capture Ctrl+C in cli_wallet when not in daemon mode #1193

Closed
6 of 10 tasks
abitmore opened this issue Jul 27, 2018 · 10 comments
Closed
6 of 10 tasks

Capture Ctrl+C in cli_wallet when not in daemon mode #1193

abitmore opened this issue Jul 27, 2018 · 10 comments

Comments

@abitmore
Copy link
Member

abitmore commented Jul 27, 2018

When a cli_wallet process is not running in daemon mode (not stared with--daemon), if Ctrl+C is pressed, it will exit uncleanly, which is dangerous because it may cause loss of unsaved private keys.

IMHO we should save wallet file before shutting down.

By the way, Ctrl+C was the only option for Windows users to exit from cli_wallet. Now we've added a quit command in #1104, so Windows users can exit normally now. Linux and MacOS users can already exit from cli_wallet by pressing Ctrl+D, now they can use the quit command as well.

CORE TEAM TASK LIST

  • Evaluate / Prioritize Feature Request
  • Refine User Stories / Requirements
  • Define Test Cases
  • Design / Develop Solution
    • Assigned: @cogutvalera
    • Estimated: 7 hours
      • Original implementation, merged, reverted: 3 hours (paid Core Team - Weeks 30-31)
      • Bugfix/refactoring: 4 hours (paid Core Team - Weeks 30-31)
  • Perform QA/Testing
  • Update Documentation
@cogutvalera
Copy link
Member

cogutvalera commented Jul 30, 2018

I want to claim this issue, my estimation/approximation for this issue is about 3 hours

@cogutvalera
Copy link
Member

Thanks for assigning this issue to me !

@abitmore
Copy link
Member Author

Fixed by #1207.

@abitmore
Copy link
Member Author

I want to claim this issue, my estimation/approximation for this issue is about 3 hours

Looks good to me. Thanks. Pinging @ryanRfox.

@cogutvalera
Copy link
Member

Thank you very much !

@ryanRfox
Copy link
Contributor

Assigned @cogutvalera and estimated 3 hours.

@cogutvalera
Copy link
Member

Thanks !

abitmore added a commit that referenced this issue Aug 2, 2018
Revert "Capture Ctrl+C in cli_wallet when not in daemon mode #1193"
@pmconrad
Copy link
Contributor

pmconrad commented Aug 2, 2018

Reopened because #1220 reverts the solution. @cogutvalera please close #1218 and provide a new solution for this issue.

cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Aug 3, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Aug 3, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Aug 10, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Sep 28, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Sep 28, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Sep 28, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Oct 19, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Oct 19, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Oct 19, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Oct 19, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Oct 19, 2018
cogutvalera added a commit to cogutvalera/bitshares-core that referenced this issue Oct 19, 2018
pmconrad added a commit that referenced this issue Oct 20, 2018
Capture Ctrl+C in cli_wallet when not in daemon mode #1193
@pmconrad
Copy link
Contributor

Resolved with #1232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants