|
Electroneum
|
Holds cryptonote related classes and helpers. More...
Namespaces | |
| bootstrap | |
| json | |
| rpc | |
Enumerations | |
| enum | { prune_mode_prune, prune_mode_update, prune_mode_check } |
| enum | network_type : uint8_t { MAINNET = 0, TESTNET, STAGENET, FAKECHAIN, UNDEFINED = 255 } |
| enum | blockchain_db_sync_mode { db_defaultsync, db_sync, db_async, db_nosync } |
| enum | SPENT_STATUS { UNSPENT = 0, SPENT_IN_BLOCKCHAIN = 1, SPENT_IN_POOL = 2 } |
Functions | |
| size_t | slow_memmem (const void *start_buff, size_t buflen, const void *pat, size_t patlen) |
| bool | blockchain_valid_db_type (const std::string &db_type) |
| std::string | blockchain_db_types (const std::string &sep) |
| BlockchainDB * | new_db (const std::string &db_type) |
| void | lmdb_resized (MDB_env *env) |
| int | lmdb_txn_begin (MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **txn) |
| int | lmdb_txn_renew (MDB_txn *txn) |
| std::string | get_protocol_state_string (cryptonote_connection_context::state s) |
| char | get_protocol_state_char (cryptonote_connection_context::state s) |
| template<> | |
| unsigned int | getpos (binary_archive< true > &ar) |
| template<> | |
| unsigned int | getpos (binary_archive< false > &ar) |
| size_t | get_min_block_weight (uint8_t version) |
| size_t | get_max_tx_size () |
| bool | get_block_reward (size_t median_weight, size_t current_block_weight, uint64_t already_generated_coins, uint64_t &reward, uint8_t version, uint64_t current_block_height, network_type nettype) |
| uint8_t | get_account_address_checksum (const public_address_outer_blob &bl) |
| uint8_t | get_account_integrated_address_checksum (const public_integrated_address_outer_blob &bl) |
| std::string | get_account_address_as_str (network_type nettype, bool subaddress, account_public_address const &adr) |
| std::string | get_account_integrated_address_as_str (network_type nettype, account_public_address const &adr, crypto::hash8 const &payment_id) |
| bool | is_coinbase (const transaction &tx) |
| bool | get_account_address_from_str (address_parse_info &info, network_type nettype, std::string const &str) |
| bool | get_account_address_from_str_or_url (address_parse_info &info, network_type nettype, const std::string &str_or_url, std::function< std::string(const std::string &, const std::vector< std::string > &, bool)> dns_confirm) |
| bool | operator== (const cryptonote::transaction &a, const cryptonote::transaction &b) |
| bool | operator== (const cryptonote::block &a, const cryptonote::block &b) |
| void | get_transaction_prefix_hash (const transaction_prefix &tx, crypto::hash &h) |
| crypto::hash | get_transaction_prefix_hash (const transaction_prefix &tx) |
| bool | expand_transaction_1 (transaction &tx, bool base_only) |
| bool | parse_and_validate_tx_from_blob (const blobdata &tx_blob, transaction &tx) |
| bool | parse_and_validate_tx_base_from_blob (const blobdata &tx_blob, transaction &tx) |
| bool | parse_and_validate_tx_prefix_from_blob (const blobdata &tx_blob, transaction_prefix &tx) |
| bool | parse_and_validate_tx_from_blob (const blobdata &tx_blob, transaction &tx, crypto::hash &tx_hash) |
| bool | parse_and_validate_tx_from_blob (const blobdata &tx_blob, transaction &tx, crypto::hash &tx_hash, crypto::hash &tx_prefix_hash) |
| bool | is_v1_tx (const blobdata_ref &tx_blob) |
| bool | is_v1_tx (const blobdata &tx_blob) |
| bool | generate_key_image_helper (const account_keys &ack, const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, const crypto::public_key &out_key, const crypto::public_key &tx_public_key, const std::vector< crypto::public_key > &additional_tx_public_keys, size_t real_output_index, keypair &in_ephemeral, crypto::key_image &ki, hw::device &hwdev, const uint32_t account_major_offset) |
| bool | generate_key_image_helper_precomp (const account_keys &ack, const crypto::public_key &out_key, const crypto::key_derivation &recv_derivation, size_t real_output_index, const subaddress_index &received_index, keypair &in_ephemeral, crypto::key_image &ki, hw::device &hwdev, const uint32_t account_major_offset) |
| uint64_t | power_integral (uint64_t a, uint64_t b) |
| bool | parse_amount (uint64_t &amount, const std::string &str_amount_) |
| uint64_t | get_transaction_weight (const transaction &tx, size_t blob_size) |
| uint64_t | get_transaction_weight (const transaction &tx) |
| bool | get_tx_fee (const transaction &tx, uint64_t &fee) |
| uint64_t | get_tx_fee (const transaction &tx) |
| bool | parse_tx_extra (const std::vector< uint8_t > &tx_extra, std::vector< tx_extra_field > &tx_extra_fields) |
| bool | sort_tx_extra (const std::vector< uint8_t > &tx_extra, std::vector< uint8_t > &sorted_tx_extra, bool allow_partial) |
| crypto::public_key | get_tx_pub_key_from_extra (const std::vector< uint8_t > &tx_extra, size_t pk_index) |
| crypto::public_key | get_tx_pub_key_from_extra (const transaction_prefix &tx_prefix, size_t pk_index) |
| crypto::public_key | get_tx_pub_key_from_extra (const transaction &tx, size_t pk_index) |
| bool | add_tx_pub_key_to_extra (transaction &tx, const crypto::public_key &tx_pub_key) |
| bool | add_tx_pub_key_to_extra (transaction_prefix &tx, const crypto::public_key &tx_pub_key) |
| bool | add_tx_pub_key_to_extra (std::vector< uint8_t > &tx_extra, const crypto::public_key &tx_pub_key) |
| std::vector< crypto::public_key > | get_additional_tx_pub_keys_from_extra (const std::vector< uint8_t > &tx_extra) |
| std::vector< crypto::public_key > | get_additional_tx_pub_keys_from_extra (const transaction_prefix &tx) |
| bool | add_additional_tx_pub_keys_to_extra (std::vector< uint8_t > &tx_extra, const std::vector< crypto::public_key > &additional_pub_keys) |
| bool | add_extra_nonce_to_tx_extra (std::vector< uint8_t > &tx_extra, const blobdata &extra_nonce) |
| bool | add_bridge_source_address_to_tx_extra (std::vector< uint8_t > &tx_extra, const blobdata &bridge_source_address) |
| bool | add_bridge_smartchain_address_to_tx_extra (std::vector< uint8_t > &tx_extra, const blobdata &bridge_smartchain_address) |
| bool | remove_field_from_tx_extra (std::vector< uint8_t > &tx_extra, const std::type_info &type) |
| void | set_payment_id_to_tx_extra_nonce (blobdata &extra_nonce, const crypto::hash &payment_id) |
| void | set_encrypted_payment_id_to_tx_extra_nonce (blobdata &extra_nonce, const crypto::hash8 &payment_id) |
| bool | get_payment_id_from_tx_extra_nonce (const blobdata &extra_nonce, crypto::hash &payment_id) |
| bool | get_encrypted_payment_id_from_tx_extra_nonce (const blobdata &extra_nonce, crypto::hash8 &payment_id) |
| bool | get_inputs_etn_amount (const transaction &tx, uint64_t &etn) |
| uint64_t | get_block_height (const block &b) |
| bool | check_inputs_types_supported (const transaction &tx) |
| bool | check_outs_valid (const transaction &tx) |
| bool | check_etn_overflow (const transaction &tx) |
| bool | check_inputs_overflow (const transaction &tx) |
| bool | check_outs_overflow (const transaction &tx) |
| uint64_t | get_outs_etn_amount (const transaction &tx) |
| std::string | short_hash_str (const crypto::hash &h) |
| bool | is_out_to_acc (const account_keys &acc, const txout_to_key &out_key, const crypto::public_key &tx_pub_key, const std::vector< crypto::public_key > &additional_tx_pub_keys, size_t output_index) |
| boost::optional< subaddress_receive_info > | is_out_to_acc_precomp (const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, const crypto::public_key &out_key, const crypto::key_derivation &derivation, const std::vector< crypto::key_derivation > &additional_derivations, size_t output_index, hw::device &hwdev) |
| boost::optional< subaddress_receive_info > | is_out_to_acc_precomp_public (const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, const cryptonote::account_public_address output_address) |
| bool | lookup_acc_outs (const account_keys &acc, const transaction &tx, std::vector< size_t > &outs, uint64_t &etn_transfered) |
| bool | lookup_acc_outs (const account_keys &acc, const transaction &tx, const crypto::public_key &tx_pub_key, const std::vector< crypto::public_key > &additional_tx_pub_keys, std::vector< size_t > &outs, uint64_t &etn_transfered) |
| void | get_blob_hash (const epee::span< const char > &blob, crypto::hash &res) |
| void | get_blob_hash (const blobdata &blob, crypto::hash &res) |
| void | set_default_decimal_point (unsigned int decimal_point) |
| unsigned int | get_default_decimal_point () |
| std::string | get_unit (unsigned int decimal_point) |
| std::string | print_etn (uint64_t amount, unsigned int decimal_point) |
| crypto::hash | get_blob_hash (const blobdata &blob) |
| crypto::hash | get_blob_hash (const epee::span< const char > &blob) |
| crypto::hash | get_transaction_hash (const transaction &t) |
| bool | get_transaction_hash (const transaction &t, crypto::hash &res) |
| bool | calculate_transaction_prunable_hash (const transaction &t, const cryptonote::blobdata *blob, crypto::hash &res) |
| crypto::hash | get_transaction_prunable_hash (const transaction &t, const cryptonote::blobdata *blobdata) |
| crypto::hash | get_pruned_transaction_hash (const transaction &t, const crypto::hash &pruned_data_hash) |
| bool | calculate_transaction_hash (const transaction &t, crypto::hash &res, size_t *blob_size) |
| bool | get_transaction_hash (const transaction &t, crypto::hash &res, size_t *blob_size) |
| bool | get_transaction_hash (const transaction &t, crypto::hash &res, size_t &blob_size) |
| blobdata | get_block_hashing_blob (const block &b) |
| bool | calculate_block_hash (const block &b, crypto::hash &res, const blobdata *blob) |
| bool | get_block_hash (const block &b, crypto::hash &res) |
| crypto::hash | get_block_hash (const block &b) |
| bool | get_block_longhash (const block &b, crypto::hash &res, uint64_t height) |
| std::vector< uint64_t > | relative_output_offsets_to_absolute (const std::vector< uint64_t > &off) |
| std::vector< uint64_t > | absolute_output_offsets_to_relative (const std::vector< uint64_t > &off) |
| crypto::hash | get_block_longhash (const block &b, uint64_t height) |
| bool | parse_and_validate_block_from_blob (const blobdata &b_blob, block &b, crypto::hash *block_hash) |
| bool | parse_and_validate_block_from_blob (const blobdata &b_blob, block &b) |
| bool | parse_and_validate_block_from_blob (const blobdata &b_blob, block &b, crypto::hash &block_hash) |
| blobdata | block_to_blob (const block &b) |
| bool | block_to_blob (const block &b, blobdata &b_blob) |
| blobdata | tx_to_blob (const transaction &tx) |
| bool | tx_to_blob (const transaction &tx, blobdata &b_blob) |
| void | get_tx_tree_hash (const std::vector< crypto::hash > &tx_hashes, crypto::hash &h) |
| crypto::hash | get_tx_tree_hash (const std::vector< crypto::hash > &tx_hashes) |
| crypto::hash | get_tx_tree_hash (const block &b) |
| bool | is_valid_decomposed_amount (uint64_t amount) |
| void | get_hash_stats (uint64_t &tx_hashes_calculated, uint64_t &tx_hashes_cached, uint64_t &block_hashes_calculated, uint64_t &block_hashes_cached) |
| crypto::secret_key | encrypt_key (crypto::secret_key key, const epee::wipeable_string &passphrase) |
| crypto::secret_key | decrypt_key (crypto::secret_key key, const epee::wipeable_string &passphrase) |
| template<typename T > | |
| bool | find_tx_extra_field_by_type (const std::vector< tx_extra_field > &tx_extra_fields, T &field, size_t index=0) |
| template<class t_object > | |
| bool | t_serializable_object_from_blob (t_object &to, const blobdata &b_blob) |
| template<class t_object > | |
| bool | t_serializable_object_to_blob (const t_object &to, blobdata &b_blob) |
| template<class t_object > | |
| blobdata | t_serializable_object_to_blob (const t_object &to) |
| template<class t_object > | |
| bool | get_object_hash (const t_object &o, crypto::hash &res) |
| template<class t_object > | |
| size_t | get_object_blobsize (const t_object &o) |
| template<class t_object > | |
| bool | get_object_hash (const t_object &o, crypto::hash &res, size_t &blob_size) |
| template<typename T > | |
| std::string | obj_to_json_str (T &obj) |
| template<typename chunk_handler_t , typename dust_handler_t > | |
| void | decompose_amount_into_digits (uint64_t amount, uint64_t dust_threshold, const chunk_handler_t &chunk_handler, const dust_handler_t &dust_handler) |
| bool | check_hash_64 (const crypto::hash &hash, uint64_t difficulty) |
| checks if a hash fits the given difficulty More... | |
| uint64_t | next_difficulty_64 (std::vector< std::uint64_t > timestamps, std::vector< uint64_t > cumulative_difficulties, size_t target_seconds, uint8_t version) |
| const difficulty_type | max64bit (std::numeric_limits< std::uint64_t >::max()) |
| const boost::multiprecision::uint256_t | max128bit (std::numeric_limits< boost::multiprecision::uint128_t >::max()) |
| const boost::multiprecision::uint512_t | max256bit (std::numeric_limits< boost::multiprecision::uint256_t >::max()) |
| bool | check_hash_128 (const crypto::hash &hash, difficulty_type difficulty) |
| bool | check_hash (const crypto::hash &hash, difficulty_type difficulty) |
| difficulty_type | next_difficulty (std::vector< uint64_t > timestamps, std::vector< difficulty_type > cumulative_difficulties, size_t target_seconds, uint8_t version) |
| std::string | hex (difficulty_type v) |
| difficulty_type | next_difficulty (std::vector< std::uint64_t > timestamps, std::vector< difficulty_type > cumulative_difficulties, size_t target_seconds, uint8_t version=1) |
| std::ostream & | operator<< (std::ostream &out, const cryptonote::subaddress_index &subaddr_index) |
| const config_t & | get_config (network_type nettype) |
| block_complete_entry | get_block_complete_entry (block &b, tx_memory_pool &pool) |
| double | factorial (unsigned int n) |
| void | 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 | 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 | get_destination_view_key_pub (const std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr) |
| bool | 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 | 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 | 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 | generate_genesis_block (block &bl, std::string const &genesis_tx, uint32_t nonce) |
| bool | generate_output_ephemeral_keys (const size_t tx_version, const cryptonote::account_keys &sender_account_keys, const crypto::public_key &txkey_pub, const crypto::secret_key &tx_key, const cryptonote::tx_destination_entry &dst_entr, const boost::optional< cryptonote::account_public_address > &change_addr, const size_t output_index, const bool &need_additional_txkeys, const std::vector< crypto::secret_key > &additional_tx_keys, std::vector< crypto::public_key > &additional_tx_public_keys, std::vector< rct::key > &amount_keys, crypto::public_key &out_eph_public_key) |
| bool | tx_sanity_check (Blockchain &blockchain, const cryptonote::blobdata &tx_blob) |
| crypto::secret_key | get_multisig_blinded_secret_key (const crypto::secret_key &key) |
| void | generate_multisig_N_N (const account_keys &keys, const std::vector< crypto::public_key > &spend_keys, std::vector< crypto::secret_key > &multisig_keys, rct::key &spend_skey, rct::key &spend_pkey) |
| void | generate_multisig_N1_N (const account_keys &keys, const std::vector< crypto::public_key > &spend_keys, std::vector< crypto::secret_key > &multisig_keys, rct::key &spend_skey, rct::key &spend_pkey) |
| std::vector< crypto::public_key > | generate_multisig_derivations (const account_keys &keys, const std::vector< crypto::public_key > &derivations) |
| generate_multisig_derivations performs common DH key derivation. Each middle round in M/N scheme is DH exchange of public multisig keys of other participants multiplied by secret spend key of current participant. this functions does the following: new multisig key = secret spend * public multisig key More... | |
| crypto::secret_key | calculate_multisig_signer_key (const std::vector< crypto::secret_key > &multisig_keys) |
| std::vector< crypto::secret_key > | calculate_multisig_keys (const std::vector< crypto::public_key > &derivations) |
| calculate_multisig_keys. Calculates secret multisig keys from others' participants ones as follows: mi = H(Mi) More... | |
| crypto::secret_key | generate_multisig_view_secret_key (const crypto::secret_key &skey, const std::vector< crypto::secret_key > &skeys) |
| crypto::public_key | generate_multisig_M_N_spend_public_key (const std::vector< crypto::public_key > &pkeys) |
| generate_multisig_M_N_spend_public_key calculates multisig wallet's spend public key by summing all of public multisig keys More... | |
| bool | generate_multisig_key_image (const account_keys &keys, size_t multisig_key_index, const crypto::public_key &out_key, crypto::key_image &ki) |
| void | generate_multisig_LR (const crypto::public_key pkey, const crypto::secret_key &k, crypto::public_key &L, crypto::public_key &R) |
| bool | generate_multisig_composite_key_image (const account_keys &keys, const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, const crypto::public_key &out_key, const crypto::public_key &tx_public_key, const std::vector< crypto::public_key > &additional_tx_public_keys, size_t real_output_index, const std::vector< crypto::key_image > &pkis, crypto::key_image &ki) |
| uint32_t | multisig_rounds_required (uint32_t participants, uint32_t threshold) |
Holds cryptonote related classes and helpers.
| typedef struct cryptonote::acc_addr_tx_t cryptonote::acc_addr_tx_t |
| typedef struct cryptonote::acc_outs_t cryptonote::acc_outs_t |
| typedef struct cryptonote::blk_height cryptonote::blk_height |
| typedef std::string cryptonote::blobdata |
Definition at line 39 of file blobdatatype.h.
| typedef epee::span<const char> cryptonote::blobdata_ref |
Definition at line 40 of file blobdatatype.h.
Definition at line 54 of file cryptonote_stat_info.h.
| typedef boost::multiprecision::uint128_t cryptonote::difficulty_type |
Definition at line 43 of file difficulty.h.
| typedef std::function<const epee::span<const unsigned char>cryptonote::network_type network)> cryptonote::GetCheckpointsCallback |
Callback routine that returns checkpoints data for specific network type.
| network | network type |
Definition at line 92 of file blockchain.h.
Definition at line 355 of file db_lmdb.cpp.
| typedef struct cryptonote::mdb_block_info_1 cryptonote::mdb_block_info_1 |
| typedef struct cryptonote::mdb_block_info_2 cryptonote::mdb_block_info_2 |
| typedef struct cryptonote::mdb_block_info_3 cryptonote::mdb_block_info_3 |
| typedef struct cryptonote::mdb_block_info_4 cryptonote::mdb_block_info_4 |
| typedef struct cryptonote::mdb_rflags cryptonote::mdb_rflags |
| typedef struct cryptonote::mdb_threadinfo cryptonote::mdb_threadinfo |
| typedef struct cryptonote::mdb_txn_cursors cryptonote::mdb_txn_cursors |
| typedef struct cryptonote::outkey cryptonote::outkey |
| typedef struct cryptonote::outtx cryptonote::outtx |
| typedef struct cryptonote::pre_rct_outkey cryptonote::pre_rct_outkey |
| typedef std::vector<crypto::signature> cryptonote::ring_signature |
Definition at line 57 of file cryptonote_basic.h.
| typedef std::set<tx_by_fee_and_receive_time_entry, txCompare> cryptonote::sorted_tx_container |
| typedef std::pair<std::pair<double, std::time_t>, crypto::hash> cryptonote::tx_by_fee_and_receive_time_entry |
Definition at line 207 of file tx_extra.h.
| typedef std::pair<crypto::hash, uint64_t> cryptonote::tx_out_index |
a pair of <transaction hash, output index>, typedef for convenience
Definition at line 107 of file blockchain_db.h.
| typedef boost::variant<txin_gen, txin_to_script, txin_to_scripthash, txin_to_key, txin_to_key_public> cryptonote::txin_v |
Definition at line 223 of file cryptonote_basic.h.
| typedef struct cryptonote::txindex cryptonote::txindex |
| typedef boost::variant<txout_to_script, txout_to_scripthash, txout_to_key, txout_to_key_public> cryptonote::txout_target_v |
Definition at line 225 of file cryptonote_basic.h.
| anonymous enum |
| Enumerator | |
|---|---|
| prune_mode_prune | |
| prune_mode_update | |
| prune_mode_check | |
Definition at line 2641 of file db_lmdb.cpp.
Declares ways in which the BlockchainDB backend should be told to sync
Definition at line 77 of file blockchain.h.
| enum cryptonote::network_type : uint8_t |
| Enumerator | |
|---|---|
| MAINNET | |
| TESTNET | |
| STAGENET | |
| FAKECHAIN | |
| UNDEFINED | |
Definition at line 246 of file cryptonote_config.h.
| Enumerator | |
|---|---|
| UNSPENT | |
| SPENT_IN_BLOCKCHAIN | |
| SPENT_IN_POOL | |
Definition at line 403 of file core_rpc_server_commands_defs.h.
| std::vector< uint64_t > cryptonote::absolute_output_offsets_to_relative | ( | const std::vector< uint64_t > & | off | ) |
Definition at line 1222 of file cryptonote_format_utils.cpp.
| bool cryptonote::add_additional_tx_pub_keys_to_extra | ( | std::vector< uint8_t > & | tx_extra, |
| const std::vector< crypto::public_key > & | additional_pub_keys | ||
| ) |
Definition at line 574 of file cryptonote_format_utils.cpp.

| bool cryptonote::add_bridge_smartchain_address_to_tx_extra | ( | std::vector< uint8_t > & | tx_extra, |
| const blobdata & | bridge_smartchain_address | ||
| ) |
Definition at line 623 of file cryptonote_format_utils.cpp.


| bool cryptonote::add_bridge_source_address_to_tx_extra | ( | std::vector< uint8_t > & | tx_extra, |
| const blobdata & | bridge_source_address | ||
| ) |
Definition at line 607 of file cryptonote_format_utils.cpp.


| bool cryptonote::add_extra_nonce_to_tx_extra | ( | std::vector< uint8_t > & | tx_extra, |
| const blobdata & | extra_nonce | ||
| ) |
Definition at line 591 of file cryptonote_format_utils.cpp.


| bool cryptonote::add_tx_pub_key_to_extra | ( | transaction & | tx, |
| const crypto::public_key & | tx_pub_key | ||
| ) |
Definition at line 539 of file cryptonote_format_utils.cpp.


| bool cryptonote::add_tx_pub_key_to_extra | ( | transaction_prefix & | tx, |
| const crypto::public_key & | tx_pub_key | ||
| ) |
Definition at line 544 of file cryptonote_format_utils.cpp.

| bool cryptonote::add_tx_pub_key_to_extra | ( | std::vector< uint8_t > & | tx_extra, |
| const crypto::public_key & | tx_pub_key | ||
| ) |
Definition at line 549 of file cryptonote_format_utils.cpp.

