ChainSafe / js-libp2p-noise

Noise libp2p handshake for js-libp2p

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow callers to optionally specify the prologue

John-LittleBearLabs opened this issue · comments

While it's certainly nice to be allowed to let it default, it could also be useful to be able to specify it.

This came up as I was working on an implementation for a new transport. I'd like to use this library, but the draft spec calls for a specific prologue. We could probably work around it downstream, but it seems cleaner and nicer to me to land a fix here that others can use.

resolved via #182