From 054b4c7f412013e33c80efa8e0f0f33944572a11 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 27 Nov 2019 00:09:25 +0000 Subject: 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 --- tests/core_proxy/core_proxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/core_proxy/core_proxy.h') 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 &hashes, std::vector &txes) { return false; } + bool get_pool_transaction_hashes(std::vector& txs, bool include_unrelayed_txes = true) const { return false; } }; } -- cgit v1.2.3