aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_tx_utils.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-12 21:40:53 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-13 09:25:05 +0100
commit16afab900dac52f2a08d93f8a9b73ed6aa6f0384 (patch)
tree77514f2c606ba0b0f58104a051de31843bb15403 /src/cryptonote_core/cryptonote_tx_utils.h
parentcommon: add apply_permutation file and function (diff)
downloadmonero-16afab900dac52f2a08d93f8a9b73ed6aa6f0384.tar.xz
core: sort ins and outs key key image and public key, respectively
This avoids leaking some small amount of information
Diffstat (limited to 'src/cryptonote_core/cryptonote_tx_utils.h')
-rw-r--r--src/cryptonote_core/cryptonote_tx_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.h b/src/cryptonote_core/cryptonote_tx_utils.h
index 7aa7c280d..69254fb5f 100644
--- a/src/cryptonote_core/cryptonote_tx_utils.h
+++ b/src/cryptonote_core/cryptonote_tx_utils.h
@@ -71,7 +71,7 @@ namespace cryptonote
//---------------------------------------------------------------
crypto::public_key get_destination_view_key_pub(const std::vector<tx_destination_entry> &destinations, const account_keys &sender_keys);
bool construct_tx(const account_keys& sender_account_keys, const std::vector<tx_source_entry>& sources, const std::vector<tx_destination_entry>& destinations, std::vector<uint8_t> extra, transaction& tx, uint64_t unlock_time);
- bool construct_tx_and_get_tx_key(const account_keys& sender_account_keys, const std::vector<tx_source_entry>& sources, const std::vector<tx_destination_entry>& destinations, std::vector<uint8_t> extra, transaction& tx, uint64_t unlock_time, crypto::secret_key &tx_key, bool rct = false);
+ bool construct_tx_and_get_tx_key(const account_keys& sender_account_keys, std::vector<tx_source_entry> sources, const std::vector<tx_destination_entry>& destinations, std::vector<uint8_t> extra, transaction& tx, uint64_t unlock_time, crypto::secret_key &tx_key, bool rct = false);
bool generate_genesis_block(
block& bl