core: notify the txpool when transactions are relayed

This commit is contained in:
moneromooo-monero 2016-10-22 20:46:51 +01:00
parent f3c374fe08
commit 1e163666f3
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
5 changed files with 24 additions and 0 deletions

View file

@ -63,6 +63,7 @@ public:
bool cleanup_handle_incoming_blocks(bool force_sync = false) { return true; }
uint64_t get_target_blockchain_height() const { return 1; }
size_t get_block_sync_size() const { return BLOCKS_SYNCHRONIZING_DEFAULT_COUNT; }
virtual void on_transaction_relayed(const cryptonote::blobdata& tx) {}
};
typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server;