diff --git a/libraries/wallet/include/graphene/wallet/wallet.hpp b/libraries/wallet/include/graphene/wallet/wallet.hpp index 759f2f98..971d9a62 100644 --- a/libraries/wallet/include/graphene/wallet/wallet.hpp +++ b/libraries/wallet/include/graphene/wallet/wallet.hpp @@ -99,6 +99,18 @@ struct wallet_data string ws_password; }; +struct exported_account_keys +{ + string account_name; + vector> encrypted_private_keys; +}; + +struct exported_keys +{ + fc::sha512 password_checksum; + vector 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)