Skip to content

[WIP] Bitswap integration in Boost#377

Closed
aarshkshah1992 wants to merge 5 commits intomainfrom
feat/bitswap-interop
Closed

[WIP] Bitswap integration in Boost#377
aarshkshah1992 wants to merge 5 commits intomainfrom
feat/bitswap-interop

Conversation

@aarshkshah1992
Copy link
Copy Markdown
Contributor

No description provided.

@aarshkshah1992 aarshkshah1992 marked this pull request as draft March 29, 2022 13:03
Copy link
Copy Markdown
Member

@masih masih left a comment

Choose a reason for hiding this comment

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

provider related changes look fine to me 👍

PieceCID: pds.ClientDealProposal.Proposal.PieceCID,
FastRetrieval: true,
VerifiedDeal: pds.ClientDealProposal.Proposal.VerifiedDeal,
})
Copy link
Copy Markdown
Member

@masih masih Mar 29, 2022

Choose a reason for hiding this comment

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

Consider:

  • either appending metadata.Bitswap{} to a slice of protocols if pds.ClientDealProposal.Proposal.VerifiedDeal is true then construct the metadata out of the if statement, or

  • move construction of metadata.GraphsyncFilecoinV1 out of if statement then conditionally construct metadata

to reduce duplicate code here?

@jacobheun
Copy link
Copy Markdown
Contributor

Closing this in favor of #707

@jacobheun jacobheun closed this Aug 24, 2022
@jacobheun jacobheun deleted the feat/bitswap-interop branch August 24, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants