This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HEAD is now at 46362b9... cleanup | |
epictest λ. go test ./... --bench=32MB 2>/dev/null | |
PASS | |
BenchmarkInstantaneousAddCat32MB 2 753936220 ns/op 44.51 MB/s | |
BenchmarkRoutingSlowAddCat32MB 2 753956258 ns/op 44.50 MB/s | |
BenchmarkNetworkSlowAddCat32MB 2 769483152 ns/op 43.61 MB/s | |
BenchmarkBlockstoreSlowAddCat32MB 1 8083433218 ns/op 4.15 MB/s | |
BenchmarkMixedAddCat32MBX 2 871623413 ns/op 38.50 MB/s | |
ok github.com/jbenet/go-ipfs/test/epictest 21.029s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23:04:32.637 ERROR dht: closestPeers query run error: routing: not found prefixlog.go:110 | |
23:04:32.664 ERROR dht: send response error: io: read/write on closed pipe prefixlog.go:110 | |
23:04:32.665 ERROR dht: send response error: io: read/write on closed pipe prefixlog.go:110 | |
23:04:32.666 ERROR dht: error getting closer peers: io: read/write on closed pipe prefixlog.go:110 | |
23:04:32.669 ERROR dht: closestPeers query run error: io: read/write on closed pipe prefixlog.go:110 | |
23:04:32.681 ERROR net/identi: error writing stream header for %s /ipfs/identify prefixlog.go:110 | |
23:04:32.682 ERROR net/identi: /ipfs/identify error receiving message from <peer.ID QmZfYa> /ip4/127.0.0.1/tcp/34366 prefixlog.go:110 | |
23:04:32.683 ERROR net/identi: error writing stream header for %s /ipfs/identify prefixlog.go:110 | |
23:04:32.684 ERROR net/identi: /ipfs/identify error receiving message from <peer.ID QmZJaU> /ip4/127.0.0.1/tcp/34365 prefixlog.go:110 | |
23:04:32.686 ERROR net/mux: protocol mux error: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package blockservice | |
import ( | |
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context" | |
process "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess" | |
"github.com/jbenet/go-ipfs/blocks" | |
"github.com/jbenet/go-ipfs/exchange" | |
) | |
type worker struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 [canarynet] | |
31 104.236.70.34 count=1 region=ny3 nick=ibis | |
32 128.199.72.111 count=1 region=sgp nick=macaw | |
33 162.243.251.152 count=1 region=ny2 nick=owl | |
34 178.62.8.190 count=1 region=ldn nick=raven | |
35 188.166.8.195 count=1 region=ams3 nick=hummingbird | |
36 188.226.225.73 count=1 region=ams2 nick=bigbird | |
37 192.241.209.121 count=1 region=sf nick=emu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok github.com/jbenet/go-ipfs/exchange/bitswap 1.165s | |
ok github.com/jbenet/go-ipfs/exchange/bitswap/decision 0.159s | |
ok github.com/jbenet/go-ipfs/exchange/bitswap/message 0.010s | |
? github.com/jbenet/go-ipfs/exchange/bitswap/message/internal/pb [no test files] | |
? github.com/jbenet/go-ipfs/exchange/bitswap/network [no test files] | |
ok github.com/jbenet/go-ipfs/exchange/bitswap/notifications 0.016s | |
ok github.com/jbenet/go-ipfs/exchange/bitswap/testnet 0.337s | |
? github.com/jbenet/go-ipfs/exchange/bitswap/wantlist [no test files] |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x61f10] | |
goroutine 1843 [running]: | |
github.com/jbenet/go-ipfs/exchange/bitswap.(*bitswap).taskWorker(0xc20865a060, 0x573418, 0xc20874f0c0) | |
/Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/bitswap.go:285 +0x380 | |
created by github.com/jbenet/go-ipfs/exchange/bitswap.New | |
/Users/btc/go/src/github.com/jbenet/go-ipfs/exchange/bitswap/bitswap.go:75 +0x475 | |
goroutine 1 [chan receive]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (bs *bitswap) taskWorker(ctx context.Context) { | |
log := log.Prefix("bitswap(%s).taskWorker", bs.self) | |
for { | |
select { | |
case <-ctx.Done(): | |
log.Debugf("exiting") | |
return | |
case nextEnvelope := <-bs.engine.Outbox(): | |
select { | |
case <-ctx.Done(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"event":"dhtReceivedMessage","message":{"type":"FIND_NODE"},"peerID":"QmTWYaFVeTSfmk9w39sVFyq87VxxuBVubivXegCT4TdSUG","session":"65ece018-7cd1-4b58-a441-f72c9006b30d","system":"dht","time":"2015-01-18T22:24:36.709174491Z"} | |
{"duration":11795528,"event":"findPeerSingle","peerID":"QmWGk6kAX6eiPW27HrA3m288Rr6xVpggVE6a5JRY7CZjqK","session":"65ece018-7cd1-4b58-a441-f72c9006b30d","system":"dht","time":"2015-01-18T22:24:36.709305724Z"} | |
{"addresses":["/ip4/127.0.0.1/tcp/4001","/ip4/10.1.10.19/tcp/4001","/ip4/192.168.59.3/tcp/4001"],"event":"interfaceListenAddresses","system":"p2p/net/swarm/addr","time":"2015-01-18T22:24:36.709671892Z"} | |
{"event":"updatePeer","peerID":"QmZXxbfUdRYi578pectWLFNFv5USQrsXdYAGeCsMJ6X8Zt","session":"65ece018-7cd1-4b58-a441-f72c9006b30d","system":"dht","time":"2015-01-18T22:24:37.438384858Z"} | |
{"event":"dhtReceivedMessage","message":{"type":"FIND_NODE"},"peerID":"QmZXxbfUdRYi578pectWLFNFv5USQrsXdYAGeCsMJ6X8Zt","session":"65ece018-7cd1-4b58-a441-f72c9006b30d","system":"dht","time":"2015-01-18T2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
324 // if many conns are found, how do we select? for now, randomly... | |
325 // this would be an interesting place to test logic that can measure | |
326 // links (network interfaces) and select properly | |
327 n := rand.Intn(len(cs)) | |
328 var c *conn | |
329 for c = range cs { | |
330 if n == 0 { | |
331 break | |
332 } | |
333 n-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
? github.com/jbenet/go-ipfs [no test files] | |
ok github.com/jbenet/go-ipfs/blocks 0.008s coverage: 12.5% of statements | |
ok github.com/jbenet/go-ipfs/blocks/blockstore 0.013s coverage: 80.8% of statements | |
? github.com/jbenet/go-ipfs/blocks/blocksutil [no test files] | |
ok github.com/jbenet/go-ipfs/blocks/bloom 0.006s coverage: 61.3% of statements | |
? github.com/jbenet/go-ipfs/blocks/set [no test files] | |
ok github.com/jbenet/go-ipfs/blockservice 0.043s coverage: 66.1% of statements | |
ok github.com/jbenet/go-ipfs/cmd/ipfs 0.217s coverage: 2.3% of statements | |
? github.com/jbenet/go-ipfs/cmd/seccat [no test files] | |
ok github.com/jbenet/go-ipfs/commands 0.014s coverage: 50.8% of statements |