diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-11-27 00:09:25 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-03-22 16:03:31 +0000 |
commit | 054b4c7f412013e33c80efa8e0f0f33944572a11 (patch) | |
tree | e0285a3b2b57187b15c6bc77680bf3d7a44fb446 /tests/core_proxy | |
parent | Merge pull request #6388 (diff) | |
download | monero-054b4c7f412013e33c80efa8e0f0f33944572a11.tar.xz |
protocol: request txpool contents when synced
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
Diffstat (limited to 'tests/core_proxy')
-rw-r--r-- | tests/core_proxy/core_proxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index 8732c85cc..d09eb31c9 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -110,5 +110,7 @@ namespace tests bool pad_transactions() const { return false; } uint32_t get_blockchain_pruning_seed() const { return 0; } bool prune_blockchain(uint32_t pruning_seed) const { return true; } + bool get_txpool_complement(const std::vector<crypto::hash> &hashes, std::vector<cryptonote::blobdata> &txes) { return false; } + bool get_pool_transaction_hashes(std::vector<crypto::hash>& txs, bool include_unrelayed_txes = true) const { return false; } }; } |