Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Additional logs when transactions is removed from queue #2617

Merged
merged 1 commit into from
Oct 14, 2016
Merged

Conversation

tomusdrw
Copy link
Collaborator

(3rd uncovered case (removal because of limit) is coming with #2616)

@tomusdrw tomusdrw added the A0-pleasereview 🤓 Pull request needs code review. label Oct 14, 2016
@@ -953,12 +955,14 @@ impl TransactionQueue {
let old_fee = old.gas_price;
let new_fee = order.gas_price;
if old_fee.cmp(&new_fee) == Ordering::Greater {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it take transaction origin into account?

Copy link
Collaborator Author

@tomusdrw tomusdrw Oct 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has the same sender and nonce - I don't think origin is relevant here.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.002%) to 86.5% when pulling 837409a on tx-queue-logs into 4581469 on master.

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Oct 14, 2016
@tomusdrw tomusdrw added the M4-core ⛓ Core client code / Rust. label Oct 14, 2016
@arkpar arkpar merged commit dbc25cf into master Oct 14, 2016
arkpar added a commit that referenced this pull request Oct 14, 2016
* v1.3.8

* mitigate refcell conflict in state diffing (#2601)

* mitigate refcell conflict in state diffing

Also uses RefCell::get_mut in a few places.

* Add test case

* Fixed stalled sync

* Fixed tx queue limit for local transactions (#2616)

* Fixed tx queue limit for local tx

* Fixing test

* Increas gas limit to 20x

* Additional logs when transactions is removed from queue (#2617)

* Database performance tweaks (#2619)
@tomusdrw tomusdrw deleted the tx-queue-logs branch October 18, 2016 08:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants