refactoring + beginning of file transfer

Now attempting to use kademlia to find a hash, and NodeIO to transfer
the file
This commit is contained in:
John Jones 2017-03-19 07:47:19 -05:00
parent 93c4988f90
commit e8b8d06f24
20 changed files with 357 additions and 90 deletions

View file

@ -1,10 +1,11 @@
#ifndef addresses_h
#define addresses_h
#include "libp2p/utils/linked_list.h"
#include "swarm.h"
struct Addresses {
struct SwarmAddresses* swarm;
struct Libp2pLinkedList* swarm_head;
char* api;
char* gateway;
};