aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptonote_core')
-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;