34#define TX_EXTRA_PADDING_MAX_COUNT 255
35#define TX_EXTRA_NONCE_MAX_COUNT 255
37#define TX_EXTRA_TAG_PADDING 0x00
38#define TX_EXTRA_TAG_PUBKEY 0x01
39#define TX_EXTRA_NONCE 0x02
40#define TX_EXTRA_MERGE_MINING_TAG 0x03
41#define TX_EXTRA_TAG_ADDITIONAL_PUBKEYS 0x04
42#define TX_EXTRA_MYSTERIOUS_MINERGATE_TAG 0xDE
44#define TX_EXTRA_NONCE_PAYMENT_ID 0x00
45#define TX_EXTRA_NONCE_ENCRYPTED_PAYMENT_ID 0x01
54 template <
template <
bool>
class Archive>
75 template <
template <
bool>
class Archive>
82 for (
size_t i = 1; i <
size; ++i)
123 FIELD_N("merkle_root", mm_tag.merkle_root)
131 template <template <
bool> class Archive>
140 return ::serialization::serialize(iar, helper);
144 template <
template <
bool>
class Archive>
147 std::ostringstream oss;
153 std::string field = oss.str();
154 return ::serialization::serialize(
ar, field);
161 std::vector<crypto::public_key>
data;
binary_archive< false > ar
Definition cold-outputs.cpp:54
bool do_serialize(Archive< false > &ar, std::vector< T > &v)
Definition containers.h:109
Definition portable_binary_archive.hpp:29
crypto namespace.
Definition crypto.cpp:60
POD_CLASS public_key
Definition crypto.h:64
Holds cryptonote related classes and helpers.
Definition blockchain_db.cpp:45
boost::variant< tx_extra_padding, tx_extra_pub_key, tx_extra_nonce, tx_extra_merge_mining_tag, tx_extra_additional_pub_keys, tx_extra_mysterious_minergate > tx_extra_field
Definition tx_extra.h:181
static const unsigned char zero[32]
Definition fe_isnonzero.c:12
#define BEGIN_SERIALIZE()
Begins the environment of the DSL \detailed for describing how to serialize an of an archive type.
Definition serialization.h:122
#define VARINT_FIELD_N(t, f)
tags (as t) and serializes the varint f
Definition serialization.h:200
#define FIELD(f)
tags the field with the variable name and then serializes it
Definition serialization.h:169
#define FIELD_N(t, f)
serializes a field f tagged t
Definition serialization.h:158
#define END_SERIALIZE()
self-explanatory
Definition serialization.h:150
#define VARIANT_TAG(Archive, Type, Tag)
Adds the tag \tag to the Archive of Type.
Definition serialization.h:108
if(!cryptonote::get_account_address_from_str_or_url(info, cryptonote::TESTNET, "9uVsvEryzpN8WH2t1WWhFFCG5tS8cBNdmJYNRuckLENFimfauV5pZKeS1P2CbxGkSDTUPHXWwiYE5ZGSXDAGbaZgDxobqDN"))
Definition signature.cpp:53
static __thread int depth
Definition threadpool.cpp:34
#define false
Definition stdbool.h:37
unsigned char uint8_t
Definition stdint.h:124
bool eof() const noexcept
If implementing as std::istream, reset stream error state after peek() call.
Definition binary_archive.h:103
Definition binary_archive.h:89
std::string data
Definition base58.cpp:37