From 85c8ce9ac2de283abf2771eaba345e9547cbfc2d Mon Sep 17 00:00:00 2001 From: PBSA Github Manager Date: Fri, 26 May 2017 22:01:35 -0300 Subject: [PATCH] Add get_private_key_from_password from steem commit --- libraries/wallet/include/graphene/wallet/wallet.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/wallet/include/graphene/wallet/wallet.hpp b/libraries/wallet/include/graphene/wallet/wallet.hpp index a40f38d4..78669eb9 100644 --- a/libraries/wallet/include/graphene/wallet/wallet.hpp +++ b/libraries/wallet/include/graphene/wallet/wallet.hpp @@ -579,6 +579,11 @@ class wallet_api * @returns a suggested brain_key */ brain_key_info suggest_brain_key()const; + + /** + * @param role - active | owner | memo + */ + pair get_private_key_from_password( string account, string role, string password )const; /** Converts a signed_transaction in JSON form to its binary representation. * @@ -1656,6 +1661,7 @@ FC_API( graphene::wallet::wallet_api, (import_account_keys) (import_balance) (suggest_brain_key) + (get_private_key_from_password) (register_account) (upgrade_account) (create_account_with_brain_key)