Andrew Osheroff
51e3da5fd7
Don't pass concurrency as highWaterMark to Readable
4 years ago
Mathias Buus
df6579622a
undef values should never be encoded
5 years ago
Mathias Buus
73864e832e
always set punch.to
5 years ago
Mathias Buus
dae3760b8d
switch to blake2b-universal and native sodium
5 years ago
Mathias Buus
df284d86d9
do a fast holepunch attempt if no reply has come in 500ms
5 years ago
Mathias Buus
f9293beb69
add version
5 years ago
Mathias Buus
37dadea1d1
fix peers not getting gced
5 years ago
Mathias Buus
0199773e69
make socket saturation take request-per-seconds into account to avoid starvation when lots of timeouts happen
5 years ago
Mathias Buus
f1c32cc5fa
emit response event from query
5 years ago
Mathias Buus
e0fd311396
forward to info to the query-stream
5 years ago
Mathias Buus
ffc43c2723
infer holepunchability from peers ( #18 )
* infer holepunchability from peers
* use res.to in pong for forwards compat
* add remoteAddress also
* add initial-nodes event
* docs
5 years ago
Mathias Buus
f136f55bb5
fix standard
5 years ago
Mathias Buus
733a48dfa6
bump protobuf
5 years ago
Mathias Buus
f982562ca4
revert id === null logic as it causes timeouts with bootstrap nodes
5 years ago
Mathias Buus
a85df37327
update id directly
5 years ago
David Mark Clements
74c4a740e1
add setEphemeral method ( #9 )
* add turnNonEphemeral method
* rename to joinDht
* joinDht functionality and tests
* update ephemeral flag only after successful join dht
* joinDht -> setEphemeral
* setEphem(true) test, currently failing
* setEphemeral(true) now working
* rm left over debug artifacts
* update docs to api alteration
* trigger newly ephem node gc from the ght via requests instead of ping, as we need ping for holepunching to bootstrap nodes
* charCodeAt instead of string slice
5 years ago
David Mark Clements
64cca951a9
increase retry for greater scale
5 years ago
David Mark Clements
1aff258965
allow values with errors for error proof purposes
5 years ago
David Mark Clements
eb2c7e0a8d
graceful destroy
5 years ago
Mathias Buus
a409d9701b
fix bug where a null node is removed from the linked list
6 years ago
Mathias Buus
2a3e5b2721
fix ontick bug if inflights is mutated during cb
6 years ago
Mathias Buus
304b23f4d7
fix error on destroy
6 years ago
Mathias Buus
b68e47883a
add error status to query-stream
6 years ago
Mathias Buus
3a05e9c03e
Next version ( #2 )
* rebase on top old history
* fix dep
* more missing deps
* updated docs
* impl readme api
* final tweaks
* more tests
* revert version
* remove dead code
6 years ago