Add BTS1 key import format

This commit is contained in:
Vikram Rajkumar 2015-07-23 11:57:50 -04:00
parent c4fa9de1f8
commit 590f10a382

View file

@ -99,6 +99,18 @@ struct wallet_data
string ws_password;
};
struct exported_account_keys
{
string account_name;
vector<vector<char>> encrypted_private_keys;
};
struct exported_keys
{
fc::sha512 password_checksum;
vector<exported_account_keys> account_keys;
};
namespace detail {
class wallet_api_impl;
}
@ -1028,6 +1040,10 @@ FC_REFLECT( graphene::wallet::brain_key_info,
(pub_key)
);
FC_REFLECT( graphene::wallet::exported_account_keys, (account_name)(encrypted_private_keys) )
FC_REFLECT( graphene::wallet::exported_keys, (password_checksum)(account_keys) )
FC_API( graphene::wallet::wallet_api,
(help)
(gethelp)