diff options
author | naughtyfox <mail.for.milo@gmail.com> | 2018-07-12 12:55:52 +0300 |
---|---|---|
committer | naughtyfox <mail.for.milo@gmail.com> | 2018-10-01 19:16:56 +0300 |
commit | 9f3963e8235826704b7bc6ef9e3b90613a72e16c (patch) | |
tree | 303e65a2dcbaf40520e68d11cdcb7efcb41cff57 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #4423 (diff) | |
download | monero-9f3963e8235826704b7bc6ef9e3b90613a72e16c.tar.xz |
Arbitrary M/N multisig schemes:
* support in wallet2
* support in monero-wallet-cli
* support in monero-wallet-rpc
* support in wallet api
* support in monero-gen-trusted-multisig
* unit tests for multisig wallets creation
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index e0d491705..184c0aa73 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -707,6 +707,12 @@ struct Wallet */ virtual std::string makeMultisig(const std::vector<std::string>& info, uint32_t threshold) = 0; /** + * @brief exchange_multisig_keys - provides additional key exchange round for arbitrary multisig schemes (like N-1/N, M/N) + * @param info - base58 encoded key derivations returned by makeMultisig or exchangeMultisigKeys function call + * @return new info string if more rounds required or an empty string if wallet creation is done + */ + virtual std::string exchangeMultisigKeys(const std::vector<std::string> &info) = 0; + /** * @brief finalizeMultisig - finalizes N - 1 / N multisig wallets creation * @param extraMultisigInfo - wallet participants' extra multisig info obtained with makeMultisig call * @return true if success |