Brian Tiger Chow
|
077a34c247
|
fix(net) pass contexts to dial peer
|
2014-11-05 10:04:20 -08:00 |
|
Brian Tiger Chow
|
a211f1ecdb
|
fix(all) log.Debug -> log.Debugf
|
2014-10-30 06:35:29 -07:00 |
|
Brian Tiger Chow
|
e3d7d2b50c
|
refactor(routing) use routing.ErrNotFound
|
2014-10-28 02:17:46 -07:00 |
|
Brian Tiger Chow
|
1024504a6f
|
refactor(dht/pb) move proto to pb package
|
2014-10-25 04:13:28 -07:00 |
|
Juan Batiz-Benet
|
2aeefaa102
|
go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
|
2014-10-25 03:46:39 -07:00 |
|
Jeromy
|
d817b84a64
|
rewrite findpeer and other dht tweaks
|
2014-10-24 18:53:36 -07:00 |
|
Juan Batiz-Benet
|
5582e282d4
|
Dialer for dht
dht doesn't need the whole network interface, only needs a Dialer.
(much reduced surface of possible errors)
|
2014-10-22 03:24:05 -07:00 |
|
Juan Batiz-Benet
|
5a2dc1a9f5
|
query wasnt ensuring conn
The query-- once it's actually attempting to connect to a peer--
should be the one connecting.
|
2014-10-22 03:24:05 -07:00 |
|
Juan Batiz-Benet
|
28e083b902
|
peer.Peer is now an interface

