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
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
1aff258965
allow values with errors for error proof purposes
5 years ago
David Mark Clements
eb2c7e0a8d
graceful destroy
5 years ago
Mathias Buus
a9bc5632ac
rebootstrap if we become unreachable
6 years ago
Mathias Buus
b4ad55f3fe
forward critical socket errors
6 years ago
Mathias Buus
902828329e
missing socket option
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
Mathias Buus
976b8e9372
fix public hole puncher
6 years ago
Mathias Buus
fca4fe6242
use time-ordered-set
6 years ago
Mathias Buus
7eda09cff3
migrate to blake2b and sodium
7 years ago
Mathias Buus
fbfbca601e
add .bootstrap and fix ping bug
8 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
3faeabd9f8
cleanup and forwarding socket address
8 years ago
Mathias Buus
fb10b3c6e8
be standard
8 years ago
Mathias Buus
fdeb988cfd
add pings
8 years ago
Mathias Buus
fccea9dd9a
starting implementing passive pings
8 years ago
Mathias Buus
112edbcb42
more fixes
8 years ago
Mathias Buus
9651f9e65b
fix running without bootstrap servers
8 years ago
Mathias Buus
f9624a8500
add holepunching support
8 years ago
Mathias Buus
b8696f5b9a
forward socket and add ready function
8 years ago
Mathias Buus
2475393ee2
add holepunching capability
8 years ago
Mathias Buus
1e10375af9
more stuff
8 years ago
Mathias Buus
63aeb6e7de
ephemeral id support
8 years ago
Mathias Buus
85b9acaa6b
better query streams
8 years ago
Mathias Buus
77025e0f3c
backup commit
8 years ago