|
| bool | matches_category (relay_method method, relay_category category) noexcept |
| BlockchainDB * | new_db () |
| void | lmdb_resized (MDB_env *env, int isactive) |
| int | lmdb_txn_begin (MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **txn) |
| int | lmdb_txn_renew (MDB_txn *txn) |
| static bool | is_v1_tx (MDB_cursor *c_txs_pruned, MDB_val *tx_id) |
| static void | derive_key (const crypto::chacha_key &base_key, crypto::chacha_key &key) |
| static epee::wipeable_string | get_key_stream (const crypto::chacha_key &base_key, const crypto::chacha_iv &iv, size_t bytes) |
| std::string | get_protocol_state_string (cryptonote_connection_context::state s) |
| char | get_protocol_state_char (cryptonote_connection_context::state s) |
| 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) |
| 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) |
| static unsigned char * | operator& (ec_point &point) |
| static const unsigned char * | operator& (const ec_point &point) |
| static void | add_public_key (crypto::public_key &AB, const crypto::public_key &A, const crypto::public_key &B) |
| uint64_t | get_transaction_weight_clawback (const transaction &tx, size_t n_padded_outputs) |
| void | get_transaction_prefix_hash (const transaction_prefix &tx, crypto::hash &h, hw::device &hwdev) |
| crypto::hash | get_transaction_prefix_hash (const transaction_prefix &tx, hw::device &hwdev) |
| bool | expand_transaction_1 (transaction &tx, bool base_only) |
| bool | parse_and_validate_tx_from_blob (const blobdata_ref &tx_blob, transaction &tx) |
| bool | parse_and_validate_tx_base_from_blob (const blobdata_ref &tx_blob, transaction &tx) |
| bool | parse_and_validate_tx_prefix_from_blob (const blobdata_ref &tx_blob, transaction_prefix &tx) |
| bool | parse_and_validate_tx_from_blob (const blobdata_ref &tx_blob, transaction &tx, crypto::hash &tx_hash) |
| bool | parse_and_validate_tx_from_blob (const blobdata_ref &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) |
| 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) |
| 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_pruned_transaction_weight (const transaction &tx) |
| uint64_t | get_transaction_weight (const transaction &tx) |
| uint64_t | get_transaction_blob_size (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) |
| template<typename T> |
| static bool | pick (binary_archive< true > &ar, std::vector< tx_extra_field > &fields, uint8_t tag) |
| 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_mm_merkle_root_to_tx_extra (std::vector< uint8_t > &tx_extra, const crypto::hash &mm_merkle_root, size_t mm_merkle_tree_depth) |
| 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_money_amount (const transaction &tx, uint64_t &money) |
| 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_money_overflow (const transaction &tx) |
| bool | check_inputs_overflow (const transaction &tx) |
| bool | check_outs_overflow (const transaction &tx) |
| uint64_t | get_outs_money_amount (const transaction &tx) |
| bool | get_output_public_key (const cryptonote::tx_out &out, crypto::public_key &output_public_key) |
| boost::optional< crypto::view_tag > | get_output_view_tag (const cryptonote::tx_out &out) |
| std::string | short_hash_str (const crypto::hash &h) |
| void | set_tx_out (const uint64_t amount, const crypto::public_key &output_public_key, const bool use_view_tags, const crypto::view_tag &view_tag, tx_out &out) |
| bool | check_output_types (const transaction &tx, const uint8_t hf_version) |
| bool | out_can_be_to_acc (const boost::optional< crypto::view_tag > &view_tag_opt, const crypto::key_derivation &derivation, const size_t output_index, hw::device *hwdev) |
| bool | is_out_to_acc (const account_keys &acc, const crypto::public_key &output_public_key, const crypto::public_key &tx_pub_key, const std::vector< crypto::public_key > &additional_tx_pub_keys, size_t output_index, const boost::optional< crypto::view_tag > &view_tag_opt) |
| 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, const boost::optional< crypto::view_tag > &view_tag_opt) |
| bool | lookup_acc_outs (const account_keys &acc, const transaction &tx, std::vector< size_t > &outs, uint64_t &money_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 &money_transfered) |
| void | get_blob_hash (const blobdata_ref &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) |
| static void | insert_money_decimal_point (std::string &s, unsigned int decimal_point) |
| std::string | print_money (uint64_t amount, unsigned int decimal_point) |
| std::string | print_money (const boost::multiprecision::uint128_t &amount, unsigned int decimal_point) |
| uint64_t | round_money_up (uint64_t amount, unsigned significant_digits) |
| std::string | round_money_up (const std::string &s, unsigned significant_digits) |
| crypto::hash | get_blob_hash (const blobdata &blob) |
| crypto::hash | get_blob_hash (const blobdata_ref &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_ref *blob, crypto::hash &res) |
| crypto::hash | get_transaction_prunable_hash (const transaction &t, const cryptonote::blobdata_ref *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_ref *blob) |
| bool | get_block_hash (const block &b, crypto::hash &res) |
| crypto::hash | get_block_hash (const block &b) |
| 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) |
| bool | parse_and_validate_block_from_blob (const blobdata_ref &b_blob, block &b, crypto::hash *block_hash) |
| bool | parse_and_validate_block_from_blob (const blobdata_ref &b_blob, block &b) |
| bool | parse_and_validate_block_from_blob (const blobdata_ref &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) |
| void | get_transaction_prefix_hash (const transaction_prefix &tx, crypto::hash &h) |
| crypto::hash | get_transaction_prefix_hash (const transaction_prefix &tx) |
| 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) |
| bool | sort_tx_extra (const std::vector< uint8_t > &tx_extra, std::vector< uint8_t > &sorted_tx_extra, bool allow_partial=false) |
| void | set_tx_out (const uint64_t amount, const crypto::public_key &output_public_key, const bool use_view_tags, const crypto::view_tag &view_tag, tx_out &out) |
| 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) |
| static void | mul (uint64_t a, uint64_t b, uint64_t &low, uint64_t &high) |
| static bool | cadd (uint64_t a, uint64_t b) |
| static bool | cadc (uint64_t a, uint64_t b, bool c) |
| bool | check_hash_64 (const crypto::hash &hash, uint64_t difficulty) |
| | checks if a hash fits the given difficulty
|
| uint64_t | next_difficulty_64 (std::vector< std::uint64_t > timestamps, std::vector< uint64_t > cumulative_difficulties, size_t target_seconds) |
| 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) |
| 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) |
| uint32_t | get_aux_slot (const crypto::hash &id, uint32_t nonce, uint32_t n_aux_chains) |
| uint32_t | get_path_from_aux_slot (uint32_t slot, uint32_t n_aux_chains) |
| uint32_t | encode_mm_depth (uint32_t n_aux_chains, uint32_t nonce) |
| bool | decode_mm_depth (uint32_t depth, uint32_t &n_aux_chains, uint32_t &nonce) |
| 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) |
| static double | probability1 (unsigned int blocks, unsigned int expected) |
| static double | probability (unsigned int blocks, unsigned int expected) |
| 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) |
| 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, const crypto::secret_key &tx_key, const std::vector< crypto::secret_key > &additional_tx_keys, bool rct, const rct::RCTConfig &rct_config, bool shuffle_outs, bool use_view_tags) |
| 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, crypto::secret_key &tx_key, std::vector< crypto::secret_key > &additional_tx_keys, bool rct, const rct::RCTConfig &rct_config, bool use_view_tags) |
| 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) |
| bool | generate_genesis_block (block &bl, std::string const &genesis_tx, uint32_t nonce) |
| void | get_altblock_longhash (const block &b, crypto::hash &res, const crypto::hash &seed_hash) |
| bool | get_block_longhash (const Blockchain *pbc, const blobdata &bd, crypto::hash &res, const uint64_t height, const int major_version, const crypto::hash *seed_hash, const int miners) |
| bool | get_block_longhash (const Blockchain *pbc, const block &b, crypto::hash &res, const uint64_t height, const crypto::hash *seed_hash, const int miners) |
| crypto::hash | get_block_longhash (const Blockchain *pbc, const block &b, const uint64_t height, const crypto::hash *seed_hash, const int miners) |
| 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, const crypto::secret_key &tx_key, const std::vector< crypto::secret_key > &additional_tx_keys, bool rct=false, const rct::RCTConfig &rct_config={ rct::RangeProofBorromean, 0 }, bool shuffle_outs=true, bool use_view_tags=false) |
| 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, crypto::secret_key &tx_key, std::vector< crypto::secret_key > &additional_tx_keys, bool rct=false, const rct::RCTConfig &rct_config={ rct::RangeProofBorromean, 0 }, bool use_view_tags=false) |
| 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, const bool use_view_tags, crypto::view_tag &view_tag) |
| bool | tx_sanity_check (const cryptonote::blobdata &tx_blob, uint64_t rct_outs_available) |
| bool | tx_sanity_check (const std::set< uint64_t > &rct_indices, size_t n_indices, uint64_t rct_outs_available) |
| uint64_t | get_transaction_weight_limit (uint8_t hf_version) |
| | Get the maximum transaction weight for a given hardfork.
|
| bool | ver_rct_non_semantics_simple_cached (transaction &tx, const rct::ctkeyM &mix_ring, rct_ver_cache_t &cache, std::uint8_t rct_type_to_cache) |
| | Cached version of rct::verRctNonSemanticsSimple.
|
| bool | ver_mixed_rct_semantics (std::vector< const rct::rctSig * > rvv) |
| | Verify the semantics of a group of RingCT signatures as a batch (if applicable).
|
| bool | ver_non_input_consensus (const transaction &tx, tx_verification_context &tvc, std::uint8_t hf_version) |
| | Verify every non-input consensus rule for a group of non-coinbase transactions.
|
| bool | ver_non_input_consensus (const pool_supplement &ps, tx_verification_context &tvc, const std::uint8_t hf_version) |
| template<class CryptoHashContainer> |
| bool | make_pool_supplement_from_block_entry (const std::vector< cryptonote::tx_blob_entry > &tx_entries, const CryptoHashContainer &blk_tx_hashes, const bool allow_pruned, cryptonote::pool_supplement &pool_supplement) |
| bool | make_full_pool_supplement_from_block_entry (const cryptonote::block_complete_entry &blk_entry, cryptonote::pool_supplement &pool_supplement) |
| static bool | operator== (const crypto::public_key &k0, const rct::key &k1) |
| static bool | operator!= (const crypto::public_key &k0, const rct::key &k1) |
| static bool | operator== (const crypto::secret_key &k0, const rct::key &k1) |
| static bool | operator!= (const crypto::secret_key &k0, const rct::key &k1) |
| size_t | slow_memmem (const void *start_buff, size_t buflen, const void *pat, size_t patlen) |
| std::string | make_rpc_payment_signature (const crypto::secret_key &skey) |
| bool | verify_rpc_payment_signature (const std::string &message, crypto::public_key &pkey, uint64_t &ts) |
| bool | expand_transaction_1 (transaction &tx, bool base_only) |