kubo/util
Juan Batiz-Benet c84a714b16 peer change: peer.Peer -> peer.ID
this is a major refactor of the entire codebase
it changes the monolithic peer.Peer into using
a peer.ID and a peer.Peerstore.

Other changes:
- removed handshake3.
-	testutil vastly simplified peer
-	secio bugfix + debugging logs
-	testutil: RandKeyPair
-	backpressure bugfix: w.o.w.
-	peer: added hex enc/dec
-	peer: added a PeerInfo struct
  PeerInfo is a small struct used to pass around a peer with
 	a set of addresses and keys. This is not meant to be a
 	complete view of the system, but rather to model updates to
 	the peerstore. It is used by things like the routing system.
-	updated peer/queue + peerset
-	latency metrics
-	testutil: use crand for PeerID gen
 	RandPeerID generates random "valid" peer IDs. it does not
 	NEED to generate keys because it is as if we lost the key
 	right away. fine to read some randomness and hash it. to
 	generate proper keys and an ID, use:
 	  sk, pk, _ := testutil.RandKeyPair()
 	  id, _ := peer.IDFromPublicKey(pk)
 	Also added RandPeerIDFatal helper
- removed old spipe
- updated seccat
- core: cleanup initIdentity
- removed old getFromPeerList
2014-12-23 08:33:32 -08:00
..
ctx util: fractional context 2014-12-23 08:27:53 -08:00
ctxcloser ctx closer races #270 2014-11-05 09:26:17 -08:00
datastore2 refactor(mdag, bserv, bs) mocks, etc. 2014-12-13 05:17:16 -08:00
debugerror revert to debug error 2014-11-17 22:36:18 -08:00
delay fix: routing mock accuracy 2014-12-15 20:46:43 -08:00
eventlog added loggables pkg 2014-12-16 05:10:45 -08:00
math2 fix(core) bootstrap panic 2014-12-08 18:04:41 -08:00
multierr much simpler net 2014-12-16 05:10:45 -08:00
peerset peer change: peer.Peer -> peer.ID 2014-12-23 08:33:32 -08:00
pipes moved pipes package 2014-11-01 16:07:56 -07:00
testutil peer change: peer.Peer -> peer.ID 2014-12-23 08:33:32 -08:00
todocounter sync counter for processing things 2014-09-22 04:05:23 -07:00
context_test.go feat(util:context) add error logging to context 2014-09-23 21:08:36 -04:00
context.go feat(util:context) add error logging to context 2014-09-23 21:08:36 -04:00
do_test.go readability(util) Do -> ContextDo 2014-11-05 10:07:16 -08:00
do.go readability(util) Do -> ContextDo 2014-11-05 10:07:16 -08:00
file_test.go feat(util) FileExists 2014-11-17 00:44:18 -08:00
file.go feat(util) FileExists 2014-11-17 00:44:18 -08:00
key_set.go refac(bitswap, util) extract KeySet 2014-09-22 04:06:19 -07:00
key.go events(bitswap) try the new event logger in the bitswap GetBlock method 2014-12-05 20:53:18 +00:00
log.go util/log: SetDebugLogging 2014-12-12 02:45:22 -08:00
time_test.go feat(util/time) impl RFC3339Nano UTC utility Format/Parse functions 2014-11-16 02:45:20 -08:00
time.go feat(util/time) impl RFC3339Nano UTC utility Format/Parse functions 2014-11-16 02:45:20 -08:00
util_test.go chore(tests) add Short() -> SkipNow() to slowest tests 2014-11-15 02:10:53 -08:00
util.go refactored cast errors to use a util 2014-11-14 03:19:56 -08:00