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

fatxpool: handling limits and priorities improvements #6405

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e0a7bc6
flaky test fixed
michalkucharczyk Oct 30, 2024
354d6a3
dropped_watcher: explicit view removal
michalkucharczyk Oct 30, 2024
1151556
fatp: prios some intial tests added
michalkucharczyk Oct 31, 2024
c9f2d39
base_pool: handling conflicts in future improved
michalkucharczyk Nov 4, 2024
406c37b
dropped_watcher: rename C -> ChainApi
michalkucharczyk Nov 4, 2024
fb5e355
base_pool: handling conflicts in future (2)
michalkucharczyk Nov 4, 2024
e798e34
fatp: DroppedTransaction + DroppedReason added
michalkucharczyk Nov 4, 2024
7b58a68
graph: dedicated usurped/limit_enforced calls added
michalkucharczyk Nov 7, 2024
322774c
dropped_watcher: todo added
michalkucharczyk Nov 7, 2024
a116c20
test: prios tests
michalkucharczyk Nov 7, 2024
560db28
dropped_watcher: dropping future transcations improved
michalkucharczyk Nov 11, 2024
5a83cf5
test fixed
michalkucharczyk Nov 11, 2024
c566dad
tests: future dropping test added
michalkucharczyk Nov 11, 2024
f10590f
fatp: TimedTransactionSource added
michalkucharczyk Nov 12, 2024
7b96ca3
adjusting tests
michalkucharczyk Nov 12, 2024
69567b8
fixes
michalkucharczyk Nov 12, 2024
414ec3c
fatp: better support for usurped transactions
michalkucharczyk Nov 14, 2024
0cf6043
Update from michalkucharczyk running command 'prdoc --bump major --au…
actions-user Nov 14, 2024
44a0096
one more test + future_at added
michalkucharczyk Nov 14, 2024
d69c660
clippy
michalkucharczyk Nov 14, 2024
b47b174
is_imported: fix
michalkucharczyk Nov 14, 2024
2d0bbf8
fatp: avoid some duplications in update_view_with_mempool
michalkucharczyk Nov 14, 2024
31b3392
prdoc updated
michalkucharczyk Nov 14, 2024
f66b1ad
misspell
michalkucharczyk Nov 14, 2024
4449969
prodc
michalkucharczyk Nov 14, 2024
4855881
Merge remote-tracking branch 'origin/master' into mku-fatxpool-priori…
michalkucharczyk Nov 15, 2024
ddec185
Merge remote-tracking branch 'origin/master' into mku-fatxpool-priori…
michalkucharczyk Nov 19, 2024
390bf91
fmt + fixes
michalkucharczyk Nov 19, 2024
b1d549a
Apply suggestions from code review
michalkucharczyk Nov 20, 2024
f117d56
fix
michalkucharczyk Nov 20, 2024
41d653a
one more rename
michalkucharczyk Nov 20, 2024
b15e322
Merge remote-tracking branch 'origin/master' into mku-fatxpool-priori…
michalkucharczyk Nov 20, 2024
7283471
apply review comments
michalkucharczyk Nov 21, 2024
60c7871
From<TimedTransactionSource> for TransactionSource
michalkucharczyk Nov 21, 2024
d3749e0
Merge branch 'master' into mku-fatxpool-priorities
michalkucharczyk Nov 21, 2024
33062c7
Merge branch 'master' into mku-fatxpool-priorities
michalkucharczyk Nov 26, 2024
f39776f
Merge branch 'master' into mku-fatxpool-priorities
michalkucharczyk Nov 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions prdoc/pr_6405.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: '`fatxpool`: handling limits and priorities improvements'
doc:
- audience: Node Dev
description: |-
This PR provides a number of improvements and fixes around handling limits and priorities in the fork-aware transaction pool.

crates:
- name: sc-transaction-pool
bump: major
4 changes: 2 additions & 2 deletions substrate/client/transaction-pool/benches/basics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fn uxt(transfer: TransferData) -> Extrinsic {
}

fn bench_configured(pool: Pool<TestApi>, number: u64, api: Arc<TestApi>) {
let source = TransactionSource::External;
let source = TimedTransactionSource::new_external(false);
let mut futures = Vec::new();
let mut tags = Vec::new();
let at = HashAndNumber {
Expand All @@ -171,7 +171,7 @@ fn bench_configured(pool: Pool<TestApi>, number: u64, api: Arc<TestApi>) {

tags.push(to_tag(nonce, AccountId::from_h256(H256::from_low_u64_be(1))));

futures.push(pool.submit_one(&at, source, xt));
futures.push(pool.submit_one(&at, source.clone(), xt));
}

let res = block_on(futures::future::join_all(futures.into_iter()));
Expand Down
Loading
Loading