John Jones
a2a08156a7
Added thread pool to aid in clean daemon shutdown
2017-04-17 14:02:33 -05:00
John Jones
427b5c948f
Added routines to cleanly shutdown daemon
...
This still needs more work, but the mechanism now exists
2017-04-17 11:58:47 -05:00
John Jones
2b0a29a06b
Implemented find providers from remote peers
...
Now, you can ask a known node for a key, and it can pass a list of peers
that are perhaps unknownn to the calling peer.
2017-04-16 23:47:53 -05:00
John Jones
62096ffc1c
Handling finding of peer via swarm
...
Also included is a way to pass port and swarm info to methods that build
the config file. This makes testing easier. Multiple peers can be
started on the same machine easily.
2017-04-13 09:31:58 -05:00
John Jones
950ad31760
For now, puting bogus, non-zero IP address in due to MultiAddress bug.
...
The client pays no attention to the IP address anyway. But the
MultiAddress bug needs to be fixed.
2017-04-03 22:02:44 -05:00
John Jones
2efd59cbd5
adding MultiAddress to peer structure sent to remote connection
2017-04-03 21:18:08 -05:00
John Jones
089d072736
fixed memory freeing for daemon
2017-04-03 17:31:35 -05:00
John Jones
87cf779704
handling add provider
2017-04-03 17:26:33 -05:00
John Jones
e90d966e44
Adding network and swarm functionality
2017-04-03 11:55:36 -05:00
John Jones
cfcabaecd0
Finishing NodeIO
2017-03-19 14:40:16 -05:00
John Jones
e8b8d06f24
refactoring + beginning of file transfer
...
Now attempting to use kademlia to find a hash, and NodeIO to transfer
the file
2017-03-19 07:47:19 -05:00
John Jones
f1aac5d707
Starting to handle get_value request
2017-02-27 12:27:40 -05:00
John Jones
7a6b138444
more ping cleanup and friendly interface to streams
2017-02-23 15:15:33 -05:00