mirror of
https://github.com/wownero/lwsf-wow.git
synced 2026-10-17 07:21:28 +02:00
Add verifySignedMessageWithDetails implementation (#16)
(cherry picked from commit e68ba336564dfa72277619720ba2bd241dd3b7f5)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user