Mathias Buus
9e154a2f50
add onflush hook to reply
3 years ago
Mathias Buus
87e779160e
option to disable retries
3 years ago
Mathias Buus
86a4ff305e
make relaying more explicit
3 years ago
Mathias Buus
eac1a5676d
iterate based on feedback and testnet behaivor
3 years ago
Mathias Buus
2f424af545
streamline auto bind
4 years ago
Mathias Buus
5d45d639fb
emit listening and always bind in ready for ease of use
4 years ago
Mathias Buus
1928257189
add failing shorthand commit test
4 years ago
Mathias Buus
cbd9b8dcb0
tweak query api
4 years ago
Mathias Buus
c4f7e566fe
add sampledNAT helper
4 years ago
Mathias Buus
bd1c516a7a
port of last of the tests
4 years ago
Mathias Buus
88f57d85c1
add NAT_OPEN enum
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
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
1f4239f32c
add basic v5 rewrite
4 years ago
Mathias Buus
dae3760b8d
switch to blake2b-universal and native sodium
5 years ago
Aurélien Ooms
a249cba298
test: Use process.nextTick instead of setTimeout.
5 years ago
Aurélien Ooms
730a9066b9
feat: Add getNodes() and addNodes() methods.
5 years ago
David Mark Clements
03c5eb512b
persistent method, rm setEphemeral ( #19 )
* persistent method, rm setEphemeral
* docs: persistent
5 years ago
Mathias Buus
f982562ca4
revert id === null logic as it causes timeouts with bootstrap nodes
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
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
Mathias Buus
7eda09cff3
migrate to blake2b and sodium
7 years ago
Mathias Buus
963510c3e9
closest -> update
8 years ago
Mathias Buus
877880de2f
more tests and bug fixes
8 years ago
Mathias Buus
1bd4074f4b
add tests
8 years ago
Mathias Buus
4a49872dc1
remove old test file
8 years ago
Mathias Buus
77025e0f3c
backup commit
8 years ago