Commit Graph

792 Commits

Author SHA1 Message Date
Juan Batiz-Benet
3a284661fc make vendor
@whyrusleeping `make vendor` or travis fails
2014-10-18 04:28:26 -07:00
Jeromy
1a7fac4551 make test fail instead of hang 2014-10-18 04:28:25 -07:00
Jeromy
00516299dd Add test to test conncurrent connects between two peers 2014-10-18 04:28:25 -07:00
Jeromy
779af0e731 add file i had forgotten to 2014-10-18 04:28:25 -07:00
Jeromy
b2bd6848a8 fix core NewNode not setting network field, and added new json serializer for diagnostics 2014-10-18 04:28:25 -07:00
Jeromy
be5f9769b2 put bandwidth totals into the diagnostic messages 2014-10-18 04:28:25 -07:00
Jeromy
a8330f1f62 add methods on net interface to retrieve bandwidth values 2014-10-18 04:28:25 -07:00
Jeromy
afe85ce1c8 add in basic bandwidth tracking to the muxer 2014-10-18 04:28:25 -07:00
Jeromy
4189d50d77 fix bug in diagnostics, and add more peers to closer peer responses 2014-10-18 04:28:25 -07:00
Jeromy
c77ed6d2aa fix up FindProvidersAsync 2014-10-18 04:28:25 -07:00
Juan Batiz-Benet
c894b1d295 iiii -> peerToQuery
(that wasn't mine :p)
2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
4b5906e466 logging + tweaks 2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
a5a7d99860 meant to call net.DialPeer 2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
0e2289217a remove old pkg 2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
577f8fe807 commenting out platform specific code 2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
d113aa8c1d no longer store incoming addrs 2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
a2d55f36bd removed DialAddr 2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
0117fb118d dht handleAddProviders adds addr in msg
Otherwise don't have the peer's target address.
2014-10-18 04:28:24 -07:00
Juan Batiz-Benet
1555ce7c48 bitswap dials peers
Important bugfix. Otherwise bitswap cannot message peers
the node has not connected to yet :(
2014-10-18 04:28:23 -07:00
Juan Batiz-Benet
d2671afd66 command help spacing 2014-10-18 04:28:23 -07:00
Juan Batiz-Benet
1b1ef6aa09 add local to net/conn 2014-10-18 04:28:23 -07:00
Juan Batiz-Benet
a7bca1021e Merge pull request #186 from cryptix/fixDebug
fix IPFS_DEBUG (was set after SetupLogging)
2014-10-18 03:30:14 -07:00
Henry
02659c68b6 fix IPFS_DEBUG (was set after SetupLogging) 2014-10-18 12:03:47 +02:00
Juan Batiz-Benet
bbfba91070 Merge pull request #180 from cryptix/versionHandshake
Version handshake
2014-10-16 05:26:27 -07:00
Henry
0f47b93005 addressed CR by @jbenet 2014-10-16 14:07:20 +02:00
Henry
67e04f0d29 changed message from SemVer to Handshake1 2014-10-16 13:57:45 +02:00
Henry
6f8a89cd8d renamed version pkg to handshake 2014-10-16 13:37:32 +02:00
Henry
eab1a890a6 don't use my protobuf path 2014-10-16 13:03:47 +02:00
Henry
9dc58639fa dont need coreos/semver yet 2014-10-16 13:00:43 +02:00
Henry
78eb349360 fixed Compatible and added a small test case 2014-10-16 12:29:33 +02:00
Henry
2a5b3eaa71 compare versions for compatibility 2014-10-16 12:09:43 +02:00
Henry
0075a352da only send local version once 2014-10-16 12:03:35 +02:00
Henry
6b0440c050 versionExchange: first stab in the dark 2014-10-16 11:35:54 +02:00
Juan Batiz-Benet
f0571d3255 Merge pull request #179 from cryptix/improveLogging
Improve logging
2014-10-15 05:32:50 -07:00
Henry
0631a39492 cleaned up SetupLogging() 2014-10-15 14:23:54 +02:00
Henry
afa5b7fccc SetupLogging() also called in init() in util/log.go 2014-10-15 14:22:41 +02:00
Henry
0557b1052d updated cmdIpfsLog help text 2014-10-15 14:04:46 +02:00
Henry
ea76b66b7f output these errors directly to the user 2014-10-15 14:00:03 +02:00
Henry
db1ac7499a added help about wildcard 2014-10-15 13:36:14 +02:00
Henry
e4da27a2a5 implemented ipfs log command 2014-10-15 13:34:38 +02:00
Henry
3455846b35 add log command 2014-10-15 13:18:00 +02:00
Henry
c98b0e83b4 use log.Error() config.PathRoot() and CmdIpfs.Dispatch() err 2014-10-15 13:18:00 +02:00
Henry
e0df8895c2 daemon should log a command error too 2014-10-15 13:18:00 +02:00
Henry
515505dccb fix IPFS_DEBUG logging 2014-10-15 13:18:00 +02:00
Henry
ebdaac7f1e introduce IPFS_DEBUG env var 2014-10-15 13:18:00 +02:00
Henry
98d9df544f remove utils.PErr() 2014-10-15 13:17:04 +02:00
Juan Batiz-Benet
2ed154bd71 Merge pull request #178 from cryptix/noCgo
rewrote HOME dir lookup (no cgo)
2014-10-15 04:14:50 -07:00
Henry
960996d166 simplify TildeExpansion() 2014-10-15 13:13:43 +02:00
Henry
320ac339bb checkin github.com/mitchellh/go-homedir" 2014-10-15 12:27:53 +02:00
Henry
c9236dd8e1 use mitchellh/go-homedir instead of simple HOME lookup 2014-10-15 12:21:16 +02:00