Skip to content

Commit 0d77c01

Browse files
committed
refactor(p2p): absorb fast tx collection into tx collection
1 parent 11c18fb commit 0d77c01

5 files changed

Lines changed: 362 additions & 464 deletions

File tree

yarn-project/p2p/src/services/tx_collection/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type TxCollectionConfig = {
1414
txCollectionNodeRpcMaxBatchSize: number;
1515
/** A comma-separated list of file store URLs (s3://, gs://, file://, http://) for tx collection */
1616
txCollectionFileStoreUrls: string[];
17-
/** Delay in ms before file store collection starts after fast collection is triggered */
17+
/** Delay in ms from reqresp start before file store collection begins */
1818
txCollectionFileStoreFastDelayMs: number;
1919
/** Number of concurrent workers for fast file store collection */
2020
txCollectionFileStoreFastWorkerCount: number;
@@ -68,7 +68,7 @@ export const txCollectionConfigMappings: ConfigMappingsType<TxCollectionConfig>
6868
},
6969
txCollectionFileStoreFastDelayMs: {
7070
env: 'TX_COLLECTION_FILE_STORE_FAST_DELAY_MS',
71-
description: 'Delay before file store collection starts after fast collection',
71+
description: 'Delay in ms from reqresp start before file store collection begins',
7272
...numberConfigHelper(2_000),
7373
},
7474
txCollectionFileStoreFastWorkerCount: {

yarn-project/p2p/src/services/tx_collection/fast_tx_collection.ts

Lines changed: 0 additions & 379 deletions
This file was deleted.

0 commit comments

Comments
 (0)