diff options
| author | Riccardo Spagni <ric@spagni.net> | 2015-11-21 13:04:56 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2015-11-21 13:05:01 +0200 |
| commit | 830904ca4efeb49c87af246a975bc307e2d5f777 (patch) | |
| tree | 70c92777fc82a486b459d89dac53bdfd4bbbc377 /tests/core_proxy | |
| parent | 0d09e15a1c0cc02255bf0c091efd3b28bbeb0a9f (diff) | |
| parent | 932994c0cb25d21ccc5795c23b0e342427260625 (diff) | |
| download | monzero-core-830904ca4efeb49c87af246a975bc307e2d5f777.tar.gz monzero-core-830904ca4efeb49c87af246a975bc307e2d5f777.tar.xz monzero-core-830904ca4efeb49c87af246a975bc307e2d5f777.zip | |
Merge pull request #492
932994c Relay transactions when they linger too long in the pool (moneromooo-monero)
Diffstat (limited to 'tests/core_proxy')
| -rw-r--r-- | tests/core_proxy/core_proxy.cpp | 2 | ||||
| -rw-r--r-- | tests/core_proxy/core_proxy.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/core_proxy/core_proxy.cpp b/tests/core_proxy/core_proxy.cpp index b942ed5c5..5c851d774 100644 --- a/tests/core_proxy/core_proxy.cpp +++ b/tests/core_proxy/core_proxy.cpp @@ -167,7 +167,7 @@ string tx2str(const cryptonote::transaction& tx, const cryptonote::hash256& tx_h return ss.str(); }*/ -bool tests::proxy_core::handle_incoming_tx(const cryptonote::blobdata& tx_blob, cryptonote::tx_verification_context& tvc, bool keeped_by_block) { +bool tests::proxy_core::handle_incoming_tx(const cryptonote::blobdata& tx_blob, cryptonote::tx_verification_context& tvc, bool keeped_by_block, bool relayed) { if (!keeped_by_block) return true; diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index 6b131e9eb..54025bbf5 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -75,7 +75,7 @@ namespace tests bool get_stat_info(cryptonote::core_stat_info& st_inf){return true;} bool have_block(const crypto::hash& id); bool get_blockchain_top(uint64_t& height, crypto::hash& top_id); - bool handle_incoming_tx(const cryptonote::blobdata& tx_blob, cryptonote::tx_verification_context& tvc, bool keeped_by_block); + bool handle_incoming_tx(const cryptonote::blobdata& tx_blob, cryptonote::tx_verification_context& tvc, bool keeped_by_block, bool relaued); bool handle_incoming_block(const cryptonote::blobdata& block_blob, cryptonote::block_verification_context& bvc, bool update_miner_blocktemplate = true); void pause_mine(){} void resume_mine(){} |
