diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-21 00:26:48 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-21 00:56:21 +0000 |
| commit | 932994c0cb25d21ccc5795c23b0e342427260625 (patch) | |
| tree | 70c92777fc82a486b459d89dac53bdfd4bbbc377 /tests/core_proxy/core_proxy.cpp | |
| parent | 0d09e15a1c0cc02255bf0c091efd3b28bbeb0a9f (diff) | |
| download | monzero-core-932994c0cb25d21ccc5795c23b0e342427260625.tar.gz monzero-core-932994c0cb25d21ccc5795c23b0e342427260625.tar.xz monzero-core-932994c0cb25d21ccc5795c23b0e342427260625.zip | |
Relay transactions when they linger too long in the pool
The last relayed time of a transaction is maintained, and
transactions will be relayed again if they are still in the
pool after a certain amount of time, which increases with
the transaction's age. All such transactions are resent,
whether or not they originated on the local node.
Diffstat (limited to 'tests/core_proxy/core_proxy.cpp')
| -rw-r--r-- | tests/core_proxy/core_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 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; |
