Commit Graph

14 Commits

Author SHA1 Message Date
Yusef Napora 8c0011194e fix protocol id in integration test 2020-01-29 09:08:15 -05:00
Yusef Napora eb5f403c33 make Transport and config fields private 2019-12-12 16:23:49 -05:00
Yusef Napora ff835a9cd9 camelCase field names 2019-12-12 16:23:49 -05:00
Yusef Napora c67695a72e don't swallow errors from rand.Read 2019-12-11 19:29:39 -05:00
Yusef Napora 8ab00e7201 rename constructors 2019-12-11 17:25:40 -05:00
Yusef Napora ca63ecd6bc use Options to configure transport
also, adds NewTransportGenerator for cases when you don't know the
libp2p host key when configuring the Noise transport
2019-12-11 17:25:40 -05:00
Yusef Napora b72caed3da guard static key cache with mutex 2019-12-06 15:13:51 -05:00
noot ba7b4e547c improve log formatting 2019-08-27 03:47:07 -04:00
noot 618ebb896a fix ik/xx logic, add more tests for ik 2019-08-26 17:27:39 -04:00
noot 062c1b55e6 move keypair generation to constructors, add xxfallback integration test 2019-08-26 16:48:20 -04:00
noot 382b758957 add rw lock, streams functioning 2019-08-26 08:33:22 -04:00
noot 7df7e33044 fix if statement in runHandshake, clean up code 2019-08-25 03:42:29 -04:00
noot 048274e445 improve secureSession Read 2019-08-24 20:34:12 -04:00
noot 85a35c04f0 send payload from initiator in XX last message 2019-08-24 18:03:22 -04:00