Add BTS1 key import format
This commit is contained in:
parent
c4fa9de1f8
commit
590f10a382
1 changed files with 16 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue