Katarzyna Streich
17beab06c2
Fix docs to reflect future date change. Add Kryo registration of PaymentEvent classes.
2017-01-06 16:22:27 +00:00
Clinton Alexander
71460d78b1
The generate docsite script now works on both msys/cygwin systems and Unix systems.
2017-01-06 16:16:10 +00:00
Mike Hearn
9a75adb0ab
Simplify the attachments demo by getting rid of the web API and just using the RPC interface directly. The web API in this case wasn't actually adding anything that had to be server side.
2017-01-06 16:58:34 +01:00
Mike Hearn
5f79acaa88
Enable Kotlin incremental compilation in Gradle
2017-01-06 16:39:01 +01:00
Mike Hearn
78a6daa985
Minor: log RPC/peer logins
2017-01-06 16:39:01 +01:00
Mike Hearn
32523d376e
RPC: Improve the client class with a convenience function and some startup time logging.
...
This reveals that building the first RPC client is ludicrously slow (like 1.8 seconds) but subsequent builds are more like 30 msec. This might be interpreter overhead, or it might be due to Artemis/SSL doing lots of piggy lazy initialisation or something. But at any rate it may be worth investigating a bit later.
2017-01-06 16:39:01 +01:00
Mike Hearn
ecb460b698
Minor: small improvement to logElapsedTime (use the montonic clock and log even when an exception is thrown)
2017-01-06 16:39:01 +01:00
Mike Hearn
20dbdf9d1b
Make SSL optional in the RPC client
2017-01-06 16:39:01 +01:00
Andrius Dagys
15363e686a
Update RaftNotaryServiceTest to support idempotent notary behaviour
2017-01-06 14:39:34 +00:00
Shams Asari
59456cb6b1
Added a method to NodeHandle to simplify using RPC in the Driver
2017-01-06 14:14:32 +00:00
Andrius Dagys
0867a05ad7
Merge pull request #96 from thschroeter/idempotent-notary-flow
...
Make NotaryFlow idempotent
2017-01-06 13:53:27 +00:00
kasiastreich
ee99d7e9d0
Simm demo fix ( #122 )
...
* Update main to match nodes in deployNodes configuration (no Bank C).
* Update simm-valuation-demo documentation and comments.
2017-01-06 13:50:18 +00:00
Joel Dudley
3d747ff663
General running-the-demos docs update.
2017-01-06 13:29:57 +00:00
Mike Hearn
7247e7280f
Two runnodes fixes for MacOS X:
...
1) Support users who run non-bash shells
2) Use /usr/bin/libexec to pick the right Java version, as currently Corda does not start on Java 9
2017-01-06 12:36:49 +01:00
Joel Dudley
b5c319aeca
Unix vs Windows demo instructions. Duplicate SIMM page. Typos. Bad nesting.
2017-01-06 11:05:37 +00:00
Rick Parker
592ac07af0
Upgrade reactivex.rxjava version to latest 1.x ( #111 )
...
Update rxjava version and fix thread safety of database transaction boundary subject.
2017-01-06 10:26:44 +00:00
Andrius Dagys
6bb0a68d6d
Add @JvmOveloads to TransactionState so the encumbrance pointer doesn't have to always be specified when calling from Java
2017-01-06 10:18:29 +00:00
Thomas Schroeter
0f43a88b19
Add TODO to move duplicate input detection to TransactionType.verify
...
Resolving the TODO in a follow-up PR.
2017-01-06 09:10:45 +00:00
Thomas Schroeter
0b43c5634e
Clean comment
2017-01-05 19:33:46 +00:00
josecoll
08047e7d72
Fixed gradle runnode config for Bank of Corda (RPC Client was failing). ( #115 )
...
Fixed doc mistake.
2017-01-05 18:37:54 +00:00
Clinton
a636ae527b
Merge pull request #114 from corda/clint-windowsrunnodesfix
...
Windows runnodes.bat now works from any working directory
2017-01-05 18:19:54 +00:00
Andrius Dagys
b9d5081af6
Update notary change flow to support encumbrances ( #101 )
...
* Update notary change flow to support encumbrances.
Move encumbrance pointer from ContractState to TransactionState.
* Refactor & add new encumbrance tests
2017-01-05 17:44:31 +00:00
Clinton Alexander
b49c97d409
runnodes.bat returns the user to the original directory.
2017-01-05 16:07:31 +00:00
Clinton Alexander
857de9df49
runnodes.bat can now run the nodes from any working directory and not cause an infinite loop and system crash.
2017-01-05 15:57:32 +00:00
Shams Asari
08e391579c
Node verifies the peer it connects to by checking its TLS common name
2017-01-05 14:22:11 +00:00
Clinton
32e1c291d1
Merge pull request #110 from corda/clint-gradlepluginsfix
...
Fixed a bug with building gradle plugins due to an invalid version number used.
2017-01-05 14:21:03 +00:00
Clinton Alexander
884ffffd62
Fixed a bug with building gradle plugins due to an invalid version number used.
2017-01-05 14:11:58 +00:00
Clinton
8aa73053f4
Merge pull request #108 from corda/clint-raftnotaryname
...
Made the Raft demo name consistent
2017-01-05 12:11:42 +00:00
Clinton Alexander
8a33b6b223
Renamed distributed and notary demo to 'Raft Notary Demo' to improve consistency in naming.
2017-01-05 11:43:24 +00:00
Mike Hearn
875efbfa11
Merge pull request #106 from corda/mike-thread-affinity-for-smm
...
Additional thread affinity for the StateMachineManager.
2017-01-05 11:03:35 +01:00
Clinton
660b832136
Merge pull request #104 from corda/clint-irsdemowindowsfix
...
Fix for IRS demo not running on Windows
2017-01-05 10:02:36 +00:00
Clinton
f74fc67737
Merge branch 'master' into clint-irsdemowindowsfix
2017-01-05 09:51:02 +00:00
Thomas Schroeter
67e807b075
Detect duplicate inputs ahead of calling beforeCommit
2017-01-05 09:40:49 +00:00
Thomas Schroeter
bbc9c763e3
Detect duplicate inputs in NotaryFlow
...
Throw NotaryException when duplicate inputs are detected.
2017-01-05 08:09:49 +00:00
Clinton Alexander
3151586d54
Spelling fix.
2017-01-04 16:58:32 +00:00
Clinton Alexander
0fb77f9fa2
Added comment explaining fix to IRS demo on windows.
2017-01-04 16:57:47 +00:00
Clinton
d9663f1698
Merge pull request #72 from corda/clint-simmdemointegrationtest
...
Add SIMM valuation demo integration test
2017-01-04 15:32:44 +00:00
Mike Hearn
8879591547
Merge pull request #99 from corda/mike-dependency-upgrade-jan2017
...
Jan 2017 dependency upgrade
2017-01-04 16:12:19 +01:00
Mike Hearn
1a53834a60
Additional thread affinity for the StateMachineManager.
...
Check that the SMM.add method is being called on the SMM thread and throw if not. Make ServiceHubInternal.startFlow() do a blocking call onto the server thread. Update unit tests.
This resolves an issue whereby the scheduler was starting flows outside of the server thread, which isn't intended.
2017-01-04 16:06:33 +01:00
Mike Hearn
119d00c384
Upgrade dependencies and centralise some more version numbers in the root gradle file
2017-01-04 15:44:56 +01:00
Andrius Dagys
53903c6521
Update IRS demo test date to a future date. Will follow up with a proper fix.
2017-01-04 13:24:19 +00:00
Clinton Alexander
26217e5cd8
Added a fix for the windows specific command line too long error when running the IRS demo.
2017-01-04 11:44:24 +00:00
Mike Hearn
1cbe10b23c
Merge pull request #89 from thschroeter/iterm-emojis
...
Minor: display emojis in iTerm on OS X
2017-01-04 11:53:05 +01:00
Clinton Alexander
f92ef3d9cf
Regen docsite
2017-01-03 13:07:48 +00:00
Shams Asari
e34f33785f
Prevent the node from starting if running on a version of Java with the empty Path bug ( #83 )
2017-01-03 10:42:18 +00:00
Thomas Schroeter
159ca9884f
Make NotaryFlow idempotent
...
Alternatively, we could make the underlying UniquenessProviders
idempotent.
2016-12-31 09:26:18 +00:00
josecoll
021bcb0628
Merge pull request #92 from corda/colljos-fix-issue88
...
Fixed issue caused by race condition in process registration v node e…
2016-12-23 15:20:16 +00:00
josecoll
b4a5a03992
Fixed issue caused by race condition in process registration v node exit.
...
See https://github.com/corda/corda/issues/88
2016-12-23 15:09:13 +00:00
Andrius Dagys
2e29673392
Distributed notary: manually initialize the serializer for copycat server & client. This fixes the issue where one of the nodes is unable to connect to the cluster.
2016-12-23 12:52:04 +00:00
Thomas Schroeter
2b73901341
Minor: display emojis in iTerm on OS X
2016-12-22 17:31:00 +00:00