- 18 May, 2015 1 commit
-
-
rht authored
-
- 28 Apr, 2015 1 commit
-
-
Henry authored
-
- 31 Mar, 2015 1 commit
-
-
Ho-Sheng Hsiao authored
- Modified Godeps/Godeps.json by hand - [TEST] Updated welcome docs hash to sharness - [TEST] Updated contact doc - [TEST] disabled breaking test (t0080-repo refs local)
-
- 07 Mar, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 25 Feb, 2015 1 commit
-
-
Henry authored
- updated go-ctxgroup and goprocess ctxgroup: AddChildGroup was changed to AddChild. Used in two files: - p2p/net/mock/mock_net.go - routing/dht/dht.go - updated context from hg repo to git prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative) represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c) Aaron Jacobs (2): net/context: Don't accept a context in the DoSomethingSlow example. context: Be clear that users must cancel the result of WithCancel. Andrew Gerrand (1): go.net: use golang.org/x/... import paths Bryan C. Mills (1): net/context: Don't leak goroutines in Done example. Damien Neil (1): context: fix removal of cancelled timer contexts from parent David Symonds (2): context: Fix WithValue example code. net: add import comments. Sameer Ajmani (1): context: fix TestAllocs to account for ints in interfaces
-
- 03 Feb, 2015 1 commit
-
-
Juan Batiz-Benet authored
Let's save log.Error for things the user can take action on. Moved all our diagnostics to log.Debug. We can ideally reduce them even further.
-
- 23 Jan, 2015 3 commits
-
-
Jeromy authored
-
Juan Batiz-Benet authored
Not sure this works. we dont have tests for net diag. We should make some. cc @whyrusleeping.
-
Juan Batiz-Benet authored
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.
-
- 16 Jan, 2015 2 commits
-
-
Juan Batiz-Benet authored
d3view is now in its own repo: https://github.com/jbenet/ipfs-diag-net-d3-vis This is so we can iterate on it quickly without having to needlessly waste CI resources. The repo also installs it for you: ```sh git clone github.com/jbenet/ipfs-diag-net-d3-vis d3view cd d3view sudo make install ```
-
Juan Batiz-Benet authored
-
- 15 Jan, 2015 2 commits
-
-
Matt Bell authored
-
Juan Batiz-Benet authored
-
- 14 Jan, 2015 5 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Try it out: ``` ipfs net diag --vis=d3 | diagnostics/d3/d3view ``` Notes: this is not the best way to do it, because it breaks `--encoding=json`. Not sure what the best way is, and right now this provides more utility than the other.
-
- 12 Jan, 2015 4 commits
- 02 Jan, 2015 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
The net package is the next to move. It will be massaged a bit still to fix the Network / "NetworkBackend" conflict.
-
Juan Batiz-Benet authored
I think it's time to move a lot of the peer-to-peer networking but-not-ipfs-specific things into its own package: p2p. This could in the future be split off into its own library. The first thing to go is the peer.
-
- 30 Dec, 2014 1 commit
-
-
Jeromy authored
-
- 23 Dec, 2014 1 commit
-
-
Juan Batiz-Benet authored
this is a major refactor of the entire codebase it changes the monolithic peer.Peer into using a peer.ID and a peer.Peerstore. Other changes: - removed handshake3. - testutil vastly simplified peer - secio bugfix + debugging logs - testutil: RandKeyPair - backpressure bugfix: w.o.w. - peer: added hex enc/dec - peer: added a PeerInfo struct PeerInfo is a small struct used to pass around a peer with a set of addresses and keys. This is not meant to be a complete view of the system, but rather to model updates to the peerstore. It is used by things like the routing system. - updated peer/queue + peerset - latency metrics - testutil: use crand for PeerID gen RandPeerID generates random "valid" peer IDs. it does not NEED to generate keys because it is as if we lost the key right away. fine to read some randomness and hash it. to generate proper keys and an ID, use: sk, pk, _ := testutil.RandKeyPair() id, _ := peer.IDFromPublicKey(pk) Also added RandPeerIDFatal helper - removed old spipe - updated seccat - core: cleanup initIdentity - removed old getFromPeerList
-
- 18 Dec, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 16 Dec, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 14 Nov, 2014 1 commit
-
-
Brian Tiger Chow authored
License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
-
- 09 Nov, 2014 1 commit
-
-
Jeromy authored
-
- 03 Nov, 2014 1 commit
-
-
Jeromy authored
-
- 25 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
- distinguish log.Error and log.Errorf functions - Initialize structs with field names - A bit of unreachable code (defers)
-
- 22 Oct, 2014 2 commits
-
-
Brian Tiger Chow authored
-
- 20 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored

-
- 18 Oct, 2014 4 commits
-
-
Juan Batiz-Benet authored
@whyrusleeping `make vendor` or travis fails
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
-