- 05 Dec, 2014 4 commits
-
-
Brian Tiger Chow authored
@jbenet @whyrusleeping Let me know if you want to direct the eventlog output to _both_ the file and stderr. Right now it goes to file. Perhaps this is just a minor bip in the larger discussion around log levels. https://github.com/jbenet/go-ipfs/issues/292 License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
@whyrusleeping This appears to be a timing issue. The asynchronous nature of the new structure provides has the bitswap waiting on the context a bit more. This isn't a problem at all, but in this test, it makes the functions return in an inconveniently timely manner. TODO don't let the test depend on time. License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Jeromy authored
-
Jeromy authored
-
- 25 Nov, 2014 2 commits
-
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
- 15 Nov, 2014 7 commits
-
-
Brian Tiger Chow authored
vanilla: 21.57 real 45.14 user 8.51 sys short: 14.40 real 31.13 user 5.56 sys License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
@jbenet
-
Brian Tiger Chow authored
remove 'adapter' concept instead, describe the component as the bitswap network it's still an adapter, but it's just not necessary to describe it as such
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 12 Nov, 2014 1 commit
-
-
Jeromy authored
-
- 09 Nov, 2014 1 commit
-
-
Brian Tiger Chow authored
-
- 07 Nov, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 05 Nov, 2014 6 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
- 03 Nov, 2014 1 commit
-
-
Brian Tiger Chow authored
-
- 01 Nov, 2014 1 commit
-
-
Jeromy authored
-
- 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 1 commit
-
-
Brian Tiger Chow authored
addresses concurrent access in bitswap session
-