kubo/util
Juan Batiz-Benet 4391ba4ff4 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
2014-12-20 13:26:27 -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 updated peer/queue + peerset 2014-12-19 22:24:31 -08:00
pipes moved pipes package 2014-11-01 16:07:56 -07:00
testutil testutil: use crand for PeerID gen 2014-12-20 13:26:27 -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