js-waku/packages/peer-exchange
Danish Arora b4f8216761
feat: pre-emptive stream creation for protocols (#1516)
* pass log as an arg to baseprotocol

* optimistically create and use streams for light protocols

* refactor BaseProtocol for readability

* use optimistic stream selection in protocols

* use a new stream for every request instead of reusing

* replenish streams correctly

* create StreamManager

* refactor for a single stream

* fix: listener binds

* declare streamManager as a class var isntead of extending

* remove stream destruction as it happens by default

* simplify logic & address comments

* fix: bind typo

* refactor for improvements

* fix typedoc

* rm: lock

* restructure StreamManager for readbility

* remove log as an arg

* use newStream as a facade in BaseProtoocl
2023-09-04 10:27:25 +05:30
..
src feat: pre-emptive stream creation for protocols (#1516) 2023-09-04 10:27:25 +05:30
.eslintrc.cjs chore: upgrade libp2p and related deps (#1482) 2023-08-16 20:18:13 +05:30
CHANGELOG.md chore: release master (#1444) 2023-08-02 13:02:57 +02:00
package.json chore(deps)(deps): bump it-all from 3.0.2 to 3.0.3 (#1519) 2023-08-31 17:28:31 +02:00
rollup.config.js chore: upgrade libp2p and related deps (#1482) 2023-08-16 20:18:13 +05:30
tsconfig.dev.json chore: extract exports path from package.json for rollup 2023-03-01 15:46:21 +11:00
tsconfig.json chore: fix peer discovery peer-exchange (#1069) 2023-01-04 14:35:44 +05:30