Add Protocol::SignedMessage::valid + tests

This commit is contained in:
2026-08-05 10:54:05 +03:00
parent f56a5102a9
commit dfe1edf706
3 changed files with 29 additions and 17 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ struct SignedMessage {
std::string plaintext);
std::vector<uint8_t> serialize();
// bool valid();
bool valid(unsigned char pub_key[crypto_sign_PUBLICKEYBYTES]);
};
} // namespace Protocol