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:
parent
93c4988f90
commit
e8b8d06f24
20 changed files with 357 additions and 90 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue