Commit Graph

341 Commits

Author SHA1 Message Date
chris 6fbb3f850d There are some instances where an inventory item is requested and therefore saved twice. This shouldn't be logged as an error. 2015-07-03 14:46:55 +02:00
chris 6f50c200ee Added import/export to the demo app
- discovered private key length was wrong - fixed
- as things are broken anyway, refactored flyway migrations - you'll need to delete ~/jabit.*.db
2015-07-03 11:28:06 +02:00
chris 65fdd7d408 Dropped obsolete table and set lower POW target for test (there is no need) 2015-07-03 09:04:35 +02:00
chris 7f4c67f43e Removing IV of received objects from requested objects list (I forgot that one) 2015-07-03 07:56:18 +02:00
chris 2c4d95af2f smarter network code, fixed various issues
- deciding on the stream at creation time is just silly - it should be done based on the identities (this part is TODO)
- changed NodeRegistry so it doesn't store nodes - this should help to connect faster
- inventory items shouldn't be advertised to nodes that are already aware of them (issue #13)
- objects shouldn't be requested more than once (issue #9)
2015-07-01 06:57:30 +02:00
chris c8960df2b3 issues #11 and #12 - import and export for Wallet Import Format 2015-06-27 07:52:28 +02:00
chris 884171fe18 issue #15: fixed socket timeouts and connection shutdown - no exceptions should be thrown if the network node is being shut down, although it can take up to 5 seconds = max(READ_TIMEOUT, CONNECT_TIMEOUT) 2015-06-24 22:56:17 +02:00
chris fb25852bac Removed docs into another repo - they don't have much to do with Jabit
(If you must: https://git.dissem.ch/chrigu.meyer/thesis/)
2015-06-24 06:55:25 +02:00
chris b150d08188 Fixed NPE 2015-06-23 22:29:44 +02:00
chris 3b3e972c99 This should fix the missing ossrhUsername problem 2015-06-21 09:02:03 +02:00
chris fefefe6809 Added some stuff necessary to publish to maven central - I hope it still builds on travis 2015-06-21 08:58:49 +02:00
chris 607e777a7a Version 0.1.3-SNAPSHOT bump 2015-06-20 10:00:47 +02:00
chris 20aeb8ec48 Merge branch 'develop'
Conflicts:
	build.gradle
2015-06-20 08:11:25 +02:00
chris 027efe43df Version 0.1.2 bump - fixed problem where IPv4 Addresses weren't converted correctly. 2015-06-20 08:09:51 +02:00
chris 455c0b9c2c Update README.md 2015-06-18 22:17:38 +02:00
chris 9de4f7a822 Revert "Version 0.1.2-SNAPSHOT bump"
This reverts commit 0b58362054.
2015-06-18 22:00:43 +02:00
chris 0b58362054 Version 0.1.2-SNAPSHOT bump 2015-06-18 21:59:41 +02:00
chris b6f42c2f3d Version 0.1.1 bump - fixed unit test / DB initialisation error 2015-06-18 21:53:35 +02:00
chris 72d0fbe550 Version 0.1.0 bump
Updated Gradle file structure so the version and a few other things are only defined once
2015-06-18 21:26:08 +02:00
chris 95efbd0235 Added documentation 2015-06-18 18:26:10 +02:00
chris 1eb6851798 Updated and fixed JavaDoc 2015-06-18 18:25:47 +02:00
chris 6be8d51f6d Distributable JAR build
- connection manager should now be rock stable
- does try to create new connections as long as there are less than eight active connections, which might result in more than eight outgoing connections, but this shouldn't be a problem
- some minor improvements and bug fixes
2015-06-18 13:41:11 +02:00
chris 1dc4582012 Issue # 5: fixed test and initialisation 2015-06-17 06:23:00 +02:00
chris 9b0de83706 Issue # 5: initialize node repository if there are no nodes in DB 2015-06-17 06:00:03 +02:00
chris 49a9e0c5f7 Fixed test 2015-06-16 07:08:33 +02:00
chris c0a7acc609 Greatly improved network code - the "manage the node repository" part of issue #5 should now be OK 2015-06-16 06:41:59 +02:00
chris ed0d1c2911 issue #4: prevent connections to self, select random nodes to connect to 2015-06-13 17:37:55 +02:00
chris bd5bf76904 Improved connection management, preventing multiple connections to the same node, and improved broadcast handling. 2015-06-12 06:57:20 +02:00
chris fe93c95f40 Added some improvements to the demo application 2015-06-11 21:02:01 +02:00
chris b40d2e9f73 Fixed issue #8 - search for MAGIC bytes instead of just checking
(NOW it should work)
2015-06-11 20:00:37 +02:00
chris a053b64fe6 Fixed issue #8 - search for MAGIC bytes instead of just checking 2015-06-11 19:42:44 +02:00
chris effb2ac2fb Fixing issue #4 - leading zeroes must be omitted on writing the coordinate components 2015-06-10 02:46:45 +02:00
chris 0566b27ce3 Fixed sending broadcasts 2015-06-10 01:02:03 +02:00
chris 35996019a2 There's something wrong with the V5 broadcast signature. I'm not quite shure what it is, so I made a test. 2015-06-10 00:49:44 +02:00
chris b4683bba68 Broadcasts. Receiving seems to work, but there still seems to be a problem with sending them. 2015-06-09 22:45:24 +02:00
chris f76864eebd Added tests for all repositories, fixed some bugs and made database configurable 2015-06-05 13:43:56 +02:00
chris 274c16b748 Implemented sending messages (and fixed a few bugs on the way)
This closes issue #3
2015-05-29 13:17:00 +02:00
chris 3d618ffeb4 Merge commit '01baf28cbdcee3563bad509caf419fdcbee8fb4d' 2015-05-27 19:08:36 +02:00
chris 593eebb33b Added some JavaDoc 2015-05-27 19:06:46 +02:00
chris 01baf28cbd Update README.md 2015-05-26 17:58:46 +02:00
chris c7542e438f Ignore this test - it's pointless anyway 2015-05-26 17:54:04 +02:00
chris 8cc1663273 added file .travis.yml 2015-05-26 17:48:46 +02:00
chris f0d4f3f81f Updated version to 0.0.1 (I don't know why 1.0 is default for new projects/modules) 2015-05-26 17:30:45 +02:00
chris ddf3574c43 Update README.md 2015-05-26 17:23:45 +02:00
chris 4883d8072e Updated documentation 2015-05-25 17:19:54 +02:00
chris a9081a8240 Updated documentation 2015-05-25 10:23:08 +02:00
chris 245ca22743 Updated documentation, added German translation 2015-05-24 21:55:37 +02:00
chris b347214b66 Introduced some custom exceptions 2015-05-23 16:01:18 +02:00
chris df4b67609e Updated documentation 2015-05-23 10:27:42 +02:00
chris 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