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

Bitswap #32

Merged
merged 7 commits into from
Aug 30, 2014
Merged

Bitswap #32

merged 7 commits into from
Aug 30, 2014

Conversation

jbenet
Copy link
Member

@jbenet jbenet commented Aug 27, 2014

No description provided.

u "github.com/jbenet/go-ipfs/util"
)

type mesListener struct {
type MesListener struct {
Copy link
Member Author

Choose a reason for hiding this comment

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

stylistic: can probably spell it out as swarm.MessageListener (clearer to people unfamiliar with how things work, etc)

return nil, errors.New("not implemented")
func (bs *BitSwap) HaveBlock(k u.Key) error {
return bs.routing.Provide(k)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Missing here is that we could be tracking our partners last-received wantlists, so we could see who wants this block and send it right away. I'm not too sure about this, may be premature optimization, because it could waste lots of bandwidth for reducing latency. this will be impt to test/model.

Copy link
Member

Choose a reason for hiding this comment

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

agreed. We can probably just spin off a goroutine to check and manage sending all that information.

Copy link
Member Author

Choose a reason for hiding this comment

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

(fix to above: ledger already has ledger.WantList)

@whyrusleeping whyrusleeping merged commit 691d1b3 into master Aug 30, 2014
@btc btc deleted the bitswap branch December 15, 2014 13:43
ribasushi pushed a commit that referenced this pull request Jul 4, 2021
ribasushi pushed a commit that referenced this pull request Jul 4, 2021
@aschmahmann aschmahmann mentioned this pull request Aug 23, 2021
62 tasks
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Oct 23, 2021
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Oct 23, 2021
longfeiWan9 pushed a commit to longfeiWan9/go-ipfs that referenced this pull request Nov 18, 2021
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Feb 25, 2022
add an experiment to prefer TLS 1.3 over secio
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Feb 25, 2022
…-tls

add an experiment to prefer TLS 1.3 over secio
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Mar 4, 2022
…-tls

add an experiment to prefer TLS 1.3 over secio
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Mar 4, 2022
…-tls

add an experiment to prefer TLS 1.3 over secio
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Apr 7, 2022
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.

2 participants