Definition at line 1270 of file cryptonote_format_utils.cpp.


Definition at line 1275 of file cryptonote_format_utils.cpp.

| std::string cryptonote::blockchain_db_types | ( | const std::string & | sep | ) |
| bool cryptonote::blockchain_valid_db_type | ( | const std::string & | db_type | ) |
| bool cryptonote::calculate_block_hash | ( | const block & | b, |
| crypto::hash & | res, | ||
| const blobdata * | blob | ||
| ) |
Definition at line 1174 of file cryptonote_format_utils.cpp.


| std::vector< crypto::secret_key > cryptonote::calculate_multisig_keys | ( | const std::vector< crypto::public_key > & | derivations | ) |
calculate_multisig_keys. Calculates secret multisig keys from others' participants ones as follows: mi = H(Mi)
| derivations | - others' participants public multisig keys. |
Definition at line 111 of file multisig.cpp.


| crypto::secret_key cryptonote::calculate_multisig_signer_key | ( | const std::vector< crypto::secret_key > & | multisig_keys | ) |
Definition at line 100 of file multisig.cpp.


| bool cryptonote::calculate_transaction_hash | ( | const transaction & | t, |
| crypto::hash & | res, | ||
| size_t * | blob_size | ||
| ) |
Definition at line 1076 of file cryptonote_format_utils.cpp.


| bool cryptonote::calculate_transaction_prunable_hash | ( | const transaction & | t, |
| const cryptonote::blobdata * | blob, | ||
| crypto::hash & | res | ||
| ) |
Definition at line 1009 of file cryptonote_format_utils.cpp.


| bool cryptonote::check_etn_overflow | ( | const transaction & | tx | ) |
Definition at line 787 of file cryptonote_format_utils.cpp.

| bool cryptonote::check_hash | ( | const crypto::hash & | hash, |
| difficulty_type | difficulty | ||
| ) |
Definition at line 203 of file difficulty.cpp.


| bool cryptonote::check_hash_128 | ( | const crypto::hash & | hash, |
| difficulty_type | difficulty | ||
| ) |
Definition at line 184 of file difficulty.cpp.


| bool cryptonote::check_hash_64 | ( | const crypto::hash & | hash, |
| uint64_t | difficulty | ||
| ) |
checks if a hash fits the given difficulty
The hash passes if (hash * difficulty) < 2^256. Phrased differently, if (hash * difficulty) fits without overflow into the least significant 256 bits of the 320 bit multiplication result.
| hash | the hash to check |
| difficulty | the difficulty to check against |
Definition at line 106 of file difficulty.cpp.

| bool cryptonote::check_inputs_overflow | ( | const transaction & | tx | ) |
Definition at line 792 of file cryptonote_format_utils.cpp.

| bool cryptonote::check_inputs_types_supported | ( | const transaction & | tx | ) |
Definition at line 735 of file cryptonote_format_utils.cpp.


| bool cryptonote::check_outs_overflow | ( | const transaction & | tx | ) |
Definition at line 817 of file cryptonote_format_utils.cpp.

| bool cryptonote::check_outs_valid | ( | const transaction & | tx | ) |
Definition at line 755 of file cryptonote_format_utils.cpp.


| 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 | ||
| ) |
Definition at line 55 of file cryptonote_tx_utils.cpp.

| 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 | ||
| ) |
Definition at line 81 of file cryptonote_tx_utils.cpp.


| 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 | ||
| ) |
Definition at line 684 of file cryptonote_tx_utils.cpp.


| 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 | ||
| ) |
Definition at line 656 of file cryptonote_tx_utils.cpp.


| 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 | ||
| ) |
Definition at line 222 of file cryptonote_tx_utils.cpp.


| void cryptonote::decompose_amount_into_digits | ( | uint64_t | amount, |
| uint64_t | dust_threshold, | ||
| const chunk_handler_t & | chunk_handler, | ||
| const dust_handler_t & | dust_handler | ||
| ) |
Definition at line 211 of file cryptonote_format_utils.h.

| crypto::secret_key cryptonote::decrypt_key | ( | crypto::secret_key | key, |
| const epee::wipeable_string & | passphrase | ||
| ) |
Definition at line 1338 of file cryptonote_format_utils.cpp.


