Skip to content

v0.0.2

Compare
Choose a tag to compare
@lithdew lithdew released this 17 Jun 15:31
· 21 commits to master since this release

Changelog

c04607d cmd/flatend, examples, node, packet, provider: add kademlia routing table and peer discovery support
a795271 cmd/flatend, flathttp: move http.Handler for forward http requests to services/nodes and middleware into separate flathttp pkg
573deeb cmd/flatend: allow for config file to not be available, and add warning
1e553ce cmd/microservice: remove
c416938 examples/go/clock, net, node: fix bidirectional rpc being clogged by unread body, randomly shuffle providers around for now, and add clock example
1e698db examples/go/clock: format logs
7bcd451 examples/go/clock: update readme
57a5345 examples/node: updated all node examples
26bd72a examples: add counter example for go and nodejs
bbfd792 examples: add file example in go and nodejs
7a9c22a examples: add hello_world in go and nodejs
e9b201c examples: add pipe example in go and nodejs
74bce78 examples: add todo example for go
a6261b6 examples: add todo example for nodejs
f10b026 node: only print that you are connected to a provider when its your first time, and print that the provider was re-probed otherwise
4210be1 sdk/node: add cleanup listeners to socket, re-add reconnection loop for dialed nodes
5795199 sdk/node: add description and version and rename 'prepublish' to 'prepare'
6a41573 sdk/node: cleanup Node.start(), refactor packet.ts and flatend.ts into separate files, fix some type checks
6df8fed sdk/node: convert ipv6 to ipv4 if it may be mapped to ipv4, implement peer discovery, fix multiple unnecessary dials, have registerProvider() return if the provider existed or not before it was registered
f79206a sdk/node: fix FindNodeRequest taking a target that is a public key instead of an id, have clients map keep track of sockets and create a Provider class that replaces the Client class, add onPeerJoin method that handles an incoming handshake request, have nodes send back a handshake reply, handle FindNodeRequest
64122c5 sdk/node: fix provider not being registered when spammed with requests on startup
c6118b7 sdk/node: implement FindNodeRequest, FindNodeResponse, and kademlia routing table
f0d5abd sdk/node: instantiate routing table for nodes, package away dns resolve into util methods, have routing table only require specifying a public key it should position entries relative to
aca83ce sdk/nodejs, readme: export ID as a packet, and format out options on readme
79bf013 v0.0.2