|
Monero
|
#include <cstring>#include <cstdint>#include <cstdio>#include <iostream>#include <vector>#include <boost/foreach.hpp>#include <boost/archive/portable_binary_iarchive.hpp>#include "cryptonote_basic/cryptonote_basic.h"#include "cryptonote_basic/cryptonote_basic_impl.h"#include "ringct/rctSigs.h"#include "serialization/binary_archive.h"#include "serialization/json_archive.h"#include "serialization/debug_archive.h"#include "serialization/variant.h"#include "serialization/containers.h"#include "serialization/binary_utils.h"#include "wallet/wallet2.h"#include "gtest/gtest.h"#include "unit_tests_utils.h"#include "device/device.hpp"
Classes | |
| struct | Struct |
| struct | Struct1 |
| struct | Blob |
| struct | example_namespace::ADLExampleStruct |
| struct | unsigned_tx_set |
Namespaces | |
| namespace | example_namespace |
Macros | |
| #define | OUTPUT_EXPORT_FILE_MAGIC "Monero output export\003" |
| #define | UNSIGNED_TX_PREFIX "Monero unsigned tx set\003" |
| #define | SIGNED_TX_PREFIX "Monero signed tx set\003" |
Functions | |
| template<class Archive> | |
| static bool | do_serialize (Archive &ar, Struct &s) |
| VARIANT_TAG (binary_archive, Struct, 0xe0) | |
| VARIANT_TAG (binary_archive, int, 0xe1) | |
| VARIANT_TAG (json_archive, Struct, "struct") | |
| VARIANT_TAG (json_archive, int, "int") | |
| VARIANT_TAG (debug_archive, Struct1, "struct1") | |
| VARIANT_TAG (debug_archive, Struct, "struct") | |
| VARIANT_TAG (debug_archive, int, "int") | |
| BLOB_SERIALIZER (Blob) | |
| bool | try_parse (const string &blob) |
| template<class Archive> | |
| static bool | example_namespace::do_serialize (Archive &ar, ADLExampleStruct &aes) |
| TEST (Serialization, BinaryArchiveInts) | |
| TEST (Serialization, BinaryArchiveVarInts) | |
| TEST (Serialization, Test1) | |
| TEST (Serialization, Overflow) | |
| TEST (Serialization, serializes_vector_uint64_as_varint) | |
| TEST (Serialization, serializes_vector_int64_as_fixed_int) | |
| TEST (Serialization, serializes_transacion_signatures_correctly) | |
| TEST (Serialization, serializes_ringct_types) | |
| TEST (Serialization, portability_wallet) | |
| TEST (Serialization, portability_outputs) | |
| template<class Archive> | |
| void | serialize (Archive &a, unsigned_tx_set &x, const boost::serialization::version_type ver) |
| TEST (Serialization, portability_unsigned_tx) | |
| TEST (Serialization, portability_signed_tx) | |
| TEST (Serialization, difficulty_type) | |
| TEST (Serialization, adl_free_function) | |
| #define OUTPUT_EXPORT_FILE_MAGIC "Monero output export\003" |
| #define SIGNED_TX_PREFIX "Monero signed tx set\003" |
| #define UNSIGNED_TX_PREFIX "Monero unsigned tx set\003" |
| BLOB_SERIALIZER | ( | Blob | ) |
|
static |
|
inline |
| TEST | ( | Serialization | , |
| adl_free_function | ) |
| TEST | ( | Serialization | , |
| BinaryArchiveInts | ) |
| TEST | ( | Serialization | , |
| BinaryArchiveVarInts | ) |
| TEST | ( | Serialization | , |
| difficulty_type | ) |
| TEST | ( | Serialization | , |
| Overflow | ) |
| TEST | ( | Serialization | , |
| portability_outputs | ) |
| TEST | ( | Serialization | , |
| portability_signed_tx | ) |
| TEST | ( | Serialization | , |
| portability_unsigned_tx | ) |
| TEST | ( | Serialization | , |
| portability_wallet | ) |
| TEST | ( | Serialization | , |
| serializes_ringct_types | ) |
| TEST | ( | Serialization | , |
| serializes_transacion_signatures_correctly | ) |
| TEST | ( | Serialization | , |
| serializes_vector_int64_as_fixed_int | ) |
| TEST | ( | Serialization | , |
| serializes_vector_uint64_as_varint | ) |
| TEST | ( | Serialization | , |
| Test1 | ) |
| VARIANT_TAG | ( | binary_archive | , |
| int | , | ||
| 0xe1 | ) |
| VARIANT_TAG | ( | binary_archive | , |
| Struct | , | ||
| 0xe0 | ) |
| VARIANT_TAG | ( | debug_archive | , |
| int | , | ||
| "int" | ) |
| VARIANT_TAG | ( | debug_archive | , |
| Struct | , | ||
| "struct" | ) |
| VARIANT_TAG | ( | debug_archive | , |
| Struct1 | , | ||
| "struct1" | ) |
| VARIANT_TAG | ( | json_archive | , |
| int | , | ||
| "int" | ) |
| VARIANT_TAG | ( | json_archive | , |
| Struct | , | ||
| "struct" | ) |