- 23 1月, 2015 18 次提交
-
-
s/kademlia calls for makign sure to query all peers we have in our routing table, not just those closest. this helps ensure most queries resolve properly.
由 Juan Batiz-Benet 提交于 -
When some queries finished, but we got no result, it should be a simple NotFoundError. Only when every single query ended in error do we externalize those to the client, in case something major is going wrong
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Jeromy 提交于
-
Not sure this works. we dont have tests for net diag. We should make some. cc @whyrusleeping.
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
See the discussion below. A future commit will implement the closer change below, and rebase this one on top. <•jbenet> `n.Diagnostics.GetDiagnostic(time.Second * 20)` is not being respected. should it use a context instead? or is it a timeout because the timeout is sent to other nodes? <•jbenet> oh it's that the io doesnt respect the context so we're stuck waiting for responses. <•jbenet> this is that complex interface point between the world of contexts, and the world of io. ctxutil.Reader/Writer is made for this, but you have to make sure to defer close the stream. (see how dht_net uses it). i'd love to find a safer interface. not sure what it is, but we have to a) respect contexts, and b) allow using standard io.Reader/Writers. Maybe TRTTD <•jbenet> is have ctxutil.Reader/Writer take ReadCloser and WriteClosers and always close them. the user _must_ pass an ioutil. NopCloser to avoid ctxutil closing on you when you dont want it to. <•jbenet> this seems safer to me in the general case.
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
reuseport: respect dialer timeout
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
fix interface for coreunix.Cat, now takes a path
由 Jeromy Johnson 提交于 -
由 Jeromy 提交于
-
- 22 1月, 2015 13 次提交
-
-
refactor(core) extract http
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
PACKAGE DOCUMENTATION package corehttp FUNCTIONS func GatewayOption(n *core.IpfsNode, mux *http.ServeMux) error func ListenAndServe(n *core.IpfsNode, addr ma.Multiaddr, options ...ServeOption) error func WebUIOption(n *core.IpfsNode, mux *http.ServeMux) error TYPES type ServeOption func(*core.IpfsNode, *http.ServeMux) error func DaemonOption(cctx commands.Context) ServeOption由 Brian Tiger Chow 提交于 -
Miscellaneous changes
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
The area above the lock was getting big. Moving this up to avoid mistakes down the road.
由 Brian Tiger Chow 提交于 -
closes #394 https://github.com/jbenet/go-ipfs/issues/394
由 Brian Tiger Chow 提交于 -
initial implementation of repo-gc command
由 Juan Batiz-Benet 提交于 -
fix #424: when adding blocks, provide to exchange asynchronously
由 Brian Tiger Chow 提交于 -
由 Jeromy 提交于
-
- 21 1月, 2015 9 次提交
-
-
由 Brian Tiger Chow 提交于
-
由 Jeromy 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
@jbenet would like it to work this way
由 Brian Tiger Chow 提交于 -
@jbenet
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-