- 07 Dec, 2014 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
updated msgio
-
- 06 Dec, 2014 29 commits
-
-
Brian Tiger Chow authored
bitswap blockservice diplomacy
-
Juan Batiz-Benet authored
With the new msgio, we no longer need to bound message sizes for the sake of buffers. MaxMessageSize should remain though in order to prevent streaming of huge things. In general, messages shouldn't be above one MB. This max is now set to 4MB. If a block happens to be larger, we should split it up.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
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>
-
Brian Tiger Chow authored
License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com> Conflicts: exchange/bitswap/bitswap.go
-
Brian Tiger Chow authored
License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
vendors hashicorp/golang-lru dependency. (Mozilla Public License, version 2.0) 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>
-
Brian Tiger Chow authored
License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
@jbenet License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
miscellaneous +/- (commands, dht, net)
-
Brian Tiger Chow authored
@jbenet must be getConns to avoid clash with private var License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
@jbenet License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
@jbenet 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>
-
Brian Tiger Chow authored
When performing this "promise" pattern, it is important to provide a channel with space for one value. Otherwise the sender may block forever in the case of a receiver that decides to abandon the request. A subtle detail, but one that is important for avoiding leaked goroutines. cc @whyrusleeping @jbenet License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com> License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
This commit makes GetProviders (sync) respect the request context. It also amends all of GetProviders' callsites to pass a context in. This meant changing the signature of the dht's handlerfunc. I think I'll start referring to the request context as Vito Corleone. cc @whyrusleeping @jbenet License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
the important change here is that within FindProvidersAsync, the channel is closed using a `defer`. This ensures the channel is always closed, regardless of the path taken to exit. + misc cleanup cc @whyrusleeping @jbenet License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Matt Bell authored
-
Brian Tiger Chow authored
License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
It's better to have one mechanism for determining whether we're offline and to improve the SnR of this mechanism over time. We presently have too many arbitrary heuristics for determining whether we're running in offline mode. TRTTD is to use polymorphism to eliminate these conditional checks. (instantiate the node with offline versions of routing, network, etc.) It'll clean up the core constructor, make it easier to create ephemeral nodes, and eliminate a class of errors. @whyrusleeping @jbenet License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
+ style: sort command list License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Brian Tiger Chow authored
https://build.protocol-dev.com/job/go-ipfs.test.go.race.nofuse/276/console License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
Jeromy Johnson authored
complete Bithack changes
-
- 05 Dec, 2014 8 commits