diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-22 17:52:31 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-22 18:07:19 +0000 |
commit | d2c031332ec6197c1f3bd4b0147e6cd2c7e35ee5 (patch) | |
tree | f7d44908744dbca0b4e04682586ff00bd46e310a /src/wallet/wallet2.h | |
parent | wallet2: minor cleanup (diff) | |
download | monero-d2c031332ec6197c1f3bd4b0147e6cd2c7e35ee5.tar.xz |
wallet: speedup refresh from daemon
Assume the whole of a coinbase goes to the same address (so that
if the first output isn't for us, none of it is), and only look
for payment id when we received something in the transaction.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 8ddbcf7f5..03a368445 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -336,7 +336,7 @@ namespace tools * \param password Password of wallet file */ void load_keys(const std::string& keys_file_name, const std::string& password); - void process_new_transaction(const cryptonote::transaction& tx, uint64_t height); + void process_new_transaction(const cryptonote::transaction& tx, uint64_t height, bool miner_tx); void process_new_blockchain_entry(const cryptonote::block& b, const cryptonote::block_complete_entry& bche, const crypto::hash& bl_id, uint64_t height); void detach_blockchain(uint64_t height); void get_short_chain_history(std::list<crypto::hash>& ids) const; |