Commit Graph

2335 Commits

Author SHA1 Message Date
Mike Hearn
179975fe2b Minor: fix a harmless bug in the CordFormation gradle plugin 2016-11-17 18:03:53 +01:00
Mike Hearn
29ace9123f Minor: remove incorrect copyright header 2016-11-17 18:01:04 +01:00
Mike Hearn
1a9cbf91c3 Minor: add a small delay to the AppleScript that opens new terminal tabs to hack around the fact that AppleScript is racy when used this way :( 2016-11-17 18:00:45 +01:00
Richard Green
c370e01e68 From comment review PR 2016-11-17 16:31:08 +00:00
Mike Hearn
6240ba48e1 Fix up the visualiser tool after the net.corda move and broken instructions from the repo moves 2016-11-17 17:29:58 +01:00
Mike Hearn
f247bc5647 Fixes to the deployNodes tasks for the samples. Improve the error message in the cordformation plugin. 2016-11-17 17:29:58 +01:00
Mike Hearn
f630e15528 Fix build 2016-11-17 16:33:06 +01:00
Mike Hearn
230302c847 Merge branch 'mike-downgrade-stateviewer-to-java6' 2016-11-17 16:10:45 +01:00
Mike Hearn
8654ad72bd Carry across a couple of changes from corda-samples that missed the cutover 2016-11-17 15:56:11 +01:00
Mike Hearn
90b083926f Reimport samples to main repo 2016-11-17 15:51:28 +01:00
Mike Hearn
ae49c2bdb2 Java code in Node currently targets Java 6 due to the caplet, until we decide we need to separate it out. This file uses Java 7+ features so downgrade it, which fixes the build (for some reason I could not easily reproduce this failure) 2016-11-17 12:33:57 +01:00
Mike Hearn
02a90014e7 Delete duplicate module lines in modules.xml 2016-11-16 17:41:20 +01:00
Mike Hearn
b56548a427 Make runnodes open up a separate tab for each node on MacOS X and a separate xterm on Linux. Update the docs a bit. 2016-11-16 15:49:10 +01:00
Mike Hearn
a9fc6f5495 Target Java 6 for our Caplet, to ensure the corda.jar capsule-ified build can get as far as capsule's version checks if the users JVM is too old. Without this patch capsule tries to load the caplet and then dies because it targets a newer version of Java than what the user has, so the error message the user sees is useless (a bytecode version mismatch). With this patch the user sees a message like this:
"CAPSULE EXCEPTION: Could not find Java installation for requested version [Min. Java version: 1.8.0 JavaVersion: null Min. update version: {}] (JDK required: false). You can override the used Java version with the -Dcapsule.java.home flag. (for stack trace, run with -Dcapsule.log=verbose)"

which isn't awesome either but at least tells the user what to do.
2016-11-16 15:46:50 +01:00
Mike Hearn
556b7f4469 Check for Java 8 directly in the build.gradle file, as the existing checks don't work. 2016-11-16 15:46:50 +01:00
Andras Slemmer
cae9b758ff core: Fix ErrorOr.combine 2016-11-16 14:43:54 +00:00
Jose Coll
1427baf797 Transaction note retrieval now using indexed field on database table. 2016-11-16 14:07:16 +00:00
Jose Coll
5dfffb1b84 Re-applied changes following net.corda rebase. 2016-11-16 14:07:16 +00:00
Mike Hearn
9d7bfe4229 Publish technical white paper to the docsite 2016-11-16 14:57:14 +01:00
Mike Hearn
b19c6de69a Tech white paper: new sections on privacy, data distribution groups (aka clubs), notary involvement with data distribution. 2016-11-16 14:55:00 +01:00
Patrick Kuo
eff2f38949 Merged in pat-explorer-corda-branding (pull request #468)
Explorer changes and corda branding
2016-11-16 13:26:57 +00:00
Patrick Kuo
af899a98f4 Explorer corda branding 2016-11-16 13:26:05 +00:00
Andras Slemmer
37ca651ace loadtest: Fix gradle com.r3corda -> net.corda 2016-11-16 11:16:42 +00:00
Richard Green
d65ff747b3 Merged in clint-capletfix (pull request #466)
Fixed classpath augmentation for plugins.
2016-11-16 10:39:27 +00:00
Mike Hearn
8a680b3726 Minor style tweaks to the universal contract. 2016-11-15 19:17:30 +01:00
Mike Hearn
d1b279c2b2 Remove experimental trade finance code: it's not maintained, hasn't been code reviewed and we don't wish to release it as open source. 2016-11-15 19:08:14 +01:00
Andras Slemmer
3c09056e22 Remove :Any restriction from ErrorOr's type parameter 2016-11-15 18:05:00 +00:00
Shams Asari
012fa855a1 Moved RPCUserServiceImplTest into correct package 2016-11-15 17:36:35 +00:00
Andras Slemmer
7335fba633 Merged in aslemmer-loadtest-dsl (pull request #441)
Load testing framework
2016-11-15 17:21:08 +00:00
Andras Slemmer
07df9f17b3 loadtest: Add loadtest code 2016-11-15 17:21:26 +00:00
Andras Slemmer
9078676521 Merged in aslemmer-generic-protocol-start (pull request #465)
Aslemmer generic protocol start
2016-11-15 16:51:57 +00:00
Andras Slemmer
e6f9570fff docs: Update Client RPC API tutorial with how to initiate protocols 2016-11-15 16:51:07 +00:00
Andras Slemmer
dcd7a8a08a Address PR 465 comments 2016-11-15 16:51:07 +00:00
Andras Slemmer
7f0dd1ab5b Generic startProtocol and typesafe wrappers, per-protocol permissions, CashProtocol, remove executeCommand, move almost all Cash-related things to :finance 2016-11-15 16:46:37 +00:00
Andrius Dagys
9b8f00ef84 Stop using "legally-Identifiable" signatures for the notary protocol 2016-11-15 16:08:42 +00:00
Andrius Dagys
e261167343 Merged in andrius-servicename-gen (pull request #475)
Allow specifying advertised service identity name in configuration, generate a name if none specified
2016-11-15 14:33:02 +00:00
Mike Hearn
bebcf630ba Tech white paper: address review comments 2016-11-15 15:02:54 +01:00
Mike Hearn
ebaaf4346a Tech white paper: new sections on contract DSLs, clauses, scalability, obligations, future work and the conclusion. Two more TODO sections added. 2016-11-15 15:02:54 +01:00
Shams Asari
c326a9ae46 Moved the RPC user config out of the properties file and into the main config file 2016-11-15 12:52:08 +00:00
Andrius Dagys
f4925c0fa9 Remove unnecessary TODO 2016-11-15 11:52:58 +00:00
Andrius Dagys
73bc841b7c Allow specifying advertised service identity name in configuration, generate a name if none specified 2016-11-15 11:12:24 +00:00
Richard Green
c4afa4ae63 First revision for 'getting set up' - docs not rebuilt as to keep changes visible 2016-11-14 18:12:39 +00:00
Ross Nicoll
3c4e89e766 Merged in rnicoll-check-tx (pull request #469)
Add sanity check on SignedTransaction.id
2016-11-14 17:01:28 +00:00
Ross Nicoll
cf6a3050c3 Add sanity check on SignedTransaction.id
Add sanity check on SignedTransaction.id when deserializing the wrapped transaction. This
check is already done when verifying signatures, this moves it up to an earlier step and
adds a more specific error message to aid diagnosis.
2016-11-14 16:25:41 +00:00
Andrius Dagys
d00163e29d Stop using "legally-Identifiable" signatures for the notary protocol, as notary nodes will use their service identity to sign (and not the legal one). It also doesn't make sense to attach an identity on the signature if it's a group identity and the signer holds only 1 out of many keys. 2016-11-14 16:02:20 +00:00
Andrius Dagys
d855b10817 Nodes part of a group identity (e.g. notary) now advertise the whole group Party on the network. When sending a message to a group, a representative node advertising the group identity is first chosen (at random), and its legal identity is used for communication. Currently we assume that a single legal identity can't be advertised by more than one node (the PublicKeyTree of an identity is used for Artemis queue names and we need to do more work to properly map a single queue to multiple nodes) 2016-11-14 14:57:16 +00:00
Andrius Dagys
c33c55eb20 Replace PublicKey with PublicKeyTree in Party. A single entity can now be identified by more than one key. 2016-11-14 14:57:16 +00:00
Mike Hearn
d7defd3157 Minor tweaks to the experimental universal contract DSL 2016-11-14 12:47:49 +01:00
Katarzyna Streich
79ecd03413 Add serialization without refrences to all leaves of transaction (for Merkle tree calculation). 2016-11-11 13:34:09 +00:00
Mike Hearn
9d93eed56d Tech white paper: brief note on event scheduling 2016-11-11 14:25:56 +01:00