Juan Batiz-Benet
|
25d0ce8fdd
|
NoResponse service
|
2014-09-22 04:05:23 -07:00 |
|
Juan Batiz-Benet
|
69b1ce42d9
|
nil muxer
|
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 |
|
Juan Batiz-Benet
|
98c3afeecf
|
clean up channel use
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
b77a785cd8
|
fix(dht) remove deprecated Start() call
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
20802018a6
|
feat(bit swap) stub out a concrete strategist
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
22539cf6d0
|
fix(bitswap:strategy) move key set
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
b8133a4853
|
refac(bit swap) move ledger to strategy package
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
2d6e422f4a
|
style(bitswap) sort in c'tor
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
36ce8a280b
|
chore(bitswap) rm halt chan since bitswap has no daemon
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
2dc8bc8381
|
chore(bitswap) rm vestigial fields
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
b8fcc137a6
|
refac(bitswap) inline helper methods
for readability
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
4448494155
|
feat(bitswap:strategy) add interfaces
refac(bitswap:strategy) update interface
|
2014-09-22 04:05:22 -07:00 |
|
Brian Tiger Chow
|
cff3a86622
|
refac(bitswap) privatize send block
|
2014-09-22 04:05:21 -07:00 |
|
Brian Tiger Chow
|
830883722d
|
chore(bitswap) remove dead/unused wantlist code
|
2014-09-22 04:05:21 -07:00 |
|
Brian Tiger Chow
|
547f9e1cf6
|
fix(core) patiently convince the core to compile
=)
|
2014-09-22 04:05:21 -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
|
551c40930e
|
chan queue
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
ae1f7688aa
|
separate to ensure sync safety
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
9e2c3fb8fc
|
expose Len on PQ
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
51eeec1a79
|
sync safety to pq
|
2014-09-22 04:05:21 -07:00 |
|
Juan Batiz-Benet
|
a21c1b6b62
|
PeerQueue (based on XOR distance metric)
|
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 |
|
Brian Tiger Chow
|
7622c4bb17
|
refac(bitswap) define Directory interface
|
2014-09-22 04:05:20 -07:00 |
|
Brian Tiger Chow
|
b36670df7e
|
refac(bitswap) privatize ledger
temporarily. at least until refactor is complete
|
2014-09-22 04:05:20 -07:00 |
|
Brian Tiger Chow
|
e4bceca229
|
refac(bitswap) privatize strategies
temporarily. until bitswap is refactored
|
2014-09-22 04:05:20 -07:00 |
|
Brian Tiger Chow
|
c07578d6ab
|
chore(util) rm unused DatastoreKey method
|
2014-09-22 04:05:20 -07:00 |
|
Brian Tiger Chow
|
03ffdbffed
|
refac(bitswap): privatize bitswap
|
2014-09-22 04:05:20 -07:00 |
|
Brian Tiger Chow
|
881447e68e
|
refac(bitswap) use blockstore
|
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
|
c4fa995faf
|
Peer: change locking to whole Peer object.
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
5dea384510
|
peer: golint
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
71e411e538
|
Peer: only add addresses once.
|
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
|
70ea4f540c
|
added peerstore to core
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
9c6a3b2091
|
peerstore test
|
2014-09-22 04:05:19 -07:00 |
|
Juan Batiz-Benet
|
c08b895851
|
Peerstore - threadsafe peer collection
will have persistence later on as a datastore passed in.
|
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 |
|