aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-29 21:34:10 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-29 21:34:10 +0100
commit69ce33f2175eb0692846e18572608fa25c41976e (patch)
tree63e39a745a8574149cd6386bf88c553a18da3b3e /src/cryptonote_core/blockchain.h
parentMerge pull request #2533 (diff)
downloadmonero-69ce33f2175eb0692846e18572608fa25c41976e.tar.xz
core: fix failure to sync when a tx is already in the pool
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 00b40d0ad..9de0b0dde 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -961,6 +961,13 @@ namespace cryptonote
void cancel();
+ /**
+ * @brief called when we see a tx originating from a block
+ *
+ * Used for handling txes from historical blocks in a fast way
+ */
+ void on_new_tx_from_block(const cryptonote::transaction &tx);
+
private:
// TODO: evaluate whether or not each of these typedefs are left over from blockchain_storage