Commit Graph

67 Commits

Author SHA1 Message Date
Nicolás Ortega Froysa
8961bce658
Start adding code. 2018-03-30 13:11:29 +02:00
Nicolás Ortega Froysa
fac59cfd2f
Moving to full C++. 2018-03-29 15:04:17 +02:00
Nicolás Ortega Froysa
884d1adb42
Line formatting. 2017-11-22 17:23:42 +01:00
Nicolás Ortega Froysa
b1aa31403b
Message system now uses queues instead of vectors. 2017-11-21 16:34:50 +01:00
Nicolás Ortega Froysa
e6be2716f4
Renaming structs to evade conflicts with already existing code. 2017-11-20 13:59:48 +01:00
Nicolás Ortega Froysa
c8964ad81a
Added getter functions. 2017-11-18 10:59:00 +01:00
Nicolás Ortega Froysa
d27375162d
Move message functions to own file. 2017-11-17 17:20:05 +01:00
Nicolás Ortega Froysa
909a5ff740
Improved channel support. 2017-11-17 17:18:33 +01:00
Nicolás Ortega Froysa
c6eb1d6b09
Improved error retrieval. 2017-11-17 17:17:52 +01:00
Nicolás Ortega Froysa
8dd885537f
Fixed incorrect comparison. 2017-11-15 17:19:28 +01:00
Nicolás Ortega Froysa
f08812fba4
Move total into stats. 2017-11-10 16:34:36 +01:00
Nicolás Ortega Froysa
64fbe3ec9c
Fixed statistics count. 2017-11-10 16:26:34 +01:00
Nicolás Ortega Froysa
d513080baa
New interfaces for statistics. 2017-11-08 02:25:15 +01:00
Nicolás Ortega Froysa
5e816cf601
Node stat function. 2017-11-08 02:00:33 +01:00
Nicolás Ortega Froysa
0c0ce8def2
No need for those comments anymore. 2017-10-31 16:54:51 +01:00
Nicolás Ortega Froysa
78a7daf984
Uncomment import/export functions. 2017-10-30 16:45:22 +01:00
Nicolás Ortega Froysa
71edd76b60
Added to TODO 2017-09-29 10:43:41 +02:00
Nicolás Ortega Froysa
5c3e6889de
Added more return statements to commented out code. 2017-09-29 10:38:30 +02:00
Nicolás Ortega Froysa
ca0a691020
Inline the free function. 2017-09-29 10:33:39 +02:00
Nicolás Ortega Froysa
0278d786a9
Gets the hash of the sender. 2017-09-28 18:07:26 +02:00
Nicolás Ortega Froysa
59d59549e1
Check status of sent messages. 2017-09-25 17:19:16 +02:00
Nicolás Ortega Froysa
763277dd9b
Fixed spacing. 2017-09-25 16:53:41 +02:00
Nicolás Ortega Froysa
a827b11d86
Error handling only needs last error. 2017-09-25 15:59:23 +02:00
Nicolás Ortega Froysa
59c97c8bb8
Send message made. 2017-09-25 13:01:51 +02:00
Nicolás Ortega Froysa
18ca002ef6
Catch errors. 2017-09-25 13:01:13 +02:00
Nicolás Ortega Froysa
b4544a79fe
Use standard map. 2017-09-25 12:21:32 +02:00
Nicolás Ortega Froysa
bcb01f256d
Created message handling functions. 2017-09-23 11:30:02 +02:00
Nicolás Ortega Froysa
d5a33ccd79
Switch to use const 2017-09-23 11:29:48 +02:00
Nicolás Ortega Froysa
43772c6181
On run function if node is running. 2017-09-21 10:28:11 +02:00
Nicolás Ortega Froysa
1b24fb56b4
Include all new messages, including own.
Messages sent from one's own node can be used as confirmation of the
send.
2017-09-21 10:13:03 +02:00
Nicolás Ortega Froysa
0df937d3fd
Should now be able to join channels. 2017-09-21 09:14:31 +02:00
Nicolás Ortega Froysa
7d6cda8d1b
Creating new channel file. 2017-09-20 21:02:25 +02:00
Nicolás Ortega Froysa
9eee5b7ea5
Moved node to global variable. 2017-09-20 21:02:04 +02:00
Nicolás Ortega Froysa
3eb8a5e887
Connect may give error. 2017-09-20 21:01:07 +02:00
Nicolás Ortega Froysa
0337991c0b
Channel functionality will be added in the alpha 2017-09-20 15:14:28 +02:00
Nicolás Ortega Froysa
d706702a4e
Some commented out functions to enable later.
The next release of OpenDHT should contain the fixes for this.
2017-09-20 10:54:33 +02:00
Nicolás Ortega Froysa
5ab7a7bb5b
Minor optimization. 2017-09-20 10:54:13 +02:00
Nicolás Ortega Froysa
47271ae5ff
Added error handling. 2017-09-20 08:34:52 +02:00
Nicolás Ortega Froysa
f1657f1ffd
Starting new with C interface. 2017-09-18 10:30:18 +02:00
Nicolás Ortega Froysa
4b562c3aa7
Remove old files.
Gonna make this library in a C compatible way.
2017-09-18 10:08:36 +02:00
Nicolás Ortega Froysa
83ed9b2a86
Implemented first connect function. 2017-08-23 15:12:04 -05:00
Nicolás Ortega Froysa
6a2798d0c4
Adding new files. 2017-08-18 17:00:58 -05:00
Nicolás Ortega Froysa
48e9006220
Beginning migration. 2017-08-12 13:59:18 -05:00
Nicolás Ortega Froysa
e4de99086a
Implemented node removal function. 2017-08-05 17:28:31 -05:00
Nicolás Ortega Froysa
5a53d3681d
Fixing thread cancellation. 2017-08-05 16:38:24 -05:00
Nicolás Ortega Froysa
e82514a56a
Minor fixes with list. 2017-08-05 16:29:45 -05:00
Nicolás Ortega Froysa
afe5f6ae4e
Adding implementation for adding new node. 2017-08-05 15:41:01 -05:00
Nicolás Ortega Froysa
03156e45de
Remove old interfaces 2017-08-05 15:14:37 -05:00
Nicolás A. Ortega
874a33b687
Added new interfaces.
- Resize directory list
 - Get size of the directory
 - Get the number of nodes in directory
 - Fixed bug in shutdown allowing to start back up
2017-08-01 16:42:30 -05:00
Nicolás A. Ortega
84ba3aa83c
Check if already started. 2017-08-01 14:52:57 -05:00