Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some new eth feature pick up #711

Merged
merged 7 commits into from
Jul 27, 2020
Merged

Some new eth feature pick up #711

merged 7 commits into from
Jul 27, 2020

Conversation

ucwong
Copy link
Member

@ucwong ucwong commented Jul 24, 2020

Review and run testing

ucwong and others added 6 commits July 24, 2020 21:57
Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future.

core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced

queuedTs proper naming
core: address comment
@codecov
Copy link

codecov bot commented Jul 24, 2020

Codecov Report

Merging #711 into master will increase coverage by 0.03%.
The diff coverage is 79.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #711      +/-   ##
==========================================
+ Coverage   50.05%   50.09%   +0.03%     
==========================================
  Files         420      421       +1     
  Lines       53415    53533     +118     
==========================================
+ Hits        26737    26816      +79     
- Misses      24606    24641      +35     
- Partials     2072     2076       +4     
Impacted Files Coverage Δ
accounts/abi/unpack.go 79.50% <ø> (ø)
common/math/big.go 92.94% <ø> (ø)
core/blockchain.go 23.96% <ø> (ø)
core/types/block.go 25.00% <0.00%> (-0.61%) ⬇️
ctxc/fetcher/block_fetcher.go 0.00% <0.00%> (ø)
miner/miner.go 0.00% <ø> (ø)
ctxc/downloader/statesync.go 65.36% <68.75%> (-2.35%) ⬇️
ctxc/downloader/queue.go 80.79% <84.61%> (-0.59%) ⬇️
ctxc/downloader/downloader.go 78.37% <84.78%> (-0.28%) ⬇️
ctxc/downloader/peer.go 84.83% <94.11%> (+0.51%) ⬆️
... and 14 more

@ucwong ucwong merged commit 958e016 into master Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants