aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/message_store.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-06-08 14:12:08 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-06-08 14:12:08 -0500
commite17c864ba2136d9d777773715a493a78f94ad670 (patch)
treee1e4538828f89b06bc47bece593653ed79588f42 /src/wallet/message_store.h
parentMerge pull request #6539 (diff)
parent[master] MMS: New 'config_checksum' subcommand (diff)
downloadmonero-e17c864ba2136d9d777773715a493a78f94ad670.tar.xz
Merge pull request #6549
82d21f5 easylogging++: sanitize log payload (moneromooo-monero) 7d0b7e8 [master] MMS: New 'config_checksum' subcommand (rbrunner7)
Diffstat (limited to 'src/wallet/message_store.h')
-rw-r--r--src/wallet/message_store.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/message_store.h b/src/wallet/message_store.h
index d40daf186..9055fd776 100644
--- a/src/wallet/message_store.h
+++ b/src/wallet/message_store.h
@@ -242,6 +242,7 @@ namespace mms
size_t add_auto_config_data_message(const multisig_wallet_state &state,
const std::string &auto_config_token);
void process_auto_config_data_message(uint32_t id);
+ std::string get_config_checksum() const;
void stop_auto_config();
// Process data just created by "me" i.e. the own local wallet, e.g. as the result of a "prepare_multisig" command
@@ -275,7 +276,7 @@ namespace mms
void set_message_processed_or_sent(uint32_t id);
void delete_message(uint32_t id);
void delete_all_messages();
- void get_sanitized_message_text(const message &m, std::string &sanitized_text) const;
+ static std::string get_sanitized_text(const std::string &text, size_t max_length);
void send_message(const multisig_wallet_state &state, uint32_t id);
bool check_for_messages(const multisig_wallet_state &state, std::vector<message> &messages);