diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-29 21:34:10 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-29 21:34:10 +0100 |
commit | 69ce33f2175eb0692846e18572608fa25c41976e (patch) | |
tree | 63e39a745a8574149cd6386bf88c553a18da3b3e /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #2533 (diff) | |
download | monero-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.h | 7 |
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 |