aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-13 16:24:42 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-17 16:12:41 +0000
commit31a97e761e6b7570efb5e1b58fd744a0edcad953 (patch)
treec38756cf50aa8dab104263aa166caeb35d17bbf1 /src/wallet/wallet_rpc_server_commands_defs.h
parentwallet: add multisig sign/submit RPC (diff)
downloadmonero-31a97e761e6b7570efb5e1b58fd744a0edcad953.tar.xz
wallet: use raw encrypted data in multisig import/export RPC
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h37
1 files changed, 2 insertions, 35 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 07917a683..57cc01e27 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -1567,30 +1567,6 @@ namespace wallet_rpc
};
};
- struct LR_entry
- {
- std::string L;
- std::string R;
-
- BEGIN_KV_SERIALIZE_MAP()
- KV_SERIALIZE(L)
- KV_SERIALIZE(R)
- END_KV_SERIALIZE_MAP()
- };
-
- struct multisig_info_entry
- {
- std::string signer;
- std::vector<LR_entry> LR;
- std::vector<std::string> partial_key_images;
-
- BEGIN_KV_SERIALIZE_MAP()
- KV_SERIALIZE(signer)
- KV_SERIALIZE(LR)
- KV_SERIALIZE(partial_key_images)
- END_KV_SERIALIZE_MAP()
- };
-
struct COMMAND_RPC_EXPORT_MULTISIG
{
struct request
@@ -1601,7 +1577,7 @@ namespace wallet_rpc
struct response
{
- std::vector<multisig_info_entry> info;
+ std::string info;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(info)
@@ -1611,18 +1587,9 @@ namespace wallet_rpc
struct COMMAND_RPC_IMPORT_MULTISIG
{
- struct participant_entry
- {
- std::vector<multisig_info_entry> info;
-
- BEGIN_KV_SERIALIZE_MAP()
- KV_SERIALIZE(info)
- END_KV_SERIALIZE_MAP()
- };
-
struct request
{
- std::vector<participant_entry> info;
+ std::vector<std::string> info;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(info)