diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-01-25 16:55:18 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-01-25 16:55:18 -0800 |
commit | 8eedc8a390c73112af9fff712a47c2c1814bc16a (patch) | |
tree | ab8cf897aaeb94c7ad18fd7e8336009c354640d4 /src/blockchain_db/testdb.h | |
parent | Merge pull request #6170 (diff) | |
parent | blockchain: speedup fetching pruned contiguous tx blobs (diff) | |
download | monero-8eedc8a390c73112af9fff712a47c2c1814bc16a.tar.xz |
Merge pull request #6140
08635a08 blockchain: speedup fetching pruned contiguous tx blobs (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/testdb.h')
-rw-r--r-- | src/blockchain_db/testdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_db/testdb.h b/src/blockchain_db/testdb.h index a5847dec6..46de38c7e 100644 --- a/src/blockchain_db/testdb.h +++ b/src/blockchain_db/testdb.h @@ -69,6 +69,7 @@ public: virtual cryptonote::blobdata get_block_blob(const crypto::hash& h) const override { return cryptonote::blobdata(); } virtual bool get_tx_blob(const crypto::hash& h, cryptonote::blobdata &tx) const override { return false; } virtual bool get_pruned_tx_blob(const crypto::hash& h, cryptonote::blobdata &tx) const override { return false; } + virtual bool get_pruned_tx_blobs_from(const crypto::hash& h, size_t count, std::vector<cryptonote::blobdata> &bd) const { return false; } virtual bool get_prunable_tx_blob(const crypto::hash& h, cryptonote::blobdata &tx) const override { return false; } virtual bool get_prunable_tx_hash(const crypto::hash& tx_hash, crypto::hash &prunable_hash) const override { return false; } virtual uint64_t get_block_height(const crypto::hash& h) const override { return 0; } |