adrianziser
b58064310f
Merge pull request #37 from schierlm/patch-3
...
Use correct arraycopy length - thx @schierlm
2017-09-09 21:38:21 +02:00
adrianziser
2c4c516d9f
Merge pull request #35 from schierlm/patch-1
...
Fix inverted condition - thx @schierlm
2017-09-09 21:36:52 +02:00
Michael Schierl
73c3ae2bd4
Add unit tests for Signing class
...
All methods that I changed in previous commits of this PR are covered,
and the tests path both before and after my refactorings.
2017-09-07 22:17:14 +02:00
Michael Schierl
c4535aefbe
Avoid copying from Array to list and back
...
As Java's Lists use boxed Integers, we try to avoid the memory
consumption, GC pressure and time overhead caused by copying an int[]
into a List<Integer> and back again.
2017-09-07 22:13:26 +02:00
Michael Schierl
53df67d490
More arraycopy improvements
...
In fact, most arraycopy and copyOfRange calls in the class are unneeded,
since Kerl can also directly operate on array slices. Care has been
taken not to introduce new side effects, therefore one copyOfRange call
in `digests` needs to stay. Existing side effects are kept, although
probably undesirable (`signatureFragment` clobbers the `keyFragment`
input parameter).
2017-09-07 22:01:31 +02:00
Michael Schierl
f694178ac1
Use correct arraycopy length
...
The code copies 243 single adjacent element in an array using arraycopy in a loop. For copying single elements, direct array access is more performant (as it avoids the penalty of calling into native code and the JIT may detect patterns and optimize them). However, in this case, as the copied elements are adjacent, replace the whole loop with a single arraycopy call.
2017-09-02 21:27:45 +02:00
Michael Schierl
a1278b1d73
Fix inverted condition
...
Found by Eclipse's static null value analyzer.
It makes no sense to set the value to 0 if it is not null. That way, null remains null (and will create a NPE in line 123), and all other values get overwritten by 0. Therefore, overwrite null by zero, fixing both warnings.
2017-09-02 19:46:55 +02:00
adrianziser
f43d606f04
speed optimization (java 7 compatible) thx @th0br0
2017-08-16 20:01:34 +02:00
Oliver Nitzschke
a9168efc7d
Merge pull request #31 from jpkrohling/JPK-DoNotShadeDependencies
...
Fixes #20 - Removes shade plugin
2017-08-15 11:58:25 +02:00
Oliver Nitzschke
56a25d4acd
Merge pull request #30 from jpkrohling/JPK-AdjustedVersions
...
Adjusted the versions
2017-08-15 11:58:19 +02:00
Oliver Nitzschke
75c433e1e8
Merge pull request #29 from jpkrohling/JPK-FixBuilder
...
Fixed IOTA API Builder
2017-08-15 11:58:03 +02:00
Oliver Nitzschke
d8f9c9f39a
Merge pull request #28 from jpkrohling/JPK-TransferShouldNotRequireTag
...
Fixes #23 - Transfer should not require a tag
2017-08-15 11:57:55 +02:00
Juraci Paixão Kröhling
3f574dc68f
Fixes #20 - Removes shade plugin
2017-08-15 09:33:16 +02:00
Juraci Paixão Kröhling
0319160ee3
Adjusted the versions
2017-08-15 09:30:34 +02:00
Juraci Paixão Kröhling
74d9025165
Fixed IOTA API Builder
2017-08-15 09:27:57 +02:00
Juraci Paixão Kröhling
4d88496054
Transfer should not require a tag
2017-08-15 09:01:06 +02:00
pinpong
568aeacca0
updated getAccountData test
2017-08-14 19:13:54 +02:00
pinpong
1114e56b42
updated getAccountData
2017-08-13 16:00:23 +02:00
pinpong
eddf73dd09
updated getAccountData
2017-08-13 15:25:57 +02:00
pinpong
2a9a6abd35
added getAccountData
2017-08-13 14:36:56 +02:00
pinpong
907dd1d95e
updated tests
2017-08-13 10:53:21 +02:00
pinpong
d2b33f73bd
refactored
2017-08-13 07:27:28 +02:00
adrianziser
3650407eb9
cleanup
v0.9.2
2017-08-13 01:26:19 +02:00
adrianziser
ba0d5bbbc3
curl is still used for the calculation of transaction hashs
2017-08-13 01:23:57 +02:00
adrianziser
9d81fe0267
fixed last commit
2017-08-12 16:17:07 +02:00
adrianziser
f3a32d4bdc
switched from curl to kerl
2017-08-12 15:56:06 +02:00
Oliver Nitzschke
6241a01446
Merge pull request #19 from toonsevrin/patch-1
...
Patch 1
2017-07-02 23:10:45 +02:00
Oliver Nitzschke
35b06472f3
Merge pull request #17 from toonsevrin/patch-2
...
Made inputValidation optional
2017-07-02 19:11:53 +02:00
Toon Sevrin
5693c69bc4
Made inputValidation optional
2017-07-02 13:30:22 +02:00
Toon Sevrin
7f5910bdd7
Added optional inputValidation and remainder
2017-07-02 13:13:09 +02:00
Oliver Nitzschke
e60a486132
Merge pull request #15 from th0br0/dev
...
Fixes #14
2017-06-21 10:23:05 +02:00
Andreas C. Osowski
65883fc80f
Fixes #14
...
`IotaAPI.prepareTransfers` should pass `remainderAddress` to
`IotaAPI.addRemainder`
2017-06-19 11:16:04 +02:00
Andreas C. Osowski
00cc3f2e3c
Make skipTests a mvn property
2017-06-19 11:15:53 +02:00
Oliver Nitzschke
ebe81b22c2
updated neighbors model
2017-06-03 09:46:32 +02:00
Oliver Nitzschke
a5775c8490
Merge pull request #12 from heinrichreimer/patch-1
...
Fix headline formatting
2017-05-04 19:10:46 +02:00
Heinrich Reimer
328745299c
Fix headline formatting
2017-04-30 16:35:45 +02:00
pinpong
8b3b9dd6c9
documentation
2017-02-19 15:28:17 +01:00
adrianziser
d477754dfd
readme updated
2017-02-18 22:26:03 +01:00
adrianziser
6cb0aba961
Merge branch 'master' of https://github.com/iotaledger/iota.lib.java
2017-02-18 22:21:01 +01:00
adrianziser
9fe1f9381f
Merge pull request #11 from iotaledger/dev
...
merge dev
2017-02-18 22:13:45 +01:00
adrianziser
1b8be4ed94
update javadoc deployment script
2017-02-18 21:56:33 +01:00
adrianziser
8cb7cdc0fc
set execute bit on deployment script
2017-02-18 21:41:09 +01:00
adrianziser
d0fea084da
minor update to travis file
2017-02-18 21:35:26 +01:00
adrianziser
8ad5deccea
skip cleanup to deploy javadoc on release & tagged jobs
2017-02-18 21:15:10 +01:00
adrianziser
726f4b8d42
auto-publish javadoc to github
v0.9.1
2017-02-18 21:06:54 +01:00
adrianziser
e57082d413
Multisig
...
* test added
2017-02-18 20:38:23 +01:00
adrianziser
bbaa4d8b2f
Multisig implementation finished
2017-02-18 20:37:26 +01:00
pinpong
5e956137a4
fixed last commit
2017-02-16 19:28:28 +01:00
pinpong
73799607cb
refactored
2017-02-15 23:52:46 +01:00
pinpong
a9a47e054d
tests
2017-02-15 20:50:24 +01:00