aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/message_store.h
diff options
context:
space:
mode:
authorrbrunner7 <rbrunner@dreamshare.ch>2020-05-04 11:31:46 +0200
committerrbrunner7 <rbrunner@dreamshare.ch>2020-05-24 10:23:55 +0200
commit7d0b7e83efff1a29f730dfb65fa79cb72cc92d48 (patch)
treec0b8ec30241db2514f78017bd05ffe641ae6e9db /src/wallet/message_store.h
parenteasylogging++: sanitize log payload (diff)
downloadmonero-7d0b7e83efff1a29f730dfb65fa79cb72cc92d48.tar.xz
[master] MMS: New 'config_checksum' subcommand
Diffstat (limited to '')
-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);