Commit Graph

35 Commits

Author SHA1 Message Date
f76864eebd Added tests for all repositories, fixed some bugs and made database configurable 2015-06-05 13:43:56 +02:00
274c16b748 Implemented sending messages (and fixed a few bugs on the way)
This closes issue #3
2015-05-29 13:17:00 +02:00
593eebb33b Added some JavaDoc 2015-05-27 19:06:46 +02:00
245ca22743 Updated documentation, added German translation 2015-05-24 21:55:37 +02:00
b347214b66 Introduced some custom exceptions 2015-05-23 16:01:18 +02:00
b793526f2f Inventory items are now saved only if processing didn't fail. Receiving messages works, but there seems to be a problem with the POW check in some circumstances. 2015-05-23 10:27:05 +02:00
6b3b361aa3 A simple command line application (WIP), and a few tests. Unfotrunately, receiving messages doesn't seem to work yet. 2015-05-22 20:51:57 +02:00
1fbc4a1d74 Major refactoring 2015-05-19 19:16:20 +02:00
07f185be35 Finally fixed address creation and private key import 2015-05-16 16:33:26 +02:00
cb1392e0f4 Signatures work 2015-05-15 15:25:06 +02:00
ed14e95d70 Signature check works 2015-05-15 12:36:57 +02:00
b996774ffb Some code cleanup 2015-05-12 19:37:42 +02:00
46bb00c0aa I don't believe it - encryption works!!! 2015-05-12 19:04:00 +02:00
f23f432f07 Decryption works now!
(well, for v4 pubkeys at least)
2015-05-09 17:27:45 +02:00
5d6484cdf3 Pubkey import now works properly
(well theoretically - practically we still need client support to store them)
2015-05-06 20:36:42 +02:00
fde6398156 Fixed some stuff and broke some other - my goal is to solely use the java.security API 2015-05-05 20:48:42 +02:00
a65907f13b Some work on addresses and private keys that still doesn't work. As a side effect, sending objects now works basically. 2015-05-01 17:14:43 +02:00
08c46b3a97 Some work on addresses, unfortunately it doesn't work yet. 2015-04-29 20:08:59 +02:00
00bd6a08b7 Added SerializationTest for object payload (which is probably the most important) 2015-04-28 18:36:07 +02:00
f00c6018e7 Some refactoring
- I didn't like the way the context was initialized
- The DatabaseRepository got too complicated
2015-04-24 11:11:08 +02:00
d3499c9627 Added some address generation and handling 2015-04-24 09:53:58 +02:00
51c1ecfd41 Minor refactoring
I think having the read method in the same place as the write method might help preventing some errors
There are some people who are strictly against using static methods. I suppose I'm not experienced enough yet.
2015-04-18 16:44:00 +02:00
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
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
e611e5e20a More or less properly shutdown client / network node 2015-04-17 13:01:46 +02:00
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
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
32de01bbf5 Some basics seem to work now like storing messages, addresses, inventory vectors etc. 2015-04-14 19:47:53 +02:00
751ed0c637 Some more POW work - it seems to work, but is very, very, extremely slow. 2015-04-14 19:40:10 +02:00
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
9b383e3bcd Added comments and a few more object types 2015-04-08 20:54:00 +02:00
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
3299d8ca4a Networking code, untested 2015-04-06 10:01:03 +02:00
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
caf66ea9a5 Some basic entities and project structure 2015-03-20 14:18:29 +01:00