Juan Batiz-Benet
08af98d412
logging friendliness
2014-10-18 04:36:20 -07:00
Juan Batiz-Benet
5d9b1f8b1a
swarm bugfix: dial peer out
2014-10-18 04:36:20 -07:00
Juan Batiz-Benet
e7d713380c
colored logfmt
2014-10-18 04:36:20 -07:00
Juan Batiz-Benet
1edc5a4613
updated Conn and Swarm
...
This Commit changes the relationship between Conn and Swarm.
After this, Conn is significantly more autonomous, and follows
an interface.
From here, it will be very easy to make the MultiConn (that
handles multiple Conns per peer).
2014-10-18 04:36:19 -07:00
Juan Batiz-Benet
5681e27304
reworked Conn
2014-10-18 04:28:26 -07:00
Juan Batiz-Benet
ccaa490c91
better peer gen
2014-10-18 04:28:26 -07:00
Juan Batiz-Benet
e989d6febe
move IDFromPubKey to peer pkg
2014-10-18 04:28:26 -07:00
Juan Batiz-Benet
18cfe02d38
dht tests with context
2014-10-18 04:28:26 -07:00
Jeromy
0b97d29c47
small changes to auxiliary dht functions
2014-10-18 04:28:26 -07:00
Jeromy
60cd0f1cf0
some dht cleanup, and make DHTs take a master context
2014-10-18 04:28:26 -07:00
Juan Batiz-Benet
f10b4bd8b3
fixed old swarm test
2014-10-18 04:28:26 -07:00
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
Henry
e735addbb2
object plumbing commands
2014-10-18 04:35:12 +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