| crypto::secret_key cryptonote::encrypt_key | ( | crypto::secret_key | key, |
| const epee::wipeable_string & | passphrase | ||
| ) |
Definition at line 1330 of file cryptonote_format_utils.cpp.


| bool cryptonote::expand_transaction_1 | ( | transaction & | tx, |
| bool | base_only | ||
| ) |
Definition at line 128 of file cryptonote_format_utils.cpp.

| double cryptonote::factorial | ( | unsigned int | n | ) |
Definition at line 1927 of file cryptonote_core.cpp.
| bool cryptonote::find_tx_extra_field_by_type | ( | const std::vector< tx_extra_field > & | tx_extra_fields, |
| T & | field, | ||
| size_t | index = 0 |
||
| ) |
Definition at line 62 of file cryptonote_format_utils.h.

| bool cryptonote::generate_genesis_block | ( | block & | bl, |
| std::string const & | genesis_tx, | ||
| uint32_t | nonce | ||
| ) |
Definition at line 694 of file cryptonote_tx_utils.cpp.


| bool cryptonote::generate_key_image_helper | ( | const account_keys & | ack, |
| const std::unordered_map< crypto::public_key, subaddress_index > & | subaddresses, | ||
| const crypto::public_key & | out_key, | ||
| const crypto::public_key & | tx_public_key, | ||
| const std::vector< crypto::public_key > & | additional_tx_public_keys, | ||
| size_t | real_output_index, | ||
| keypair & | in_ephemeral, | ||
| crypto::key_image & | ki, | ||
| hw::device & | hwdev, | ||
| const uint32_t | account_major_offset | ||
| ) |
Definition at line 208 of file cryptonote_format_utils.cpp.


| bool cryptonote::generate_key_image_helper_precomp | ( | const account_keys & | ack, |
| const crypto::public_key & | out_key, | ||
| const crypto::key_derivation & | recv_derivation, | ||
| size_t | real_output_index, | ||
| const subaddress_index & | received_index, | ||
| keypair & | in_ephemeral, | ||
| crypto::key_image & | ki, | ||
| hw::device & | hwdev, | ||
| const uint32_t | account_major_offset | ||
| ) |
Definition at line 239 of file cryptonote_format_utils.cpp.


| bool cryptonote::generate_multisig_composite_key_image | ( | const account_keys & | keys, |
| const std::unordered_map< crypto::public_key, subaddress_index > & | subaddresses, | ||
| const crypto::public_key & | out_key, | ||
| const crypto::public_key & | tx_public_key, | ||
| const std::vector< crypto::public_key > & | additional_tx_public_keys, | ||
| size_t | real_output_index, | ||
| const std::vector< crypto::key_image > & | pkis, | ||
| crypto::key_image & | ki | ||
| ) |
Definition at line 156 of file multisig.cpp.


| std::vector< crypto::public_key > cryptonote::generate_multisig_derivations | ( | const account_keys & | keys, |
| const std::vector< crypto::public_key > & | derivations | ||
| ) |
generate_multisig_derivations performs common DH key derivation. Each middle round in M/N scheme is DH exchange of public multisig keys of other participants multiplied by secret spend key of current participant. this functions does the following: new multisig key = secret spend * public multisig key
| keys | - current wallet's keys |
| derivations | - public multisig keys of other participants |
Definition at line 87 of file multisig.cpp.


| bool cryptonote::generate_multisig_key_image | ( | const account_keys & | keys, |
| size_t | multisig_key_index, | ||
| const crypto::public_key & | out_key, | ||
| crypto::key_image & | ki | ||
| ) |
Definition at line 142 of file multisig.cpp.


| void cryptonote::generate_multisig_LR | ( | const crypto::public_key | pkey, |
| const crypto::secret_key & | k, | ||
| crypto::public_key & | L, | ||
| crypto::public_key & | R | ||
| ) |
Definition at line 150 of file multisig.cpp.

| crypto::public_key cryptonote::generate_multisig_M_N_spend_public_key | ( | const std::vector< crypto::public_key > & | pkeys | ) |
generate_multisig_M_N_spend_public_key calculates multisig wallet's spend public key by summing all of public multisig keys
| pkeys | unique public multisig keys |
Definition at line 132 of file multisig.cpp.


| void cryptonote::generate_multisig_N1_N | ( | const account_keys & | keys, |
| const std::vector< crypto::public_key > & | spend_keys, | ||
| std::vector< crypto::secret_key > & | multisig_keys, | ||
| rct::key & | spend_skey, | ||
| rct::key & | spend_pkey | ||
| ) |
Definition at line 70 of file multisig.cpp.

| void cryptonote::generate_multisig_N_N | ( | const account_keys & | keys, |
| const std::vector< crypto::public_key > & | spend_keys, | ||
| std::vector< crypto::secret_key > & | multisig_keys, | ||
| rct::key & | spend_skey, | ||
| rct::key & | spend_pkey | ||
| ) |
Definition at line 58 of file multisig.cpp.


| crypto::secret_key cryptonote::generate_multisig_view_secret_key | ( | const crypto::secret_key & | skey, |
| const std::vector< crypto::secret_key > & | skeys | ||
| ) |
Definition at line 124 of file multisig.cpp.


| bool cryptonote::generate_output_ephemeral_keys | ( | const size_t | tx_version, |
| const cryptonote::account_keys & | sender_account_keys, | ||
| const crypto::public_key & | txkey_pub, | ||
| const crypto::secret_key & | tx_key, | ||
| const cryptonote::tx_destination_entry & | dst_entr, | ||
| const boost::optional< cryptonote::account_public_address > & | change_addr, | ||
| const size_t | output_index, | ||
| const bool & | need_additional_txkeys, | ||
| const std::vector< crypto::secret_key > & | additional_tx_keys, | ||
| std::vector< crypto::public_key > & | additional_tx_public_keys, | ||
| std::vector< rct::key > & | amount_keys, | ||
| crypto::public_key & | out_eph_public_key | ||
| ) |
| std::string cryptonote::get_account_address_as_str | ( | network_type | nettype, |
| bool | subaddress, | ||
| account_public_address const & | adr | ||
| ) |
Definition at line 207 of file cryptonote_basic_impl.cpp.


| uint8_t cryptonote::get_account_address_checksum | ( | const public_address_outer_blob & | bl | ) |
Definition at line 187 of file cryptonote_basic_impl.cpp.

| bool cryptonote::get_account_address_from_str | ( | address_parse_info & | info, |
| network_type | nettype, | ||
| std::string const & | str | ||
| ) |
Definition at line 243 of file cryptonote_basic_impl.cpp.


| bool cryptonote::get_account_address_from_str_or_url | ( | address_parse_info & | info, |
| network_type | nettype, | ||
| const std::string & | str_or_url, | ||
| std::function< std::string(const std::string &, const std::vector< std::string > &, bool)> | dns_confirm | ||
| ) |
Definition at line 348 of file cryptonote_basic_impl.cpp.


