Mathias Buus
|
9e154a2f50
|
add onflush hook to reply
|
3 years ago |
Mathias Buus
|
87e779160e
|
option to disable retries
|
3 years ago |
Mathias Buus
|
cec3e6c96e
|
add socket option everywhere and streamline internals
|
3 years ago |
Mathias Buus
|
fc9bfca4b6
|
allow changing socket when replying
|
3 years ago |
Mathias Buus
|
86a4ff305e
|
make relaying more explicit
|
3 years ago |
Mathias Buus
|
6c31ac3040
|
swap bad command and invalid token errors
|
3 years ago |
Mathias Buus
|
97addb6957
|
tweak error codes
|
3 years ago |
Mathias Buus
|
02a78f3a83
|
make tokens last a bit longer
|
3 years ago |
Mathias Buus
|
eac1a5676d
|
iterate based on feedback and testnet behaivor
|
3 years ago |
David Mark Clements
|
093cfd5bd8
|
unhandled-rejection-fix
|
4 years ago |
Mathias Buus
|
10ed673e07
|
fix bad sampling of outside data
|
4 years ago |
Mathias Buus
|
9f75648276
|
make bind resolve the port and fix `this` bug
|
4 years ago |
Mathias Buus
|
2f424af545
|
streamline auto bind
|
4 years ago |
Mathias Buus
|
67eca5b65e
|
fix autocommit
|
4 years ago |
Mathias Buus
|
60bd6c1aa3
|
review by @davidmarkclements
|
4 years ago |
Mathias Buus
|
cbd9b8dcb0
|
tweak query api
|
4 years ago |
Mathias Buus
|
4e1f669268
|
force eph if req/res addrs do not match
|
4 years ago |
Mathias Buus
|
0133d5c402
|
add to field to all node objects for easier nat stuff
|
4 years ago |
Mathias Buus
|
7cea7c77c3
|
fix enum
|
4 years ago |
Mathias Buus
|
3f199cf981
|
move to version 2 to avoid utp clashes fully (utp uses 1)
|
4 years ago |
Mathias Buus
|
5809068bea
|
remove old code
|
4 years ago |
Mathias Buus
|
b6ff0c4ca8
|
only store routing into in closests, only store OK nodes
|
4 years ago |
Mathias Buus
|
76ac91db52
|
allow passing in a custom socket to query as well. remove dead code
|
4 years ago |
Mathias Buus
|
25cd47e86a
|
export peer encoding for conveinience
|
4 years ago |
Mathias Buus
|
e9024050e5
|
fix typo
|
4 years ago |
Mathias Buus
|
5d9f4ea7ba
|
final tweaks to nat analyser - only missing docs for stable release
|
4 years ago |
Mathias Buus
|
1016f59e0e
|
only add one sample per bootstrap node
|
4 years ago |
Mathias Buus
|
1e27ca7dbb
|
add nat check, change defaults
|
4 years ago |
Mathias Buus
|
c8e300eaf5
|
move to secure ids
|
4 years ago |
Mathias Buus
|
cbb2feec27
|
more fixes
|
4 years ago |
Mathias Buus
|
f3035f38fc
|
add commit hook to stream
|
4 years ago |
Mathias Buus
|
78e312ef16
|
only forward non nullish mapped data
|
4 years ago |
Mathias Buus
|
5bf735d6e8
|
fix status check being wrong for stats
|
4 years ago |
Mathias Buus
|
a011be7093
|
adaptive mode and add bootstrap isolation recovery
|
4 years ago |
Mathias Buus
|
2ebf446cb4
|
add remoteAddress backed by the nat analyzer
|
4 years ago |
Mathias Buus
|
21c6d5b186
|
add rpc backpressure through reqs-sent/s and rework lots of stuff. start firewall analysis impl
|
4 years ago |
Mathias Buus
|
8ef5d49807
|
fix standard
|
4 years ago |
Mathias Buus
|
1f4239f32c
|
add basic v5 rewrite
|
4 years ago |
Mathias Buus
|
838e42ee74
|
fix some crashes
|
4 years ago |
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 |