Juan Batiz-Benet
66839fa1de
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
Juan Batiz-Benet
77fccaa2f3
Obviated need for .ID.Pretty() all over the place.
2014-10-06 04:23:55 -07:00
Juan Batiz-Benet
910a76e220
updated multiaddr use across codebase
2014-10-06 04:13:43 -07:00
Juan Batiz-Benet
f3ae0e8e1b
u.Hash - error
...
the u.Hash error can be safely ignored (panic) because multihash
only fails from the selection of hash function. If the fn + length
are valid, it won't error.
cc @whyrusleeping
2014-10-06 02:26:52 -07:00
Juan Batiz-Benet
612be59643
use string datastore keys.
2014-10-03 15:39:22 -07:00
Juan Batiz-Benet
2507680d77
ok fixed queue test
2014-09-26 03:26:48 -07:00
Juan Batiz-Benet
943c3df416
increment time for queue test
...
it's failing when machine slow (travis)
2014-09-26 02:52:41 -07:00
Juan Batiz-Benet
a93a31f20b
peerstore: re-export ErrNotFound
...
This is to avoid having to import ds elsewhere.
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
8ed04cfe23
fixed test
2014-09-22 04:06:17 -07:00
Juan Batiz-Benet
569268c676
peer.DecodePrettyID
2014-09-22 04:06:12 -07:00
Juan Batiz-Benet
98c3afeecf
clean up channel use
2014-09-22 04:05:22 -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
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
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
Siraj Ravel
02deb3cccb
last golint
2014-09-11 13:00:56 -07:00
Brian Tiger Chow
7968b45e58
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
4b97f1f270
create new crypto package and make rest of repo use it
2014-09-03 20:15:10 +00:00
Jeromy
48865db1ea
change handshake to use pub/priv keys for verification
2014-09-01 19:04:18 -07:00
Jeromy
f09dba772c
more tests and add in table filtering by peer latency
2014-08-11 20:11:23 -07:00
Jeromy
67ddab1e4e
tiered put/get implemented
2014-08-09 22:28:46 -07:00
Jeromy
ae6285e5a3
address issues from code review (issue #25 )
2014-08-08 18:09:21 -07:00
Jeromy
c22b6aa316
fixing some race conditions
2014-08-07 06:21:57 -07:00
Jeromy
41c124a282
worked on gathering data for diagnostic messages and some other misc cleanup
2014-08-07 06:21:50 -07:00
Jeromy
71c7c5844a
providers interface is coming along nicely
2014-08-07 06:21:12 -07:00
Jeromy
35a4086e06
rough kbucket implementation, tests and cleanup to follow
2014-08-07 06:21:12 -07:00
Jeromy Johnson
2ec1701494
ledger and a util function on peerID
2014-07-24 12:53:10 -07:00
Juan Batiz-Benet
3f97e7e385
goling: PeerId -> ID
2014-07-22 02:28:25 -07:00
Juan Batiz-Benet
f718bd6a92
go lint
...
link errors left:
- protocol buffers output is not lint-friendly
2014-07-22 02:20:08 -07:00
Juan Batiz-Benet
8d68a72685
peer.Key
2014-07-12 01:51:45 -07:00
Juan Batiz-Benet
5eed33620f
added .Key
2014-07-05 15:02:03 -07:00
Juan Batiz-Benet
50b7c888d5
PeerId type.
2014-07-04 17:35:40 -07:00
Juan Batiz-Benet
a321d8867e
added peer with multihash multiaddrs
2014-07-04 12:22:00 -07:00
Juan Batiz-Benet
3b570d3f82
skeleton.
2014-06-26 01:14:26 -07:00