aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-07-17 10:27:37 -0400
committerZachary Michaels <mikezackles@gmail.com>2014-07-17 11:25:41 -0400
commit85a04cb16866b66df4330e7ee770793cf6b2cf53 (patch)
tree86146a4eae6b2bf9078b45f1d985ea00ad19e4f7 /src
parentFix thread count argument handling in simplewallet (diff)
downloadmonero-85a04cb16866b66df4330e7ee770793cf6b2cf53.tar.xz
Make some tx_pool methods private
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/tx_pool.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h
index 649af41a3..72eff378d 100644
--- a/src/cryptonote_core/tx_pool.h
+++ b/src/cryptonote_core/tx_pool.h
@@ -36,9 +36,6 @@ namespace cryptonote
bool take_tx(const crypto::hash &id, transaction &tx, size_t& blob_size, uint64_t& fee);
bool have_tx(const crypto::hash &id);
- bool have_tx_keyimg_as_spent(const crypto::key_image& key_im);
- bool have_tx_keyimges_as_spent(const transaction& tx);
-
bool on_blockchain_inc(uint64_t new_block_height, const crypto::hash& top_block_id);
bool on_blockchain_dec(uint64_t new_block_height, const crypto::hash& top_block_id);
void on_idle();
@@ -53,9 +50,6 @@ namespace cryptonote
bool get_transactions(std::list<transaction>& txs);
bool get_transaction(const crypto::hash& h, transaction& tx);
size_t get_transactions_count();
- bool remove_transaction_keyimages(const transaction& tx);
- bool have_key_images(const std::unordered_set<crypto::key_image>& kic, const transaction& tx);
- bool append_key_images(std::unordered_set<crypto::key_image>& kic, const transaction& tx);
std::string print_pool(bool short_format);
/*bool flush_pool(const std::strig& folder);
@@ -89,6 +83,12 @@ namespace cryptonote
private:
bool remove_stuck_transactions();
+ bool have_tx_keyimg_as_spent(const crypto::key_image& key_im);
+ bool have_tx_keyimges_as_spent(const transaction& tx);
+ bool remove_transaction_keyimages(const transaction& tx);
+ bool have_key_images(const std::unordered_set<crypto::key_image>& kic, const transaction& tx);
+ bool append_key_images(std::unordered_set<crypto::key_image>& kic, const transaction& tx);
+
bool is_transaction_ready_to_go(tx_details& txd);
typedef std::unordered_map<crypto::hash, tx_details > transactions_container;
typedef std::unordered_map<crypto::key_image, std::unordered_set<crypto::hash> > key_images_container;