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

TxPool ServiceBuilder and Context #456

Merged
merged 10 commits into from
Jul 8, 2022
Merged

TxPool ServiceBuilder and Context #456

merged 10 commits into from
Jul 8, 2022

Conversation

rakita
Copy link
Contributor

@rakita rakita commented Jul 4, 2022

Remove Interface and move its functionality to TxPool struct.
introduce ServiceBuilder and Context

@rakita rakita self-assigned this Jul 4, 2022
Base automatically changed from rakita/relayer_integration to master July 5, 2022 02:20
@rakita rakita force-pushed the rakita/txpool_builder branch from 1239580 to bc777d5 Compare July 5, 2022 09:44
@rakita rakita marked this pull request as ready for review July 5, 2022 09:48
@rakita rakita force-pushed the rakita/txpool_builder branch from 1f4461b to ac2a7f6 Compare July 5, 2022 11:23
Copy link
Contributor

@ControlCplusControlV ControlCplusControlV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor nits, design looks good

@rakita rakita enabled auto-merge (squash) July 7, 2022 13:48
broadcast: broadcast::Sender<TxStatusBroadcast>,
txs: Vec<ArcTx>,
) -> Vec<anyhow::Result<Vec<ArcTx>>> {
// Check if that data is okay (witness match input/output, and if recovered signatures ara valid).
Copy link
Member

@Voxelot Voxelot Jul 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new CheckedTranasction type will make this easier once Victor has finished implementing in fuel-vm.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it makes a lot of sense to have it.

fuel-txpool/src/txpool.rs Outdated Show resolved Hide resolved
Voxelot
Voxelot previously approved these changes Jul 8, 2022
@rakita rakita merged commit 4631ea7 into master Jul 8, 2022
@rakita rakita deleted the rakita/txpool_builder branch July 8, 2022 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants