mirror of
https://github.com/monero-project/monero.git
synced 2026-01-03 00:11:19 -08:00
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
This commit is contained in:
@@ -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<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; }
|
||||
void stop() {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user