| std::string cryptonote::get_account_integrated_address_as_str | ( | network_type | nettype, |
| account_public_address const & | adr, | ||
| crypto::hash8 const & | payment_id | ||
| ) |
Definition at line 218 of file cryptonote_basic_impl.cpp.


| uint8_t cryptonote::get_account_integrated_address_checksum | ( | const public_integrated_address_outer_blob & | bl | ) |
Definition at line 197 of file cryptonote_basic_impl.cpp.
| std::vector< crypto::public_key > cryptonote::get_additional_tx_pub_keys_from_extra | ( | const std::vector< uint8_t > & | tx_extra | ) |
Definition at line 557 of file cryptonote_format_utils.cpp.


| std::vector< crypto::public_key > cryptonote::get_additional_tx_pub_keys_from_extra | ( | const transaction_prefix & | tx | ) |
Definition at line 569 of file cryptonote_format_utils.cpp.

| void cryptonote::get_blob_hash | ( | const epee::span< const char > & | blob, |
| crypto::hash & | res | ||
| ) |
Definition at line 926 of file cryptonote_format_utils.cpp.


| void cryptonote::get_blob_hash | ( | const blobdata & | blob, |
| crypto::hash & | res | ||
| ) |
Definition at line 931 of file cryptonote_format_utils.cpp.

| crypto::hash cryptonote::get_blob_hash | ( | const blobdata & | blob | ) |
Definition at line 982 of file cryptonote_format_utils.cpp.
| crypto::hash cryptonote::get_blob_hash | ( | const epee::span< const char > & | blob | ) |
Definition at line 989 of file cryptonote_format_utils.cpp.
| block_complete_entry cryptonote::get_block_complete_entry | ( | block & | b, |
| tx_memory_pool & | pool | ||
| ) |
Definition at line 1406 of file cryptonote_core.cpp.


| bool cryptonote::get_block_hash | ( | const block & | b, |
| crypto::hash & | res | ||
| ) |
Definition at line 1179 of file cryptonote_format_utils.cpp.


| crypto::hash cryptonote::get_block_hash | ( | const block & | b | ) |
Definition at line 1199 of file cryptonote_format_utils.cpp.
Definition at line 1165 of file cryptonote_format_utils.cpp.


Definition at line 728 of file cryptonote_format_utils.cpp.


| bool cryptonote::get_block_longhash | ( | const block & | b, |
| crypto::hash & | res, | ||
| uint64_t | height | ||
| ) |
Definition at line 1206 of file cryptonote_format_utils.cpp.


| crypto::hash cryptonote::get_block_longhash | ( | const block & | b, |
| uint64_t | height | ||
| ) |
Definition at line 1234 of file cryptonote_format_utils.cpp.
| bool cryptonote::get_block_reward | ( | size_t | median_weight, |
| size_t | current_block_weight, | ||
| uint64_t | already_generated_coins, | ||
| uint64_t & | reward, | ||
| uint8_t | version, | ||
| uint64_t | current_block_height, | ||
| network_type | nettype | ||
| ) |
Definition at line 91 of file cryptonote_basic_impl.cpp.


|
inline |
Definition at line 266 of file cryptonote_config.h.

| unsigned int cryptonote::get_default_decimal_point | ( | ) |
Definition at line 948 of file cryptonote_format_utils.cpp.
| 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::get_encrypted_payment_id_from_tx_extra_nonce | ( | const blobdata & | extra_nonce, |
| crypto::hash8 & | payment_id | ||
| ) |
Definition at line 696 of file cryptonote_format_utils.cpp.

| void cryptonote::get_hash_stats | ( | uint64_t & | tx_hashes_calculated, |
| uint64_t & | tx_hashes_cached, | ||
| uint64_t & | block_hashes_calculated, | ||
| uint64_t & | block_hashes_cached | ||
| ) |
Definition at line 1322 of file cryptonote_format_utils.cpp.
| bool cryptonote::get_inputs_etn_amount | ( | const transaction & | tx, |
| uint64_t & | etn | ||
| ) |
Definition at line 706 of file cryptonote_format_utils.cpp.

| size_t cryptonote::get_max_tx_size | ( | ) |
Definition at line 86 of file cryptonote_basic_impl.cpp.
| size_t cryptonote::get_min_block_weight | ( | uint8_t | version | ) |
Definition at line 73 of file cryptonote_basic_impl.cpp.

| crypto::secret_key cryptonote::get_multisig_blinded_secret_key | ( | const crypto::secret_key & | key | ) |
Definition at line 47 of file multisig.cpp.

| size_t cryptonote::get_object_blobsize | ( | const t_object & | o | ) |
Definition at line 184 of file cryptonote_format_utils.h.


| bool cryptonote::get_object_hash | ( | const t_object & | o, |
| crypto::hash & | res | ||
| ) |
Definition at line 177 of file cryptonote_format_utils.h.


| bool cryptonote::get_object_hash | ( | const t_object & | o, |
| crypto::hash & | res, | ||
| size_t & | blob_size | ||
| ) |
Definition at line 191 of file cryptonote_format_utils.h.

| uint64_t cryptonote::get_outs_etn_amount | ( | const transaction & | tx | ) |
Definition at line 829 of file cryptonote_format_utils.cpp.

| bool cryptonote::get_payment_id_from_tx_extra_nonce | ( | const blobdata & | extra_nonce, |
| crypto::hash & | payment_id | ||
| ) |
Definition at line 686 of file cryptonote_format_utils.cpp.

|
inline |
Definition at line 91 of file connection_context.h.
|
inline |
Definition at line 72 of file connection_context.h.
| crypto::hash cryptonote::get_pruned_transaction_hash | ( | const transaction & | t, |
| const crypto::hash & | pruned_data_hash | ||
| ) |
Definition at line 1041 of file cryptonote_format_utils.cpp.

| crypto::hash cryptonote::get_transaction_hash | ( | const transaction & | t | ) |
Definition at line 996 of file cryptonote_format_utils.cpp.

| bool cryptonote::get_transaction_hash | ( | const transaction & | t, |
| crypto::hash & | res | ||
| ) |
Definition at line 1004 of file cryptonote_format_utils.cpp.

| bool cryptonote::get_transaction_hash | ( | const transaction & | t, |
| crypto::hash & | res, | ||
| size_t * | blob_size | ||
| ) |
Definition at line 1126 of file cryptonote_format_utils.cpp.

| bool cryptonote::get_transaction_hash | ( | const transaction & | t, |
| crypto::hash & | res, | ||
| size_t & | blob_size | ||
| ) |
Definition at line 1160 of file cryptonote_format_utils.cpp.

| void cryptonote::get_transaction_prefix_hash | ( | const transaction_prefix & | tx, |
| crypto::hash & | h | ||
| ) |
Definition at line 112 of file cryptonote_format_utils.cpp.


| crypto::hash cryptonote::get_transaction_prefix_hash | ( | const transaction_prefix & | tx | ) |
Definition at line 121 of file cryptonote_format_utils.cpp.

| crypto::hash cryptonote::get_transaction_prunable_hash | ( | const transaction & | t, |
| const cryptonote::blobdata * | blobdata | ||
| ) |
Definition at line 1034 of file cryptonote_format_utils.cpp.

