- 28 Oct, 2014 9 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
to emphasize idempotence
-
Brian Tiger Chow authored
comes at the cost of O(n) Blocks() method.
-
Brian Tiger Chow authored
so there's one less name to think about
-
Brian Tiger Chow authored
A nice invariant for bitswap sessions: Senders and receivers can trust that messages do not contain duplicate blocks or duplicate keys. Backing the message with a map enforces this invariant. This comes at the cost of O(n) getters.
-
Brian Tiger Chow authored
implementation will be patched to ensure bitswap messages cannot contain duplicate blocks or keys
-
Brian Tiger Chow authored
@whyrusleeping noticed this a couple days ago potential long-term fix: prevent duplicate entries in the wantlist by using a map/set and iterating over this data structure on export
-
- 26 Oct, 2014 1 commit
-
-
Jeromy authored
-
- 25 Oct, 2014 5 commits
-
-
Jeromy authored
-
Jeromy authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Juan Batiz-Benet authored
- distinguish log.Error and log.Errorf functions - Initialize structs with field names - A bit of unreachable code (defers)
-
- 24 Oct, 2014 2 commits
-
-
Brian Tiger Chow authored
addresses concurrent access in bitswap session
-
Brian Tiger Chow authored
fixes data race detected in a testnet test
-
- 23 Oct, 2014 1 commit
-
-
Brian Tiger Chow authored
-
- 22 Oct, 2014 3 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 21 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 20 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
![](http://m.memegen.com/77n7dk.jpg)
-
- 18 Oct, 2014 4 commits
-
-
Juan Batiz-Benet authored
(that wasn't mine :p)
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Important bugfix. Otherwise bitswap cannot message peers the node has not connected to yet :(
-
- 11 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
new Service interface
-
- 09 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
and other logging switches. I kept the u.PErr and u.POut in cli commands, as those do need to write raw output directly.
-
- 08 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
We'll want a `type blocks.Block interface {}` later, but for now, make sure Blockstore uses ptrs for both Get and Put. + fix NewBlock output compile error
-
- 07 Oct, 2014 1 commit
-
-
Jeromy authored
-
- 06 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 25 Sep, 2014 2 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
Rather than pushing errors back down to lower layers, propagate the errors upward. This commit adds a `ReceiveError` method to BitSwap's network receiver. Still TODO: rm the error return value from: net.service.handler.HandleMessage This is inspired by delegation patterns in found in the wild.
-
- 23 Sep, 2014 3 commits
- 22 Sep, 2014 3 commits
-
-
Brian Tiger Chow authored
sending
-
Brian Tiger Chow authored
true -> always send to peer false -> use ledger-based strategy described in IPFS paper draft 3
-
Brian Tiger Chow authored
-