|
2014-10-20 03:26:46 -07:00 |
|
Jeromy
|
9dbba5c6d0
|
some dht cleanup, and make DHTs take a master context
|
2014-10-18 04:28:26 -07:00 |
|
Jeromy
|
c4d9c231dd
|
fix up FindProvidersAsync
|
2014-10-18 04:28:25 -07:00 |
|
Juan Batiz-Benet
|
9b0f481c76
|
u.DOut -> log.Debug
and other logging switches. I kept the u.PErr and u.POut in cli
commands, as those do need to write raw output directly.
|
2014-10-09 04:50:22 -07:00 |
|
Jeromy
|
52fca5a91e
|
add in some extra debug logging, and increase routing table latencies
|
2014-10-08 21:55:50 +00:00 |
|
Juan Batiz-Benet
|
740b381804
|
changed logging, in dht and elsewhere
- use log.* instead of u.*
- use automatic type conversions to .String()
(Peer.String() prints nicely, and avoids calling b58 encoding
until needed)
|
2014-10-07 21:33:59 -07:00 |
|
Jeromy
|
8815a7c482
|
implement publisher for ipns to wait until moments of rapid churn die down
|
2014-10-01 00:42:17 -07:00 |
|
Jeromy
|
1959218b91
|
update logging in multiple packages
|
2014-10-01 00:41:30 -07:00 |
|
Jeromy
|
bb3629554f
|
writing files inside ipns works now! also implemented resolve cli command
|
2014-10-01 00:41:29 -07:00 |
|
Jeromy
|
97e72e1aae
|
WIP: getting closer to being able to write in ipns dirs
|
2014-10-01 00:41:29 -07:00 |
|
Jeromy
|
bc69395baa
|
writes to ipns work if the top object is the written file (no directories yet!)
|
2014-10-01 00:39:57 -07:00 |
|
Jeromy
|
9bf956a8cf
|
implement initial ipns filesystem interface as well as plumbing command for publishing
|
2014-10-01 00:39:57 -07:00 |
|
Jeromy
|
9dc86ca5cb
|
add basic publish command, needs polish
|
2014-10-01 00:39:57 -07:00 |
|
Jeromy
|
e223f19a9c
|
catch ipns branch up to master and make all things compile
|
2014-10-01 00:37:53 -07:00 |
|
Jeromy
|
e38b2d89d3
|
add routing resolver test
|
2014-10-01 00:26:59 -07:00 |
|
Jeromy
|
0d81f0bdaf
|
some bugfixes and added logging
|
2014-10-01 00:26:59 -07:00 |
|
Jeromy
|
b016e37711
|
fixes to make interface more usable
|
2014-10-01 00:25:52 -07:00 |
|
Jeromy
|
f68587d2ec
|
udpated commands and RPC dialing to work with new configuration changes
|
2014-09-27 16:02:50 -07:00 |
|
Jeromy
|
76e5a51e63
|
turn logging on by default, also make Provide not fail when no peers connected
|
2014-09-22 19:22:04 -07:00 |
|
Juan Batiz-Benet
|
38d8a0d979
|
better logging for ping
|
2014-09-22 15:53:37 -07:00 |
|
Brian Tiger Chow
|
5858c8cfcd
|
fix(routing:dht) implement FindProvidersAsync in terms of FindProviders
until construction is complete on the actual async method
reverts changes from ec50703395098f75946f0bad01816cc54ab18a58
ec50703395
|
2014-09-22 04:06:18 -07:00 |
|
Juan Batiz-Benet
|
a62411035e
|
Routing uses context now
@perfmode boom
|
2014-09-22 04:06:18 -07:00 |
|
Juan Batiz-Benet
|
b0fbaeeef4
|
provider testing
|
2014-09-22 04:06:15 -07:00 |
|
Brian Tiger Chow
|
99d72bcd58
|
refac(routing) replace timeout -> ctx
@jbenet oh hai there!
|
2014-09-22 04:06:14 -07:00 |
|
Juan Batiz-Benet
|
34e171e2b3
|
fixed get/put
|
2014-09-22 04:06:12 -07:00 |
|
Juan Batiz-Benet
|
709f932e6e
|
Fixed connections all over.
|
2014-09-22 04:06:12 -07:00 |
|
Juan Batiz-Benet
|
b5f0a42bd6
|
better query processing (runner)
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
75b1212d35
|
fix(routing/dht) match the routing interface
the channel's "spin" is specified in the interface now =)
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
fdea4d9c5f
|
got everything to build
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
fa2b736bbe
|
newMessage and more impl.
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
9f04d5e839
|
godeps multiaddr + swarm move.
|
2014-09-22 04:05:12 -07:00 |
|
Brian Tiger Chow
|
531769861d
|
vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json
update datastore to e89f0511
update go.crypto
|
2014-09-09 22:39:42 -07:00 |
|
Jeromy
|
0b02834cfe
|
rework dagreader to have a dagservice for node resolution
|
2014-09-06 22:11:44 +00:00 |
|
Jeromy
|
09f183d174
|
Merge branch 'master' into crypto
Conflicts:
routing/dht/dht.go
|
2014-09-04 20:46:39 +00:00 |
|
Jeromy
|
a3f0d585fb
|
allow peers to realize that they are actually a provider for a value
|
2014-09-04 20:32:46 +00:00 |
|
Jeromy
|
784432473a
|
fix up tests that started failing after changing identify code
|
2014-09-01 21:55:59 -07:00 |
|
Jeromy
|
07535a64ee
|
add pub/priv key code to identify, not complete yet
|
2014-09-01 16:09:03 -07:00 |
|
Jeromy
|
46057597bb
|
bitswap first working commit!
|
2014-08-26 14:24:51 -07:00 |
|
Jeromy
|
26eaa33414
|
more work on bitswap and other code cleanup
|
2014-08-25 09:44:42 -07:00 |
|
Jeromy
|
1f31afdb46
|
refactor to allow use of mes_listener outside of dht
|
2014-08-23 22:25:50 -07:00 |
|
Jeromy
|
2f6d94a86b
|
fix swarm message type code, i beleive it works well now
|
2014-08-20 18:42:40 -07:00 |
|
Jeromy
|
d574d518b1
|
add in message type routing to the swarm object. tired, needs cleanup.
|
2014-08-20 18:42:31 -07:00 |
|