10 Commits

Author SHA1 Message Date
Maciej Krüger
8ad4c15562 refactor: use async await (#108)
* chore: upgrade deps

* feat: first iteration of the idea

* feat: iterate a layer deeper

* feat: rewrite handshake

* feat: rewrite propose

* feat: rewrite finish

* feat: rewrite exchange

* feat: rewrite low-level stuff

* feat: work on rewriting tests

* refactor: browser tests

* refactor: .aegir.js

* feat: refactor benchmarks

* fix: try to make it work

* fix: lint

* refactor: move tests

* refactor: switch deps

* refactor: entry file

* refactor: a bit more

* fix: tests

* feat: inital iterables refactor

* refactor: streaming

* refactor: cleanup

* fix: turn bufferlist into buffer

* fix: use errors from interfaces

* refactor: etm

* fix: typo

* fix: .read error

* fix: satisfy output expectations

* fix: it works - WARNING: using varint instead of fixed lp, tests lie

* fix: use errors

* refactor: benchmarks

* fix: add suggestions from review

Co-Authored-By: Jacob Heun <jacobheun@gmail.com>

* fix: upgrade deps and use correct lp-encoder

* refactor: apply changes from review

* refactor: apply changes from review

* refactor: apply changes from review

* chore: remove old tests

test: add support tests back

* test: fix async benchmarks

* chore: clean up deps

* fix: use fixed encoding/decoding everywhere

fix: exchange final nonce handshake over encryption

* test: add verify inbound and outbound secio

* test: verify nonces are boxed

* chore: add node 12 to ci
2019-11-22 14:18:17 -06:00
Hugo Dias
f95a406ee0 fix: reduce bundle size 2019-01-11 17:22:05 +01:00
David Dias
5e4bbe385d test: fix benchmarks 2018-01-07 18:44:33 +00:00
David Dias
74f6fd8ab3 test: check if we dialed to the right peer 2018-01-07 16:24:43 +00:00
David Dias
ee1f64c98e test: add more interesting benchmarks 2018-01-07 16:24:43 +00:00
David Dias
5ee1573637 refactor: speed up benchmarks 2018-01-07 16:24:43 +00:00
David Dias
65b9675ffe chore: fix linting 2018-01-07 16:24:43 +00:00
David Dias
cefb97f194 chore: update benchmarks 2017-07-22 15:44:43 -07:00
Friedel Ziegelmayer
ddb43af01a fix tests 2016-11-09 11:05:13 +01:00
Friedel Ziegelmayer
a1167c0084 Async Crypto Endeavour (+benchmarks!) (#19)
* feat: add benchmarks and integrate with new libp2p-crypto

* start removing node-forge

* less forge

* cleanup and fixes

* benchmarked and tested

* remove unused .aegir

* Replace lib multihashing with multihashing-async

* cleanup package.json

* Using string instead of buffer for proto file

* chore: fix benchmarks

* docs(readme): update README URLs based on HTTP redirects

* ready for next aegir

* update aegir

* ready

* chore: update deps
2016-11-03 09:23:33 +00:00