Electroneum
message_store.h File Reference
#include <cstdlib>
#include <string>
#include <vector>
#include "crypto/hash.h"
#include <boost/serialization/vector.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/optional/optional.hpp>
#include "serialization/serialization.h"
#include "cryptonote_basic/cryptonote_boost_serialization.h"
#include "cryptonote_basic/account_boost_serialization.h"
#include "cryptonote_basic/cryptonote_basic.h"
#include "common/i18n.h"
#include "common/command_line.h"
#include "wipeable_string.h"
#include "message_transporter.h"
Include dependency graph for message_store.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mms::message
 
struct  mms::authorized_signer
 
struct  mms::processing_data
 
struct  mms::file_transport_message
 
struct  mms::auto_config_data
 
struct  mms::file_data
 
struct  mms::multisig_wallet_state
 
class  mms::message_store
 

Namespaces

 mms
 
 boost
 
 boost::serialization
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "wallet.mms"
 
#define AUTO_CONFIG_TOKEN_BYTES   4
 
#define AUTO_CONFIG_TOKEN_PREFIX   "mms"
 

Enumerations

enum  mms::message_type {
  mms::message_type::key_set, mms::message_type::additional_key_set, mms::message_type::multisig_sync_data, mms::message_type::partially_signed_tx,
  mms::message_type::fully_signed_tx, mms::message_type::note, mms::message_type::signer_config, mms::message_type::auto_config_data
}
 
enum  mms::message_direction { mms::message_direction::in, mms::message_direction::out }
 
enum  mms::message_state {
  mms::message_state::ready_to_send, mms::message_state::sent, mms::message_state::waiting, mms::message_state::processed,
  mms::message_state::cancelled
}
 
enum  mms::message_processing {
  mms::message_processing::prepare_multisig, mms::message_processing::make_multisig, mms::message_processing::exchange_multisig_keys, mms::message_processing::create_sync_data,
  mms::message_processing::process_sync_data, mms::message_processing::sign_tx, mms::message_processing::send_tx, mms::message_processing::submit_tx,
  mms::message_processing::process_signer_config, mms::message_processing::process_auto_config_data
}
 

Functions

template<class Archive >
void boost::serialization::serialize (Archive &a, mms::file_data &x, const boost::serialization::version_type ver)
 
template<class Archive >
void boost::serialization::serialize (Archive &a, mms::message &x, const boost::serialization::version_type ver)
 
template<class Archive >
void boost::serialization::serialize (Archive &a, mms::authorized_signer &x, const boost::serialization::version_type ver)
 
template<class Archive >
void boost::serialization::serialize (Archive &a, mms::auto_config_data &x, const boost::serialization::version_type ver)
 
template<class Archive >
void boost::serialization::serialize (Archive &a, mms::file_transport_message &x, const boost::serialization::version_type ver)
 
template<class Archive >
void boost::serialization::serialize (Archive &a, crypto::chacha_iv &x, const boost::serialization::version_type ver)
 

Macro Definition Documentation

◆ AUTO_CONFIG_TOKEN_BYTES

#define AUTO_CONFIG_TOKEN_BYTES   4

Definition at line 50 of file message_store.h.

◆ AUTO_CONFIG_TOKEN_PREFIX

#define AUTO_CONFIG_TOKEN_PREFIX   "mms"

Definition at line 51 of file message_store.h.

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "wallet.mms"

Definition at line 49 of file message_store.h.