This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New Transaction Queue implementation #8074
Merged
Merged
Changes from 64 commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
c467c7d
Implementation of Verifier, Scoring and Ready.
tomusdrw 15a52b7
Queue in progress.
tomusdrw d358050
TransactionPool.
tomusdrw 34e1eb1
Prepare for txpool release.
tomusdrw 1b5ff18
Merge branch 'td-txpool-releas' into td-txpool2
tomusdrw f77a46d
Miner refactor [WiP]
tomusdrw b176521
Merge remote-tracking branch 'origin/master' into td-txpool2
tomusdrw d966a4b
Merge branch 'master' into td-txpool2
tomusdrw 43e8289
WiP reworking miner.
tomusdrw 5e783eb
Make it compile.
tomusdrw 71fa691
Add some docs.
tomusdrw a70f1c3
Split blockchain access to a separate file.
tomusdrw afae75b
Work on miner API.
tomusdrw 47e8928
Fix ethcore tests.
tomusdrw 4b25b86
Refactor miner interface for sealing/work packages.
tomusdrw 81a96e4
Implement next nonce.
tomusdrw b538413
RPC compiles.
tomusdrw 3368324
Implement couple of missing methdods for RPC.
tomusdrw 7a24420
Merge branch 'master' into td-txpool2
tomusdrw fc4a0aa
Add transaction queue listeners.
tomusdrw e595e83
Compiles!
tomusdrw 620e6be
Merge remote-tracking branch 'origin/master' into td-txpool2
tomusdrw 5a6cdf5
Clean-up and parallelize.
tomusdrw 0f2424c
Get rid of RefCell in header.
tomusdrw a1cb18c
Revert "Get rid of RefCell in header."
tomusdrw e902bec
Override Sync requirement.
tomusdrw fede1ea
Fix status display.
tomusdrw 5075cec
Unify logging.
tomusdrw 449facf
Extract some cheap checks.
tomusdrw e2be467
Measurements and optimizations.
tomusdrw c07ea86
Merge remote-tracking branch 'origin/master' into td-txpool2
tomusdrw b720077
Fix scoring bug, heap size of bug and add cache
tomusdrw fe74263
Merge remote-tracking branch 'origin/master' into td-txpool2
tomusdrw 8312e4a
Disable tx queueing and parallel verification.
tomusdrw 51e2f43
Merge remote-tracking branch 'origin/master' into td-txpool2
tomusdrw 54965d6
Make ethcore and ethcore-miner compile again.
tomusdrw 43e9358
Make RPC compile again.
tomusdrw 236ac24
Bunch of txpool tests.
tomusdrw d698145
Migrate transaction queue tests.
tomusdrw e97e453
Nonce Cap
tomusdrw f079b91
Nonce cap cache and tests.
tomusdrw 41a5acc
Remove stale future transactions from the queue.
tomusdrw 35c7783
Optimize scoring and write some tests.
tomusdrw 886224a
Simple penalization.
tomusdrw b4d9341
Clean up and support for different scoring algorithms.
tomusdrw 03e89ec
Add CLI parameters for the new queue.
tomusdrw 900b446
Remove banning queue.
tomusdrw 7dab842
Merge branch 'master' into td-txpool2
tomusdrw 8046ef9
Disable debug build.
tomusdrw 83c92bc
Change per_sender limit to be 1% instead of 5%
tomusdrw eb025db
Avoid cloning when propagating transactions.
tomusdrw 1f1694b
Remove old todo.
tomusdrw 893131f
Merge branch 'master' into td-txpool2
tomusdrw 660b6b0
Post-review fixes.
tomusdrw 39c6bb4
Merge branch 'master' into td-txpool2
tomusdrw 006d635
Fix miner options default.
tomusdrw a6b9324
Implement back ready transactions for light client.
tomusdrw cfc2200
Get rid of from_pending_block
tomusdrw ce02494
Pass rejection reason.
tomusdrw 68b3f2a
Add more details to drop.
tomusdrw 72f49d4
Rollback heap size of.
tomusdrw 8ab2912
Avoid cloning hashes when propagating and include more details on rej…
tomusdrw 901e532
Fix tests.
tomusdrw 7f15140
Introduce nonces cache.
tomusdrw 1dcc47e
Remove uneccessary hashes allocation.
tomusdrw a74f18a
Lower the mem limit.
tomusdrw 6d7d16b
Merge branch 'master' into td-txpool2
tomusdrw bdfdb3d
Re-enable parallel verification.
tomusdrw 2d1da26
Add miner log. Don't check the type if not below min_gas_price.
tomusdrw cca0db7
Add more traces, fix disabling miner.
tomusdrw 281e54d
Fix creating pending blocks twice on AuRa authorities.
tomusdrw 6a304c4
Fix tests.
tomusdrw 383a908
re-use pending blocks in AuRa
tomusdrw 7aaff4f
Merge branch 'master' into td-txpool2
tomusdrw 93f93a0
Use reseal_min_period to prevent too frequent update_sealing.
tomusdrw 7f290e7
Fix log to contain hash not sender.
tomusdrw bed88ee
Optimize local transactions.
tomusdrw 4a7940e
Fix aura tests.
tomusdrw 6dcea90
Merge remote-tracking branch 'origin/master' into td-txpool2
tomusdrw c36d39d
Update locks comments.
tomusdrw c92812b
Get rid of unsafe Sync impl.
tomusdrw be75720
Review fixes.
tomusdrw 357fcf3
Remove excessive matches.
tomusdrw f41b0f2
Merge branch 'master' into td-txpool2
tomusdrw da0f845
Fix compilation errors.
tomusdrw 296cc42
Merge branch 'master' into td-txpool2
tomusdrw e199b86
Merge branch 'master' into td-txpool2
tomusdrw 285f4fd
Use new pool in private transactions.
tomusdrw af81bee
Fix private-tx test.
tomusdrw 53f328c
Merge branch 'master' into td-txpool2
tomusdrw 5e012ae
Merge branch 'master' into td-txpool2
tomusdrw 0e2bf52
Fix secret store tests.
tomusdrw 7f15c30
Actually use gas_floor_target
tomusdrw 483b70c
Fix config tests.
tomusdrw b7789e2
Fix pool tests.
tomusdrw 1c757e0
Merge branch 'master' into td-txpool2
tomusdrw d7c8b94
Address grumbles.
tomusdrw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,5 +131,5 @@ members = [ | |
"miner", | ||
"transaction-pool", | ||
"whisper", | ||
"util/rlp_compress" | ||
"util/rlp_compress", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to see a comment explaining what
slow-blocks
feature intends.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added documentation in
ethcore/Cargo.toml