diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-12 11:57:31 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-12 11:57:31 +0200 |
commit | d855f9bb92dbfab707a0e37505906366de818a14 (patch) | |
tree | 6fa3eb78d4f78e82ce82045a1909cd804feba3bb /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #4900 (diff) | |
parent | blockchain_prune_known_spent_data: blackball file is now optional (diff) | |
download | monero-d855f9bb92dbfab707a0e37505906366de818a14.tar.xz |
Merge pull request #4901
a48f2dab blockchain_prune_known_spent_data: blackball file is now optional (moneromooo-monero)
17b45725 Outputs where all amounts are known spent can now be pruned (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 7870a2efd..f13aa0cae 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -1405,6 +1405,13 @@ public: virtual cryptonote::blobdata get_txpool_tx_blob(const crypto::hash& txid) const = 0; /** + * @brief prune output data for the given amount + * + * @param amount the amount for which to prune data + */ + virtual void prune_outputs(uint64_t amount) = 0; + + /** * @brief runs a function over all txpool transactions * * The subclass should run the passed function for each txpool tx it has |