Commit Graph

63 Commits

Author SHA1 Message Date
chris 2cd857dd36 If we compare IVs, they of course must properly implement the equals method
This fixes the bug where we would request objects again that were already stored.
2015-04-18 14:34:04 +02:00
chris ceae11b5c6 Minor DB updates
A node can support multiple streams. Unfortunately, an address can't so there might be multiple entries of the same address for different streams.
Also, store object types. I think we'll need them later, specially in search for public keys we requested.
2015-04-18 14:32:09 +02:00
chris e611e5e20a More or less properly shutdown client / network node 2015-04-17 13:01:46 +02:00
chris 8d7b9f6457 Improved POW to use all cores. Interestingly, speed up factor seems to be greater than the number of cores (but still quite slow for real word application) 2015-04-17 11:17:39 +02:00
chris 388a10fe8a Moved POW to its own port so it will be easily possible to create other (faster) implementations 2015-04-14 21:52:21 +02:00
chris 32de01bbf5 Some basics seem to work now like storing messages, addresses, inventory vectors etc. 2015-04-14 19:47:53 +02:00
chris 751ed0c637 Some more POW work - it seems to work, but is very, very, extremely slow. 2015-04-14 19:40:10 +02:00
chris daa9a9911b Added some POW code, it probably doesn't work yet
(takes very long and uses lots of battery, but I didn't get a result yet)
2015-04-11 16:16:41 +02:00
chris 9b383e3bcd Added comments and a few more object types 2015-04-08 20:54:00 +02:00
chris 35088ca033 Network code now works well enough for the server to think it successfully established a connection 2015-04-07 18:48:58 +02:00
chris 3299d8ca4a Networking code, untested 2015-04-06 10:01:03 +02:00
chris 0c4b39bdee It's now possible to send a 'version' message that will be accepted by the other node. 2015-03-31 21:06:42 +02:00
chris caf66ea9a5 Some basic entities and project structure 2015-03-20 14:18:29 +01:00