-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Send whole transaction pool upon subscription to gossip #2131
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
Merged
Merged
Changes from 17 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
a64cc83
Add skeleton for transaction exchanges
AurelienFT 8a1a0ff
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT 433f7f3
Re-organize creation of P2P adapter to be more flexible (separation c…
AurelienFT c957f12
Remove unwrap and fix config
AurelienFT cb031b3
Handle all requests related to txpool in p2p
AurelienFT 24e2f4e
Add high level functions to get tx ids and full txs
AurelienFT 56fc16f
Add tests on the two new request/response in P2P and update CHANGELOG.md
AurelienFT d0cd575
Add asking of txs when we dial a new node
AurelienFT dacaf1b
format
AurelienFT 09d2024
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT 368a3cb
Revert "Add asking of txs when we dial a new node"
AurelienFT cb8379a
Add workflow -> subscription send to TxPool -> TxPool asks for Txs
AurelienFT 56d60d2
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT 3c40f3e
Fix test compilation without p2p feature
AurelienFT 27ce3eb
format
AurelienFT cae2242
Fix mock p2p
AurelienFT c6fd186
Add management of request all ids in p2p test helpers.
AurelienFT 33c1684
Add tests for txpool asking transactions after p2p subscription
AurelienFT 00087d7
Remove option type and specify txpool in message names
AurelienFT ecfd8bc
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT ecaba40
Nits formatting modifications
AurelienFT 5682844
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT 2af3dab
Use top level import in p2p adapter
AurelienFT 5f582e4
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT e1abcf1
Use PeerId type and remove unused Results
AurelienFT 4a7aac3
Fix compil error in tests
AurelienFT 1483bca
Add results in get txs function from libp2p
AurelienFT f962d8e
Merge branch 'master' into send_tx_new_peer_subscription
xgreenx cddf78a
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT 4818fad
remove deadcode and add chekc length.
AurelienFT 479f684
Add check on the subscription
AurelienFT 268d794
Add heavy async processor pool
AurelienFT 9b5de0d
Add a special type for transaction from pool in p2p to avoid clone
AurelienFT 5e16d87
remove global serialize pool transaction
AurelienFT 31162c8
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT cf71721
update cargo lock
AurelienFT d2f5b58
Merge branch 'send_tx_new_peer_subscription' of github.com:FuelLabs/f…
AurelienFT 2687ec3
Add some clean code modifications in txpool and p2p
AurelienFT 31a352b
use serde behind a feature
AurelienFT 6dcef3d
serde behind a feature
AurelienFT eff906f
Merge branch 'refs/heads/master' into send_tx_new_peer_subscription
xgreenx eac2060
Submit cargo lock
xgreenx c27c256
Update crates/services/txpool/src/service.rs
AurelienFT f6ba46a
Use heavy task processor for p2p -> txpool interactions
AurelienFT de29489
Fix clippy warning
AurelienFT f4a45e8
Merge branch 'master' into send_tx_new_peer_subscription
xgreenx b6537bf
Merge branch 'master' into send_tx_new_peer_subscription
AurelienFT 82a9b86
Check size when sending and add documentation port
AurelienFT b2be250
Change limit tx management
AurelienFT 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.