| 
						
					 | 
					
						
						
							
						
						e842755275
					 | 
					
						
						
							
							Use newer C++ syntax.
						
						
						
						
						
						
					 | 
					
						2018-09-01 19:54:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						45c1879880
					 | 
					
						
						
							
							Had to rewrite this entire bitch.
						
						
						
						
						
						
					 | 
					
						2018-09-01 19:40:04 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f079d926b7
					 | 
					
						
						
							
							Adding more interfaces to be implemented.
						
						
						
						
						
						
					 | 
					
						2018-07-23 17:35:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d695daf736
					 | 
					
						
						
							
							Added a few new functions.
						
						
						
						
						
						
					 | 
					
						2018-04-01 16:29:40 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8961bce658
					 | 
					
						
						
							
							Start adding code.
						
						
						
						
						
						
					 | 
					
						2018-03-30 13:11:29 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fac59cfd2f
					 | 
					
						
						
							
							Moving to full C++.
						
						
						
						
						
						
					 | 
					
						2018-03-29 15:04:17 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						884d1adb42
					 | 
					
						
						
							
							Line formatting.
						
						
						
						
						
						
					 | 
					
						2017-11-22 17:23:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b1aa31403b
					 | 
					
						
						
							
							Message system now uses queues instead of vectors.
						
						
						
						
						
						
					 | 
					
						2017-11-21 16:34:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e6be2716f4
					 | 
					
						
						
							
							Renaming structs to evade conflicts with already existing code.
						
						
						
						
						
						
					 | 
					
						2017-11-20 13:59:48 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c8964ad81a
					 | 
					
						
						
							
							Added getter functions.
						
						
						
						
						
						
					 | 
					
						2017-11-18 10:59:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d27375162d
					 | 
					
						
						
							
							Move message functions to own file.
						
						
						
						
						
						
					 | 
					
						2017-11-17 17:20:05 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						909a5ff740
					 | 
					
						
						
							
							Improved channel support.
						
						
						
						
						
						
					 | 
					
						2017-11-17 17:18:33 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c6eb1d6b09
					 | 
					
						
						
							
							Improved error retrieval.
						
						
						
						
						
						
					 | 
					
						2017-11-17 17:17:52 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8dd885537f
					 | 
					
						
						
							
							Fixed incorrect comparison.
						
						
						
						
						
						
					 | 
					
						2017-11-15 17:19:28 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f08812fba4
					 | 
					
						
						
							
							Move total into stats.
						
						
						
						
						
						
					 | 
					
						2017-11-10 16:34:36 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						64fbe3ec9c
					 | 
					
						
						
							
							Fixed statistics count.
						
						
						
						
						
						
					 | 
					
						2017-11-10 16:26:34 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d513080baa
					 | 
					
						
						
							
							New interfaces for statistics.
						
						
						
						
						
						
					 | 
					
						2017-11-08 02:25:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5e816cf601
					 | 
					
						
						
							
							Node stat function.
						
						
						
						
						
						
					 | 
					
						2017-11-08 02:00:33 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0c0ce8def2
					 | 
					
						
						
							
							No need for those comments anymore.
						
						
						
						
						
						
					 | 
					
						2017-10-31 16:54:51 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						78a7daf984
					 | 
					
						
						
							
							Uncomment import/export functions.
						
						
						
						
						
						
					 | 
					
						2017-10-30 16:45:22 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						71edd76b60
					 | 
					
						
						
							
							Added to TODO
						
						
						
						
						
						
					 | 
					
						2017-09-29 10:43:41 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5c3e6889de
					 | 
					
						
						
							
							Added more return statements to commented out code.
						
						
						
						
						
						
					 | 
					
						2017-09-29 10:38:30 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ca0a691020
					 | 
					
						
						
							
							Inline the free function.
						
						
						
						
						
						
					 | 
					
						2017-09-29 10:33:39 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0278d786a9
					 | 
					
						
						
							
							Gets the hash of the sender.
						
						
						
						
						
						
					 | 
					
						2017-09-28 18:07:26 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						59d59549e1
					 | 
					
						
						
							
							Check status of sent messages.
						
						
						
						
						
						
					 | 
					
						2017-09-25 17:19:16 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						763277dd9b
					 | 
					
						
						
							
							Fixed spacing.
						
						
						
						
						
						
					 | 
					
						2017-09-25 16:53:41 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a827b11d86
					 | 
					
						
						
							
							Error handling only needs last error.
						
						
						
						
						
						
					 | 
					
						2017-09-25 15:59:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						59c97c8bb8
					 | 
					
						
						
							
							Send message made.
						
						
						
						
						
						
					 | 
					
						2017-09-25 13:01:51 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						18ca002ef6
					 | 
					
						
						
							
							Catch errors.
						
						
						
						
						
						
					 | 
					
						2017-09-25 13:01:13 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b4544a79fe
					 | 
					
						
						
							
							Use standard map.
						
						
						
						
						
						
					 | 
					
						2017-09-25 12:21:32 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bcb01f256d
					 | 
					
						
						
							
							Created message handling functions.
						
						
						
						
						
						
					 | 
					
						2017-09-23 11:30:02 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d5a33ccd79
					 | 
					
						
						
							
							Switch to use const
						
						
						
						
						
						
					 | 
					
						2017-09-23 11:29:48 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						43772c6181
					 | 
					
						
						
							
							On run function if node is running.
						
						
						
						
						
						
					 | 
					
						2017-09-21 10:28:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0df937d3fd
					 | 
					
						
						
							
							Should now be able to join channels.
						
						
						
						
						
						
					 | 
					
						2017-09-21 09:14:31 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7d6cda8d1b
					 | 
					
						
						
							
							Creating new channel file.
						
						
						
						
						
						
					 | 
					
						2017-09-20 21:02:25 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9eee5b7ea5
					 | 
					
						
						
							
							Moved node to global variable.
						
						
						
						
						
						
					 | 
					
						2017-09-20 21:02:04 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3eb8a5e887
					 | 
					
						
						
							
							Connect may give error.
						
						
						
						
						
						
					 | 
					
						2017-09-20 21:01:07 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0337991c0b
					 | 
					
						
						
							
							Channel functionality will be added in the alpha
						
						
						
						
						
						
					 | 
					
						2017-09-20 15:14:28 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5ab7a7bb5b
					 | 
					
						
						
							
							Minor optimization.
						
						
						
						
						
						
					 | 
					
						2017-09-20 10:54:13 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						47271ae5ff
					 | 
					
						
						
							
							Added error handling.
						
						
						
						
						
						
					 | 
					
						2017-09-20 08:34:52 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f1657f1ffd
					 | 
					
						
						
							
							Starting new with C interface.
						
						
						
						
						
						
					 | 
					
						2017-09-18 10:30:18 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4b562c3aa7
					 | 
					
						
						
							
							Remove old files.
						
						
						
						
						
						
						
						Gonna make this library in a C compatible way. 
						
						
					 | 
					
						2017-09-18 10:08:36 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						83ed9b2a86
					 | 
					
						
						
							
							Implemented first connect function.
						
						
						
						
						
						
					 | 
					
						2017-08-23 15:12:04 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6a2798d0c4
					 | 
					
						
						
							
							Adding new files.
						
						
						
						
						
						
					 | 
					
						2017-08-18 17:00:58 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						48e9006220
					 | 
					
						
						
							
							Beginning migration.
						
						
						
						
						
						
					 | 
					
						2017-08-12 13:59:18 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e4de99086a
					 | 
					
						
						
							
							Implemented node removal function.
						
						
						
						
						
						
					 | 
					
						2017-08-05 17:28:31 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5a53d3681d
					 | 
					
						
						
							
							Fixing thread cancellation.
						
						
						
						
						
						
					 | 
					
						2017-08-05 16:38:24 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e82514a56a
					 | 
					
						
						
							
							Minor fixes with list.
						
						
						
						
						
						
					 | 
					
						2017-08-05 16:29:45 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |