1. 05 Jan, 2015 8 commits
  2. 02 Jan, 2015 3 commits
    • Juan Batiz-Benet's avatar
      swap net2 -> net · 4637c322
      Juan Batiz-Benet authored
      4637c322
    • Juan Batiz-Benet's avatar
      net -> p2p/net · 442eb2c9
      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.
      442eb2c9
    • Juan Batiz-Benet's avatar
      introducing p2p pkg · 0636625d
      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.
      0636625d
  3. 24 Dec, 2014 11 commits
  4. 23 Dec, 2014 14 commits
  5. 18 Dec, 2014 4 commits
    • Jeromy's avatar
      clean peerset constructor names · fad1c7da
      Jeromy authored
      fad1c7da
    • Brian Tiger Chow's avatar
    • Brian Tiger Chow's avatar
      74d13f3c
    • Brian Tiger Chow's avatar
      fix: add lock to taskQueue · c3d5b6ee
      Brian Tiger Chow authored
      @whyrusleeping may wanna have a look and make sure i didn't screw
      anything up here
      
      BenchmarkInstantaneousAddCat1MB-4            200          10763761 ns/op
      97.42 MB/s
      BenchmarkInstantaneousAddCat2MB-4       panic: runtime error: invalid
      memory address or nil pointer dereference
      [signal 0xb code=0x1 addr=0x0 pc=0xbedd]
      
      goroutine 14297 [running]:
      github.com/jbenet/go-ipfs/exchange/bitswap/decision.(*taskQueue).Remove(0xc2087553a0,
              0xc2085ef200, 0x22, 0x56f570, 0xc208367a40)
          /Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/decision/taskqueue.go:66
          +0x82
      github.com/jbenet/go-ipfs/exchange/bitswap/decision.(*Engine).MessageSent(0xc20871b5c0,
              0x56f570, 0xc208367a40, 0x570040, 0xc208753d40, 0x0, 0x0)
          /Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/decision/engine.go:177
          +0x29e
      github.com/jbenet/go-ipfs/exchange/bitswap.(*bitswap).send(0xc20871b7a0,
              0x56f4d8, 0xc208379800, 0x56f570, 0xc208367a40,
              0x570040, 0xc208753d40, 0x0, 0x0)
          /Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/bitswap.go:352
          +0x11c
      github.com/jbenet/go-ipfs/exchange/bitswap.(*bitswap).taskWorker(0xc20871b7a0,
              0x56f4d8, 0xc208379800)
          /Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/bitswap.go:238
          +0x165
          created by
          github.com/jbenet/go-ipfs/exchange/bitswap.New
          /Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/bitswap.go:66
          +0x49e
      c3d5b6ee