|
Electroneum
|
#include <unordered_set>#include <random>#include "include_base_utils.h"#include "string_tools.h"#include "common/apply_permutation.h"#include "cryptonote_tx_utils.h"#include "cryptonote_config.h"#include "cryptonote_basic/miner.h"#include "cryptonote_basic/tx_extra.h"#include "crypto/crypto.h"#include "crypto/hash.h"#include "ringct/rctSigs.h"#include "multisig/multisig.h"#include <secp256k1/include/secp256k1.h>#include <boost/algorithm/hex.hpp>
Go to the source code of this file.
Namespaces | |
| namespace | cryptonote |
| Holds cryptonote related classes and helpers. | |
Functions | |
| void | cryptonote::classify_addresses (const std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr, size_t &num_stdaddresses, size_t &num_subaddresses, account_public_address &single_dest_subaddress) |
| bool | cryptonote::construct_miner_tx (size_t height, size_t median_weight, uint64_t already_generated_coins, size_t current_block_weight, uint64_t fee, const account_public_address &miner_address, transaction &tx, const blobdata &extra_nonce, size_t max_outs, uint8_t hard_fork_version, network_type nettype) |
| crypto::public_key | cryptonote::get_destination_view_key_pub (const std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr) |
| bool | cryptonote::construct_tx_with_tx_key (const account_keys &sender_account_keys, const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, std::vector< tx_source_entry > &sources, std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr, const std::vector< uint8_t > &extra, transaction &tx, uint64_t unlock_time, const crypto::secret_key &tx_key, const std::vector< crypto::secret_key > &additional_tx_keys, bool rct, const rct::RCTConfig &rct_config, rct::multisig_out *msout, bool shuffle_outs, const uint32_t account_major_offset, const cryptonote::network_type nettype) |
| bool | cryptonote::construct_tx_and_get_tx_key (const account_keys &sender_account_keys, const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, std::vector< tx_source_entry > &sources, std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr, const std::vector< uint8_t > &extra, transaction &tx, uint64_t unlock_time, crypto::secret_key &tx_key, std::vector< crypto::secret_key > &additional_tx_keys, bool rct, const rct::RCTConfig &rct_config, rct::multisig_out *msout, const uint32_t account_major_offset, const cryptonote::network_type nettype) |
| bool | cryptonote::construct_tx (const account_keys &sender_account_keys, std::vector< tx_source_entry > &sources, const std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr, const std::vector< uint8_t > &extra, transaction &tx, uint64_t unlock_time) |
| bool | cryptonote::generate_genesis_block (block &bl, std::string const &genesis_tx, uint32_t nonce) |