Commit Graph

2227 Commits

Author SHA1 Message Date
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
Andras Slemmer
3b77de67b6 docs: add docs/source/example-code module, tutorial on the Client RPC API 2016-10-05 10:40:18 +01:00
Andras Slemmer
8e471c6768 node: Address review comments 2016-10-05 10:40:18 +01:00
Andras Slemmer
5af0e97444 Refactor explorer and friends to use RPC, remove NodeMonitor* 2016-10-05 10:40:18 +01:00
Patrick Kuo
415de1ce1f Merged in pat-key-utility-command-line-tool (pull request #390)
New gradle task for packaging certificate singing request utility jar.
2016-10-04 17:15:13 +01:00
Patrick Kuo
c57229a944 New gradle task for packaging certificate singing request utility jar. 2016-10-04 16:56:18 +01:00
Ross Nicoll
383814f235 Merged in rnicoll-register-revert (pull request #389)
Revert constraint on registerProtocolInitiator()
2016-10-04 16:04:41 +01:00
Ross Nicoll
8b23fe6686 Merged in rnicoll-tf-contract (pull request #384)
Add skeleton of receivable contract
2016-10-04 16:04:19 +01:00
Ross Nicoll
4099034791 Add receivable contract for Trade Finance Registry
This introduces the core of a receivable contract for the second stage Trade Finance Registry project.
This is a subset of the cope of the initial Trade Finance project, which focuses on managing
invoices/receivables only, and does not deal with the contents of the invoice yet.
2016-10-04 15:47:38 +01:00
Shams Asari
6b97fbb79f Removed ValidatingClient as notary behaviour is not client configurable 2016-10-04 15:20:36 +01:00
Ross Nicoll
bd919bbe1b Revert constraint on registerProtocolInitiator()
Revert constraint on registerProtocolInitiator(), as there may be cases that need it to not be
a ProtocolLogic. Added note to explain it's normally a ProtocolLogic but not always.
2016-10-04 14:54:26 +01:00
Shams Asari
5e6533eb8a Better use of Futures 2016-10-04 14:11:43 +01:00
Ross Nicoll
94e830d19a Merged in rnicoll-initiator-cleanup (pull request #387)
Constrain class type passed to registerProtocolInitiator()
2016-10-04 13:36:14 +01:00
Ross Nicoll
53ecb0ecd9 Constrain class type passed to registerProtocolInitiator() 2016-10-04 12:57:22 +01:00
Andrius Dagys
62a9dfe900 Added ServiceInfo unit tests 2016-10-04 11:36:26 +01:00
Andrius Dagys
5efa0fd5b3 Advertised services now contain ServiceInfo which describes ServiceType and a service identifier. This will be used, e.g. for grouping distributed notary nodes into the same service cluster. 2016-10-04 11:36:26 +01:00
Ross Nicoll
4ed73dc9f2 Merged in rnicoll-filter-clause-core (pull request #386)
Add filter composition for clauses
2016-10-04 10:50:15 +01:00
Ross Nicoll
607ba634fe Add filter composition for clauses 2016-10-04 10:32:13 +01:00
Matthew Nesbit
06a8680d37 Merged in mnesbit-cor-389-checkpoints-in-db (pull request #385)
Store protocol checkpoints in the DB
2016-10-04 09:50:17 +01:00
Matthew Nesbit
76808d36c3 Store protocol checkpoints in the DB, except during Single threaded MockNetwork activity, where we still use the file system based checkpointing. Make the Checkpoint acess a Sequence not an Iterable, so that we don't end up with all the checkpoints permanently resident in memory.
Split up storage initialisation so that there is less code copying in MockNode

Add header comment to DBCheckpointStorage class

Respond to PR comments

Resolve PR comments

Rename iterator on checkpoints

Fix typo

Fixup checkpoints in DB logic after Shams's PR

Delete duplicated code
2016-10-03 17:56:58 +01:00
Shams Asari
67fdf9b2ff Automatic session management between two protocols, and removal of explict topics 2016-10-03 15:21:27 +01:00
Andras Slemmer
4da73e28c7 client, explorer: Address review comments 2016-10-03 11:26:30 +01:00
Andras Slemmer
9a212a8714 client: Add ConcatenatedList, LeftOuterJoinedMap, tests and utilities, fix some bugs 2016-10-03 11:26:30 +01:00
Andras Slemmer
99e758e021 client: Add ObservableMap utilities and tests 2016-10-03 11:26:29 +01:00
Andrius Dagys
a26908e83b Added docs for PublicKeyTree/multi-signature support 2016-10-03 11:09:36 +01:00
Andrius Dagys
b3f3ee0562 Added a json serializer for PublicKeyTree
Typo fixes, other minor refactorings
2016-10-03 11:09:36 +01:00
Andrius Dagys
ecb1acdb8d Add threshold signature support: introduce PublicKeyTree which allows composing public keys into a tree structure with nodes containing thresholds for how many child node signatures it requires. 2016-10-03 11:09:36 +01:00
Andras Slemmer
43d18d46bb Add PartiallyResolvedTransaction to client 2016-10-03 10:17:41 +01:00