[EOSIO/eos] Gh#2769 keosd (#2820)

Resolves #2769

– Added default 15 minute timeout for locking the wallet
– Added error for attempting to unlock an already unlocked wallet
You can view, comment on, or merge this pull request online at:

https://github.com/EOSIO/eos/pull/2820

— Commit Summary —

* Add wallet_unlocked_exception
* Add default 15 minute timeout
* Unlock of unlocked wallet now throws
* timeout_time already included timeout

— File Changes —

M libraries/chain/include/eosio/chain/exceptions.hpp (2)
M plugins/wallet_plugin/include/eosio/wallet_plugin/wallet_manager.hpp (2)
M plugins/wallet_plugin/wallet_manager.cpp (3)
M plugins/wallet_plugin/wallet_plugin.cpp (8)
M tests/wallet_tests.cpp (2)

— Patch Links —

https://github.com/EOSIO/eos/pull/2820.patch
https://github.com/EOSIO/eos/pull/2820.diff

This post was last modified on May 7, 2018, 6:40 pm