| uint64_t cryptonote::get_transaction_weight | ( | const transaction & | tx, |
| size_t | blob_size | ||
| ) |
Definition at line 347 of file cryptonote_format_utils.cpp.

| uint64_t cryptonote::get_transaction_weight | ( | const transaction & | tx | ) |
Definition at line 352 of file cryptonote_format_utils.cpp.

| bool cryptonote::get_tx_fee | ( | const transaction & | tx, |
| uint64_t & | fee | ||
| ) |
Definition at line 369 of file cryptonote_format_utils.cpp.

| uint64_t cryptonote::get_tx_fee | ( | const transaction & | tx | ) |
Definition at line 394 of file cryptonote_format_utils.cpp.
| crypto::public_key cryptonote::get_tx_pub_key_from_extra | ( | const std::vector< uint8_t > & | tx_extra, |
| size_t | pk_index | ||
| ) |
Definition at line 517 of file cryptonote_format_utils.cpp.


| crypto::public_key cryptonote::get_tx_pub_key_from_extra | ( | const transaction_prefix & | tx_prefix, |
| size_t | pk_index | ||
| ) |
Definition at line 529 of file cryptonote_format_utils.cpp.

| crypto::public_key cryptonote::get_tx_pub_key_from_extra | ( | const transaction & | tx, |
| size_t | pk_index | ||
| ) |
Definition at line 534 of file cryptonote_format_utils.cpp.

| void cryptonote::get_tx_tree_hash | ( | const std::vector< crypto::hash > & | tx_hashes, |
| crypto::hash & | h | ||
| ) |
Definition at line 1290 of file cryptonote_format_utils.cpp.


| crypto::hash cryptonote::get_tx_tree_hash | ( | const std::vector< crypto::hash > & | tx_hashes | ) |
Definition at line 1295 of file cryptonote_format_utils.cpp.
| crypto::hash cryptonote::get_tx_tree_hash | ( | const block & | b | ) |
Definition at line 1302 of file cryptonote_format_utils.cpp.

| std::string cryptonote::get_unit | ( | unsigned int | decimal_point | ) |
Definition at line 953 of file cryptonote_format_utils.cpp.
|
inline |
|
inline |
| std::string cryptonote::hex | ( | difficulty_type | v | ) |
Definition at line 254 of file difficulty.cpp.
| bool cryptonote::is_coinbase | ( | const transaction & | tx | ) |
Definition at line 232 of file cryptonote_basic_impl.cpp.

| bool cryptonote::is_out_to_acc | ( | const account_keys & | acc, |
| const txout_to_key & | out_key, | ||
| const crypto::public_key & | tx_pub_key, | ||
| const std::vector< crypto::public_key > & | additional_tx_pub_keys, | ||
| size_t | output_index | ||
| ) |
Definition at line 846 of file cryptonote_format_utils.cpp.


| boost::optional< subaddress_receive_info > cryptonote::is_out_to_acc_precomp | ( | const std::unordered_map< crypto::public_key, subaddress_index > & | subaddresses, |
| const crypto::public_key & | out_key, | ||
| const crypto::key_derivation & | derivation, | ||
| const std::vector< crypto::key_derivation > & | additional_derivations, | ||
| size_t | output_index, | ||
| hw::device & | hwdev | ||
| ) |
Definition at line 869 of file cryptonote_format_utils.cpp.


| boost::optional< subaddress_receive_info > cryptonote::is_out_to_acc_precomp_public | ( | const std::unordered_map< crypto::public_key, subaddress_index > & | subaddresses, |
| const cryptonote::account_public_address | output_address | ||
| ) |
Definition at line 889 of file cryptonote_format_utils.cpp.
| bool cryptonote::is_v1_tx | ( | const blobdata_ref & | tx_blob | ) |
Definition at line 190 of file cryptonote_format_utils.cpp.


Definition at line 203 of file cryptonote_format_utils.cpp.

Definition at line 1315 of file cryptonote_format_utils.cpp.

| void cryptonote::lmdb_resized | ( | MDB_env * | env | ) |
Definition at line 502 of file db_lmdb.cpp.

|
inline |
Definition at line 527 of file db_lmdb.cpp.

|
inline |
Definition at line 537 of file db_lmdb.cpp.


| bool cryptonote::lookup_acc_outs | ( | const account_keys & | acc, |
| const transaction & | tx, | ||
| std::vector< size_t > & | outs, | ||
| uint64_t & | etn_transfered | ||
| ) |
Definition at line 899 of file cryptonote_format_utils.cpp.


| bool cryptonote::lookup_acc_outs | ( | const account_keys & | acc, |
| const transaction & | tx, | ||
| const crypto::public_key & | tx_pub_key, | ||
| const std::vector< crypto::public_key > & | additional_tx_pub_keys, | ||
| std::vector< size_t > & | outs, | ||
| uint64_t & | etn_transfered | ||
| ) |
Definition at line 908 of file cryptonote_format_utils.cpp.


| const boost::multiprecision::uint256_t cryptonote::max128bit | ( | std::numeric_limits< boost::multiprecision::uint128_t > | ::max() | ) |

| const boost::multiprecision::uint512_t cryptonote::max256bit | ( | std::numeric_limits< boost::multiprecision::uint256_t > | ::max() | ) |

| const difficulty_type cryptonote::max64bit | ( | std::numeric_limits< std::uint64_t > | ::max() | ) |

Definition at line 181 of file multisig.cpp.
| BlockchainDB * cryptonote::new_db | ( | const std::string & | db_type | ) |
| difficulty_type cryptonote::next_difficulty | ( | std::vector< std::uint64_t > | timestamps, |
| std::vector< difficulty_type > | cumulative_difficulties, | ||
| size_t | target_seconds, | ||
| uint8_t | version = 1 |
||
| ) |
| difficulty_type cryptonote::next_difficulty | ( | std::vector< uint64_t > | timestamps, |
| std::vector< difficulty_type > | cumulative_difficulties, | ||
| size_t | target_seconds, | ||
| uint8_t | version | ||
| ) |
Definition at line 210 of file difficulty.cpp.


| uint64_t cryptonote::next_difficulty_64 | ( | std::vector< std::uint64_t > | timestamps, |
| std::vector< uint64_t > | cumulative_difficulties, | ||
| size_t | target_seconds, | ||
| uint8_t | version | ||
| ) |
Definition at line 123 of file difficulty.cpp.
| std::string cryptonote::obj_to_json_str | ( | T & | obj | ) |
Definition at line 200 of file cryptonote_format_utils.h.


|
inline |
Definition at line 59 of file subaddress_index.h.
| bool cryptonote::operator== | ( | const cryptonote::transaction & | a, |
| const cryptonote::transaction & | b | ||
| ) |
Definition at line 363 of file cryptonote_basic_impl.cpp.

| bool cryptonote::operator== | ( | const cryptonote::block & | a, |
| const cryptonote::block & | b | ||
| ) |
Definition at line 367 of file cryptonote_basic_impl.cpp.

