From f624525130da54a0af0e7f2d0ec97f9b86c20d29 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Fri, 11 Sep 2026 12:30:23 -0400 Subject: [PATCH] Add verifySignedMessageWithDetails implementation (#16) (cherry picked from commit e68ba336564dfa72277619720ba2bd241dd3b7f5) --- src/wallet.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/wallet.h b/src/wallet.h index 572c293..3dbd515 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -698,6 +698,14 @@ namespace internal * \return true if the signature verified, false otherwise */ virtual bool verifySignedMessage(const std::string &message, const std::string &addres, const std::string &signature) const override { /* TODO */ return false; } + /*! + * \brief verifySignedMessageWithDetails - verify a signature and identify the signing key and algorithm + * \param message - the message (arbitrary byte data) + * \param address - the address the signature claims to be made with + * \param signature - the signature + * \return the verification result, including the signature version and key type + */ + virtual MessageSignatureResult verifySignedMessageWithDetails(const std::string &message, const std::string &address, const std::string &signature) const override { return {}; } /*! * \brief signMultisigParticipant signs given message with the multisig public signer key