Brian Tiger Chow
|
d514b91ff3
|
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
|
52cefb16cd
|
Routing uses context now
@perfmode boom
|
2014-09-22 04:06:18 -07:00 |
|
Juan Batiz-Benet
|
aa29603923
|
dht tests pass again
|
2014-09-22 04:06:16 -07:00 |
|
Juan Batiz-Benet
|
afb1d01048
|
provider testing
|
2014-09-22 04:06:15 -07:00 |
|
Brian Tiger Chow
|
0bd8f2092b
|
refac(routing) replace timeout -> ctx
@jbenet oh hai there!
|
2014-09-22 04:06:14 -07:00 |
|
Juan Batiz-Benet
|
043c09e14b
|
fixed get/put
|
2014-09-22 04:06:12 -07:00 |
|
Juan Batiz-Benet
|
9dd39de491
|
Fixed connections all over.
|
2014-09-22 04:06:12 -07:00 |
|
Juan Batiz-Benet
|
f41817c8d3
|
use Alpha as the concurrency.
cc @whyrusleeping
|
2014-09-22 04:06:12 -07:00 |
|
Juan Batiz-Benet
|
de7af506b1
|
dht.Connect(Peer)
|
2014-09-22 04:06:12 -07:00 |
|
Juan Batiz-Benet
|
9ea715cb10
|
comment out dht_test for now.
|
2014-09-22 04:06:10 -07:00 |
|
Juan Batiz-Benet
|
700b6ab99f
|
remove start
|
2014-09-22 04:05:23 -07:00 |
|
Juan Batiz-Benet
|
dc0fbfd3d3
|
added some logging
|
2014-09-22 04:05:23 -07:00 |
|
Juan Batiz-Benet
|
a114e9cd12
|
better query processing (runner)
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
56e6c453a2
|
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
|
29322a24da
|
tests compile
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
67bd041b9c
|
got everything to build
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
e62b822277
|
refactored keyspace Adjusted -> Bytes
|
2014-09-22 04:05:20 -07:00 |
|
Juan Batiz-Benet
|
6c00938e78
|
kbucket use new keyspace
|
2014-09-22 04:05:20 -07:00 |
|
Juan Batiz-Benet
|
ac9745bc4c
|
moved keyspace
|
2014-09-22 04:05:20 -07:00 |
|
Juan Batiz-Benet
|
ab04137853
|
SortByDistance copy fix
|
2014-09-22 04:05:20 -07:00 |
|
Juan Batiz-Benet
|
b838cc0619
|
cleaner KeySpace abstraction.
|
2014-09-22 04:05:20 -07:00 |
|
Juan Batiz-Benet
|
15a823d058
|
newMessage and more impl.
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
0773e584fd
|
updated Update function
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
3ae7021700
|
getFromPeerList and peerFromInfo
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
e4e021085b
|
add Peerstore to dht
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
34a0580ea6
|
godep multiaddr update
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
4cc1f60d91
|
Peerstore -- threadsafe collection
this will later have persistent storage, but no need yet
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
3711d54098
|
getValueSingle using SendRequest
|
2014-09-22 04:05:18 -07:00 |
|
Juan Batiz-Benet
|
520640840f
|
check type assertion
`v.([]byte)` coming from a datastore can panic.
`byt, ok := v.([]byte)` to be safe.
@whyrusleeping
|
2014-09-22 04:05:18 -07:00 |
|
Juan Batiz-Benet
|
0fca9868ae
|
uncomment all handlers
|
2014-09-22 04:05:18 -07:00 |
|
Juan Batiz-Benet
|
d91955b412
|
moved handlers to own file
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
c4536d127d
|
comment out diagnostic
it'll have to change lots since the listener is gone
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
69ed45c555
|
refactor peer distance search + handleGetProviders
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
9eb41e7237
|
ping + find peer
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
2522625bc6
|
lint nit
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
e872482aa7
|
refactor symbol
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
2f2808e9d8
|
handleGetValue
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
9c5c49b690
|
starting on dht-- msg handler
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
1461feec3f
|
simpler, clearer dht message
|
2014-09-22 04:05:17 -07:00 |
|
Juan Batiz-Benet
|
b0d0b5fc20
|
better protobuf Makefile with wildcard.
|
2014-09-22 04:05:16 -07:00 |
|
Brian Tiger Chow
|
0075a47df0
|
fix(bs) remove concrete refs to swarm and dht
|
2014-09-22 04:05:15 -07:00 |
|
Juan Batiz-Benet
|
c14123397a
|
starting to integrate new net
|
2014-09-22 04:05:13 -07:00 |
|
Juan Batiz-Benet
|
67e76c0acc
|
godeps multiaddr + swarm move.
|
2014-09-22 04:05:12 -07:00 |
|
Juan Batiz-Benet
|
2563e9204c
|
network.Find -> network.GetPeer
|
2014-09-22 04:05:11 -07:00 |
|
Juan Batiz-Benet
|
71ec4f91dc
|
Drop -> CloseConnection
|
2014-09-22 04:05:11 -07:00 |
|
Jeromy
|
d326fc61e4
|
fix typo that caused test failure in dht_test.go
|
2014-09-18 18:32:58 +00:00 |
|
Jeromy
|
b5a1b1c658
|
improve cleaning up in dht tests.
|
2014-09-15 20:45:36 +00:00 |
|
Siraj Ravel
|
0b5447a60a
|
checking returned value
|
2014-09-14 21:44:19 -07:00 |
|
Siraj Ravel
|
e6bc0772ed
|
Test for getLocal method in DHT
|
2014-09-14 20:59:09 -07:00 |
|
Siraj Ravel
|
b88ee2870a
|
golint cleanup
|
2014-09-11 12:25:52 -07:00 |
|