p2p network in C using sockets
compile it with make all
and then run ./node <node_port> <node_port_to_connect>
where <node_port>
is port on which node will be runnning and <node_port_to_connect>
is node port to connect to and receive messages and heartbeats. Use 0 for initial node
run valgrind --track-origins=yes --leak-check=full -s
to check all memory leaks
freshly connected node does not get transactions, only blockchain