Commit Graph

1954 Commits

Author SHA1 Message Date
Matthew Nesbit
1388454396 Never send transactions to the Notary that aren't signed by all parties. Toughen up to use validating Notary in general and put Client precheck into NotaryProtocol.
Rename method to better reflect its actions

Handle comments from PR

Correct indentation
2016-10-11 10:43:40 +01:00
Mike Hearn
f4b113cc7e Regen docsite 2016-10-11 11:31:20 +02:00
Mike Hearn
b094b0f4df Minor: fix a couple of docsite warnings 2016-10-11 11:31:20 +02:00
Mike Hearn
03cc776dd0 Release notes for M4 2016-10-11 11:27:15 +02:00
Shams Asari
ac01b67549 Using the protocol ID for the protocol logger name 2016-10-10 13:45:43 +01:00
Mike Hearn
11bcaf5fb2 Minor: go back to using logging for the trader demo specific output (i.e. admit defeat with the ANSI renderer, which is not long for this world anyway) 2016-10-10 12:00:48 +02:00
Andras Slemmer
cf19ff37cd node: Add cleanup TODO on cash creation RPC call 2016-10-10 10:38:02 +01:00
Andras Slemmer
fd6af7fbb2 docs: Fix path in client rpc api tutorial 2016-10-10 10:12:35 +01:00
Rick Parker
11ab459c20 Merged in database-tables-and-columns-cleanup (pull request #400)
Database tables and columns cleanup
2016-10-07 18:09:49 +01:00
rick.parker
50e613bb75 Clean up compiler warning and make database table names and columns more meaningful. 2016-10-07 18:05:54 +01:00
Matthew Nesbit
7a440d890d Merged in mnesbit-fix-irs (pull request #399)
Fix IRS Demo by giving advertised services an identity
2016-10-07 14:03:27 +01:00
Matthew Nesbit
1e836edd78 Change ServiceType to a sealed class from an abstract class
Allow AdvertisedServices to have their own identity and keys. Also, rationalise legalIdentity onto the local node's NodeInfo which is available on ServiceHub

Fixup after rebase

Remove legal identity that was on storage service. Now access via myInfo.legalIdentity and key via keyManagement lookup.

Enforce singleton notary per node for now

Tidy up based upon Rick's suggestions

Handle PR comments

clean up imports

Fix typo

Fixup rename

Capitalise comment

Eliminate unused variable warning

Make changes based upon PR comments

Cleanup whitespace changes
2016-10-07 13:44:51 +01:00
Andrius Dagys
4e2f0e0ff9 Split out NodeConfiguration helpers into a separate utility class 2016-10-07 10:44:03 +01:00
Mike Hearn
0bcecac7f6 Merge branch 'master' of https://bitbucket.org/R3-CEV/r3prototyping 2016-10-07 11:11:54 +02:00
Mike Hearn
604aa05859 Minor: suppress useless warnings 2016-10-06 18:36:33 +02:00
Rick Parker
d7d5e54301 Merged in h2-client-access (pull request #397)
H2 database exported via configurable port number.
2016-10-06 14:44:06 +01:00
rick.parker
2e3952ee1f H2 database exported via configurable port number. 2016-10-06 14:33:56 +01:00
Ross Nicoll
31956ce78e Merged in rnicoll-remove-tf (pull request #395)
Remove trade finance contract code
2016-10-06 10:49:53 +01:00
Ross Nicoll
35aaac0c15 Remove trade finance contract code 2016-10-06 10:40:31 +01:00
Ross Nicoll
5ec22a7c9d Merged in rnicoll-test-utils-maven (pull request #398)
Add Maven publication of test-utils
2016-10-06 10:39:55 +01:00
Shams Asari
c3f824001d Removed unused ServiceRequestMessage class hierarchy and added sendRequest method 2016-10-06 10:27:35 +01:00
Shams Asari
307c93858b Using Checkpoint.id when storing Checkpoints 2016-10-05 18:30:46 +01:00
Ross Nicoll
4117873b37 Add Maven publication of test-utils
Add Maven publication of test-utils, so that CorDapp tests can use test-utils.
2016-10-05 18:11:44 +01:00
Andrius Dagys
60d555d4ed Updated AttachmentDemo with latest configuration changes 2016-10-05 18:00:58 +01:00
Andrius Dagys
6eb91ffe8b Minor refactoring and api doc update 2016-10-05 17:48:04 +01:00
Andrius Dagys
4dedb6fc2e Updated unfinished sentence in the docs 2016-10-05 17:48:04 +01:00
Andrius Dagys
893f6e4f50 Updated config docs 2016-10-05 17:48:04 +01:00
Andrius Dagys
d76ab32c7c Set default notary in configuration to be validating 2016-10-05 17:48:04 +01:00
Andrius Dagys
e5072a8854 FullNodeConfiguration: make use of the getOrElse helper 2016-10-05 17:48:04 +01:00
Andrius Dagys
727c3ac5fc Node: get artemisAddress and webAddress from the config rather than constructor parameters 2016-10-05 17:48:04 +01:00
Andrius Dagys
e5c0c975bd Remove hostNotaryServiceLocally config property – nodes need to specify the correct notary service type in extraAdvertisedServiceIds 2016-10-05 17:48:04 +01:00
Andrius Dagys
3b187a2171 Make Node override configuration and use FullNodeConfiguration so that no casting is needed 2016-10-05 17:48:04 +01:00
Andrius Dagys
fac12b4fce Remove NodeConfigurationFromConfig and replace usages with FullNodeConfiguration 2016-10-05 17:48:04 +01:00
Ross Nicoll
9707ce7367 Merged in rnicoll-notary-error-handling (pull request #392)
Simplify results from notary protocol
2016-10-05 14:36:19 +01:00
Ross Nicoll
f98abd4700 Simplify results from notary protocol
Restructure the Result class used in the notary protocol to use a sealed class, so that it's impossible for it
to be empty, removing that error case from the checks.
2016-10-05 14:33:02 +01:00
Ross Nicoll
a9541885ab Merged in rnicoll-attachments (pull request #383)
Add attachment demo and tutorial
2016-10-05 14:32:24 +01:00
Ross Nicoll
f1557e687b Add attachement demo and documentation
Add a demo of attachments on transactions as a worked example for others to use, along with documentation
on how to run it, and how it functions.
2016-10-05 14:29:20 +01:00
Rick Parker
8d75fbc433 Merged in fix-kotlin-cast-error (pull request #396)
Fix kotlin 1.0.4 error on use of Class.cast()
2016-10-05 14:00:39 +01:00
rick.parker
5419e773dc Fix kotlin 1.0.4 error on use of Class.cast() 2016-10-05 13:59:18 +01:00
Rick Parker
aa3af60232 Merged in persistent-interest-rate-oracle (pull request #388)
Persistent interest rate oracle
2016-10-05 13:47:25 +01:00
rick.parker
cd301c727e First working version with database persistence in MockNetwork/Node. 2016-10-05 12:03:28 +01:00
Rick Parker
a15a2b1d9f Merged in persistence-docs-typo-fix (pull request #394)
Fix typo in persistence docs.
2016-10-05 11:47:19 +01:00
rick.parker
0266d6e3d6 Fix typo in persistence docs. 2016-10-05 11:46:40 +01:00
Clinton Alexander
38ba8c8759 Merge branch 'clint-cordamaven' 2016-10-05 11:44:11 +01:00
Rick Parker
4f9bc99a10 Merged in hibernate-integration-prototype (pull request #393)
Hibernate ORM implementation for states.
2016-10-05 11:42:07 +01:00
rick.parker
ec975b0426 Hibernate ORM implementation for states. 2016-10-05 11:40:27 +01:00
Clinton Alexander
4d213698df Updated docs to document building against Corda. 2016-10-05 11:35:12 +01:00
Clinton Alexander
1a87faf224 Corda JAR now publishes without -capsule at the end. 2016-10-05 10:46:46 +01:00
Andras Slemmer
07e528c659 docs: Address review comments 2016-10-05 10:40:18 +01:00
Andras Slemmer
3bb96f3f3e node: Fix after rebase 2016-10-05 10:40:18 +01:00