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/unit_tests/node_server.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/unit_tests') diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index c92f70b97..dff223ed3 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -91,6 +91,8 @@ public: bool prune_blockchain(uint32_t pruning_seed = 0) { return true; } bool is_within_compiled_block_hash_area(uint64_t height) const { return false; } bool has_block_weights(uint64_t height, uint64_t nblocks) const { return false; } + 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; } void stop() {} }; -- cgit v1.2.3