Definition at line 312 of file cryptonote_format_utils.cpp.


| bool cryptonote::parse_and_validate_block_from_blob | ( | const blobdata & | b_blob, |
| block & | b, | ||
| crypto::hash * | block_hash | ||
| ) |
Definition at line 1241 of file cryptonote_format_utils.cpp.


Definition at line 1260 of file cryptonote_format_utils.cpp.

| bool cryptonote::parse_and_validate_block_from_blob | ( | const blobdata & | b_blob, |
| block & | b, | ||
| crypto::hash & | block_hash | ||
| ) |
Definition at line 1265 of file cryptonote_format_utils.cpp.

| bool cryptonote::parse_and_validate_tx_base_from_blob | ( | const blobdata & | tx_blob, |
| transaction & | tx | ||
| ) |
Definition at line 146 of file cryptonote_format_utils.cpp.


| bool cryptonote::parse_and_validate_tx_from_blob | ( | const blobdata & | tx_blob, |
| transaction & | tx | ||
| ) |
Definition at line 133 of file cryptonote_format_utils.cpp.


| bool cryptonote::parse_and_validate_tx_from_blob | ( | const blobdata & | tx_blob, |
| transaction & | tx, | ||
| crypto::hash & | tx_hash | ||
| ) |
Definition at line 168 of file cryptonote_format_utils.cpp.

| bool cryptonote::parse_and_validate_tx_from_blob | ( | const blobdata & | tx_blob, |
| transaction & | tx, | ||
| crypto::hash & | tx_hash, | ||
| crypto::hash & | tx_prefix_hash | ||
| ) |
Definition at line 182 of file cryptonote_format_utils.cpp.

| bool cryptonote::parse_and_validate_tx_prefix_from_blob | ( | const blobdata & | tx_blob, |
| transaction_prefix & | tx | ||
| ) |
Definition at line 158 of file cryptonote_format_utils.cpp.


| bool cryptonote::parse_tx_extra | ( | const std::vector< uint8_t > & | tx_extra, |
| std::vector< tx_extra_field > & | tx_extra_fields | ||
| ) |
Definition at line 402 of file cryptonote_format_utils.cpp.


Definition at line 302 of file cryptonote_format_utils.cpp.
| std::string cryptonote::print_etn | ( | uint64_t | amount, |
| unsigned int | decimal_point | ||
| ) |
Definition at line 968 of file cryptonote_format_utils.cpp.

| std::vector< uint64_t > cryptonote::relative_output_offsets_to_absolute | ( | const std::vector< uint64_t > & | off | ) |
Definition at line 1214 of file cryptonote_format_utils.cpp.

| bool cryptonote::remove_field_from_tx_extra | ( | std::vector< uint8_t > & | tx_extra, |
| const std::type_info & | type | ||
| ) |
Definition at line 639 of file cryptonote_format_utils.cpp.

| void cryptonote::set_default_decimal_point | ( | unsigned int | decimal_point | ) |
Definition at line 936 of file cryptonote_format_utils.cpp.
| void cryptonote::set_encrypted_payment_id_to_tx_extra_nonce | ( | blobdata & | extra_nonce, |
| const crypto::hash8 & | payment_id | ||
| ) |
Definition at line 678 of file cryptonote_format_utils.cpp.

| void cryptonote::set_payment_id_to_tx_extra_nonce | ( | blobdata & | extra_nonce, |
| const crypto::hash & | payment_id | ||
| ) |
Definition at line 670 of file cryptonote_format_utils.cpp.


| std::string cryptonote::short_hash_str | ( | const crypto::hash & | h | ) |
Definition at line 837 of file cryptonote_format_utils.cpp.

| size_t cryptonote::slow_memmem | ( | const void * | start_buff, |
| size_t | buflen, | ||
| const void * | pat, | ||
| size_t | patlen | ||
| ) |
| bool cryptonote::sort_tx_extra | ( | const std::vector< uint8_t > & | tx_extra, |
| std::vector< uint8_t > & | sorted_tx_extra, | ||
| bool | allow_partial | ||
| ) |
Definition at line 445 of file cryptonote_format_utils.cpp.


| bool cryptonote::t_serializable_object_from_blob | ( | t_object & | to, |
| const blobdata & | b_blob | ||
| ) |
Definition at line 149 of file cryptonote_format_utils.h.

| bool cryptonote::t_serializable_object_to_blob | ( | const t_object & | to, |
| blobdata & | b_blob | ||
| ) |
Definition at line 159 of file cryptonote_format_utils.h.


| blobdata cryptonote::t_serializable_object_to_blob | ( | const t_object & | to | ) |
Definition at line 169 of file cryptonote_format_utils.h.

| bool cryptonote::tx_sanity_check | ( | Blockchain & | blockchain, |
| const cryptonote::blobdata & | tx_blob | ||
| ) |
Definition at line 42 of file tx_sanity_check.cpp.


| blobdata cryptonote::tx_to_blob | ( | const transaction & | tx | ) |
Definition at line 1280 of file cryptonote_format_utils.cpp.


| bool cryptonote::tx_to_blob | ( | const transaction & | tx, |
| blobdata & | b_blob | ||
| ) |
Definition at line 1285 of file cryptonote_format_utils.cpp.


| const command_line::arg_descriptor< bool, false > cryptonote::arg_addr_db_salvage |
Definition at line 101 of file blockchain_db.cpp.
| const command_line::arg_descriptor< size_t > cryptonote::arg_block_download_max_size |
Definition at line 117 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< std::string, false, true, 2 > cryptonote::arg_data_dir |
Definition at line 96 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool, false > cryptonote::arg_db_salvage |
Definition at line 95 of file blockchain_db.cpp.
| const command_line::arg_descriptor< std::string > cryptonote::arg_db_sync_mode |
Definition at line 90 of file blockchain_db.cpp.
| const command_line::arg_descriptor< std::string > cryptonote::arg_db_type |
Definition at line 85 of file blockchain_db.cpp.
| std::string cryptonote::arg_db_type_description = "Specify database type, available: " + cryptonote::blockchain_db_types(", ") |
Definition at line 84 of file blockchain_db.cpp.
| const command_line::arg_descriptor<bool> cryptonote::arg_disable_dns_checkpoints |
Definition at line 113 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool > cryptonote::arg_fallback_to_pow |
Definition at line 223 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< std::string > cryptonote::arg_fallback_to_pow_checkpoint_hash |
Definition at line 240 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< uint64_t > cryptonote::arg_fallback_to_pow_checkpoint_height |
Definition at line 234 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< difficulty_type > cryptonote::arg_fixed_difficulty |
Definition at line 86 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool > cryptonote::arg_offline |
Definition at line 109 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool, false > cryptonote::arg_regtest_on |
Definition at line 81 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool > cryptonote::arg_skip_block_sig_verification |
Definition at line 91 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool, false > cryptonote::arg_stagenet_on |
Definition at line 76 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< bool, false > cryptonote::arg_testnet_on |
Definition at line 71 of file cryptonote_core.cpp.