diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:31:37 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:31:37 +0200 |
commit | d8bc28cc3636b370b112d0de09f57e5c5b0b3322 (patch) | |
tree | 2fd29b2a139a9847019c0be1b3074f043ecf6aa7 /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #2550 (diff) | |
parent | core: fix failure to sync when a tx is already in the pool (diff) | |
download | monero-d8bc28cc3636b370b112d0de09f57e5c5b0b3322.tar.xz |
Merge pull request #2552
69ce33f2 core: fix failure to sync when a tx is already in the pool (moneromooo-monero)
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 d5bcad2e2..f64bd35e3 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -962,6 +962,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 |