Commit Graph

318 Commits

Author SHA1 Message Date
Clinton Alexander
59a86c364b Documentation now refers devs to use install over publishToMavenLocal 2016-11-03 15:58:46 +00:00
Clinton Alexander
02be542d52 Merged the two docsite generation scripts. 2016-11-03 13:53:31 +00:00
Clinton Alexander
acaa9f82a5 Rewrote some documentation about the simm demo. Moved a util function to the main utils file. 2016-11-03 11:03:54 +00:00
Clinton Alexander
1a892886ac Added instructions for running simm valuation demo. 2016-11-03 11:01:36 +00:00
Richard Green
26b3c0173d Fixing grammar 2016-11-03 11:01:36 +00:00
Clinton Alexander
ca2a37915d Review fixes for docs. 2016-11-03 11:01:36 +00:00
Clinton Alexander
73a2215747 Added core changes and docs required for simm valuation demo. 2016-11-03 11:01:36 +00:00
Shams Asari
6d39b71bf9 Simple RPC access control, with a demo control on the cash RPCs 2016-11-03 10:46:25 +00:00
Mike Hearn
2744d8abaa Tech white paper: new sections on the data model, identity lookups, attachments, dispute resolution, compound keys, timestamps. 2016-11-01 16:40:59 +01:00
Shams Asari
e2d6ace449 RPC client authentication using user/password from config file 2016-10-20 17:55:16 +01:00
Mike Hearn
68e0ddecc0 Address review comments 2016-10-12 15:17:40 +02:00
Mike Hearn
180c9acaff First section of Corda technical whitepaper 2016-10-12 15:17:40 +02:00
Mike Hearn
b7afd54d29 Minor: docs, fix header level in cordapp page. 2016-10-12 12:54:23 +02:00
Clinton Alexander
24f178a3e5 Renamed notary to controller to be more clear. 2016-10-11 16:55:50 +01:00
Clinton Alexander
427049e400 Removed unused functions, added Javadoc to properies. Added advertisedServices as a default field. 2016-10-11 16:41:12 +01:00
Clinton Alexander
3bfee7d051 Typo fix. 2016-10-11 13:05:46 +01:00
Clinton Alexander
bb299de9e1 Further expanded example build.gradle. 2016-10-11 13:05:46 +01:00
Clinton Alexander
8816fb35ea Expanded the example build.gradle. 2016-10-11 13:05:46 +01:00
Clinton Alexander
ddce92007e Fixed text to clarify what Cordformation is. 2016-10-11 13:05:46 +01:00
Clinton Alexander
1754493490 Fixed review issues. 2016-10-11 13:05:46 +01:00
Clinton Alexander
5d894138c2 Review fixes for documentation and gitignore. 2016-10-11 13:05:46 +01:00
Clinton Alexander
efb4629a44 Moved the plugins docs into the creating a cordapp doc. 2016-10-11 13:05:46 +01:00
Clinton Alexander
3d868016ae Moved some documentation into the relevant readmes. 2016-10-11 13:05:46 +01:00
Clinton Alexander
d651c2c408 Review fixes for cordapp plugins. 2016-10-11 13:05:46 +01:00
Clinton Alexander
eaf404f51d Added some documentation about cordapp plugins. 2016-10-11 13:05:46 +01:00
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
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
Andras Slemmer
fd6af7fbb2 docs: Fix path in client rpc api tutorial 2016-10-10 10:12:35 +01:00
rick.parker
2e3952ee1f H2 database exported via configurable port number. 2016-10-06 14:33:56 +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
e5c0c975bd Remove hostNotaryServiceLocally config property – nodes need to specify the correct notary service type in extraAdvertisedServiceIds 2016-10-05 17:48:04 +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
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
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
Andras Slemmer
07e528c659 docs: Address review comments 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
Shams Asari
67fdf9b2ff Automatic session management between two protocols, and removal of explict topics 2016-10-03 15:21:27 +01:00
Andrius Dagys
a26908e83b Added docs for PublicKeyTree/multi-signature support 2016-10-03 11:09:36 +01:00
Ross Nicoll
12fd70c742 Restructure consensus documentation
Restructure consensus documentation to improve content grouping
2016-09-30 17:09:16 +01:00
Mike Hearn
114906089f Minor: fix TOC issue 2016-09-26 14:48:40 +02:00
Mike Hearn
b775a4023e Minor: fix typo in release notes 2016-09-26 14:48:39 +02:00
Mike Hearn
3f9fc2db85 Minor: fix some minor indent/formatting issues in the docs 2016-09-23 11:55:40 +02:00
Ross Nicoll
ebda724f14 Change references to 'wallet' with 'vault' 2016-09-20 18:14:53 +01:00
Ross Nicoll
119f923932 Add documentation for network simulator 2016-09-19 11:57:14 +01:00
Ross Nicoll
47e404f8b0 Remove docs on network visualiser 2016-09-19 11:53:41 +01:00
Mike Hearn
4d83f1489f Add a client library that provides an RPC mechanism for talking to the Corda node.
The RPC mechanism uses message queues and is essentially conventional except for the fact that it supports marshalling observables. An observable encapsulates a stream of ongoing events, and server-side observables sent to the client are automatically bound to message queues and managed by Artemis.
2016-09-16 10:13:21 +01:00
Mike Hearn
53967e26ae Minor type fix in the encumbrances doc section 2016-09-09 09:31:52 +00:00
jamescarlyle
b7e6c210d9 Merge with master
# Conflicts:
#	docs/build/html/_sources/index.txt
#	docs/build/html/_sources/protocol-state-machines.txt
#	docs/build/html/_sources/tutorial-contract-clauses.txt
#	docs/build/html/index.html
#	docs/build/html/protocol-state-machines.html
#	docs/build/html/searchindex.js
#	docs/build/html/tutorial-contract-clauses.html
#	docs/build/html/tutorial-contract.html
2016-09-09 09:43:14 +01:00
jamescarlyle
455a0ac9c9 Tidied document code example 2016-09-08 23:02:01 +01:00
jamescarlyle
e187c4d91d Further tweaks based on feedback - simplified the embedded timelock contract 2016-09-08 22:49:24 +01:00
Matthew Nesbit
1f2a6d256e Simplify the FullNodeConfiguration now that an explicit identity for the NetworkMapService isn't a problem.
Use consistent if style

Don't include NetworkMapAddress in config if hosting locally
2016-09-07 15:35:50 +01:00
Mike Hearn
fa4b503f81 Minor: rename UntrustworthyData.validate to UntrustworthyData.unwrap to better indicate its purpose and deprecate the old name. 2016-09-07 13:09:39 +02:00
Mike Hearn
423aff477a Add a short document that describes things to watch out for when writing Corda app code. 2016-09-07 13:09:39 +02:00
jamescarlyle
cdb2c3efa6 updated following review 2016-09-06 17:56:01 +01:00
Ross Nicoll
203c4fb3d8 Merge ConcreteClause into Clause
Change Clause to an abstract class, and merge ConcreteClause into it. CompositeClause now
overrides defaults provided in Clause which are more suitable for composition of clauses.
2016-08-31 17:55:36 +01:00
Mike Hearn
75a9c498a4 Fixup release notes 2016-08-31 17:14:42 +02:00
Matthew Nesbit
638dfc902a docs
Include database config section for completeness

Incorporate comments from review

Incorporate comments from review
2016-08-31 11:47:25 +01:00
Mike Hearn
baac38c936 Release notes for M3 2016-08-30 14:40:12 +02:00
Mike Hearn
cc2209f7b1 Docsite: add a warning to the index page about the docsite being for master, and update the release process doc to remind the release master to remove it on the branch. 2016-08-30 12:53:34 +02:00
Mike Hearn
5a5377f0a1 Docs: Remove warning that says Corda is developed on MacOS, it is no longer true as we have a mix of platforms in the team these days. 2016-08-30 12:48:33 +02:00
Mike Hearn
e11732dad3 Merged in mike-refresh-docs-for-m3 (pull request #299)
Refresh the documentation site (developer guide): fresh docs are happy docs!
2016-08-26 18:57:27 +02:00
Ross Nicoll
13b040ecd6 Rework clauses to use composition
Rework clauses so that rather than defining match/no-match behaviour themselves, they are
now composed by nesting them within clauses that understand how to match their child clauses.
This unifies a lot of the structure of clauses and removes corner cases needed for the first
design, as well as moving towards a model which is easier to prove.
2016-08-26 17:35:52 +01:00
Mike Hearn
3e94fc1921 More review fixes 2016-08-26 13:05:26 +02:00
Mike Hearn
2f35dbc339 Refresh the documentation site (developer guide): fresh docs are happy docs! 2016-08-26 12:58:33 +02:00
Ross Nicoll
ad8ffca0b4 Add CommitTransactionProtocol
Add new protocol which manages the entire process of taking a signed transaction ready
for notarisation, through notarisation and onto recording it both locally and informing
remote nodes.

This protocol also optionally can include the ClientToServiceCommand which triggered a transaction
being created, to give the remote nodes context on why a change occurred (i.e. "You are being sent
£100")
2016-08-25 16:30:39 +01:00
Clinton Alexander
4cb6d11e9f Merged in clint-caplet (pull request #292)
Node server now loads plugins/cordapps from directory
2016-08-25 13:46:50 +01:00
Mike Hearn
bf41d66c6d Merged in whitepaper-minor-edits-prerelease (pull request #298)
Whitepaper minor edits prerelease
2016-08-25 11:28:58 +02:00
Clinton Alexander
f2a93ea67b Fixed review comments. 2016-08-24 21:03:20 +01:00
Clinton Alexander
bdcbd80d4e Updated docs to reflect gradle changes. 2016-08-24 16:30:35 +01:00
Clinton Alexander
70c057dfef Review changes. 2016-08-24 16:19:11 +01:00
Clinton Alexander
c03d9a2cf7 Review fixes. 2016-08-24 15:33:43 +01:00
Ross Nicoll
b8ec7631b4 Update introduction to messaging documentation 2016-08-23 17:43:42 +01:00
Ross Nicoll
59d3cbdece Add documentation around Commodity and CommodityContract 2016-08-23 17:40:45 +01:00
Ross Nicoll
03e120d04b Add default values for ifMatched/ifNotMatched/requiredCommands 2016-08-23 11:23:47 +01:00
Clinton Alexander
214c98b6aa Added first Cordapp documentation. 2016-08-23 10:25:06 +01:00
Richard G Brown
47cc33deb1 Final edit - simplification 2016-08-21 10:15:08 +01:00
Richard G Brown
932038ef9b Edits in response to Tim Swanson, Clark Thompson, Kathleen Breitman 2016-08-20 14:19:57 +01:00
richard
5df740b2fa regen PDF as not compiled correctly first time 2016-08-19 15:01:31 +01:00
richard
fe8cd540d1 Minor edits prior to release 2016-08-19 12:45:23 +01:00
Mike Hearn
44aa32f70c Add some documentation on writing protocol unit tests. 2016-08-12 17:14:55 +02:00
Mike Hearn
8c7de8a69c Merged in corda-whitepaper (pull request #278)
Add Corda Whitepaper to Documentation
2016-08-11 18:01:12 +02:00
Ross Nicoll
162d19deeb Change how clause verification is called
Change away from extending ClauseVerifier for contracts which support clauses, and explicitely call
clause verification code in the verify() function. This should make the flow of control easier to understand.
2016-08-11 15:39:11 +01:00
richard
9e9f75b932 Added Corda Whitepaper 2016-08-11 13:57:41 +01:00
Mike Hearn
25f65a60c7 Address review comments. 2016-08-05 14:04:07 +02:00
Mike Hearn
9b89d62c36 Docs: adjust the docsite to reflect the tx types refactoring 2016-08-04 13:05:51 +02:00
Mike Hearn
a5c8df8dab # This is a combination of 2 commits.
# The first commit's message is:

Release notes for M2

# The 2nd commit message will be skipped:

#	Docs: Address release notes review comments, re-arrange the sidebar and mention the new TF code that has been added.
2016-08-01 13:12:39 +02:00
Ross Nicoll
98aac62a42 Add contract catalogue to documentation 2016-07-29 11:59:28 +01:00
Clinton Alexander
5410f8b228 Merged in demowebui (pull request #230)
Added an IRS demo web interface
2016-07-28 13:19:32 +01:00
Clinton Alexander
f4e8537cf0 Fixed documentation. 2016-07-28 09:26:47 +01:00
Clinton Alexander
77245bdc1a Fixed a typo in the docs. 2016-07-25 11:55:23 +01:00
Clinton Alexander
19e3f7f0cb Updated documentation to use the new endpoints. 2016-07-25 10:53:38 +01:00
Clinton Alexander
11afce9bbf Review fixes. 2016-07-22 12:44:42 +01:00
Clinton Alexander
ac040efe94 Added instructions for unix installs. 2016-07-19 09:24:39 +01:00
Clinton Alexander
0a29ba4594 Added installation instructions for the demo web UI 2016-07-18 14:39:22 +01:00
Ross Nicoll
c32af56b41 Rebuild commercial paper contracts using clauses 2016-07-13 16:55:18 +01:00
Clinton Alexander
bfeea97013 Added documentation for the web demo. 2016-07-13 16:43:13 +01:00
Ross Nicoll
1943b3633f Add documentation on contract clauses 2016-07-12 17:47:51 +01:00
Ross Nicoll
e09710e421 Update contract tutorial example to match JavaCommercialPaper 2016-07-12 14:48:50 +01:00
Ross Nicoll
bb294da857 Minor: Correct class name in tutorial
Correct a reference to "Cash" in the tutorial, is actually "CommercialPaper"
2016-07-12 11:55:52 +01:00
Andras Slemmer
d0903ae265 docs: Rename test tutorial subtitle 2016-07-11 14:25:27 +01:00
Andras Slemmer
dae39bbfc1 docs: Add tutorial on the test DSL 2016-07-11 14:25:27 +01:00
Mike Hearn
ad3e9be1c8 Add a version number to gradle and allow "gradle install" to install the core module to the local Maven repository. 2016-07-07 13:59:55 +01:00
Mike Hearn
63cc3a04ce Review feedback 2016-06-30 12:59:19 +02:00
Andrius Dagys
b30e431766 Update release notes regarding use of TransactionBuilder 2016-06-30 11:46:26 +01:00
Mike Hearn
55675ef799 Refresh docs for M1 release. 2016-06-30 12:23:27 +02:00
rick.parker
5271882dcd Event scheduling and docs for event scheduling 2016-06-30 08:51:52 +01:00
Mike Hearn
cb90a8c09b Add a policy about compiler warnings. 2016-06-27 15:41:18 +02:00
Andrius Dagys
e5e5383e71 Minor formatting and typo fixes 2016-06-22 14:36:01 +01:00
Andrius Dagys
9f1a4e9254 Update docs relating to the multiple notary support work 2016-06-22 13:18:00 +01:00
Andras Slemmer
a8ce69ccb9 docs: add release note on curve switch 2016-06-16 17:03:44 +01:00
rick.parker
72842eaaf4 Code style changes for properties 2016-06-16 09:43:33 +01:00
Ross Nicoll
76a5328e4b Replace TokenDefinition with Issued 2016-06-13 17:39:42 +01:00
Ross Nicoll
a96a05d857 Add note about party type being likely to change 2016-06-13 17:38:18 +01:00
Ross Nicoll
92b25af092 Clarified contents of WireTransaction 2016-06-13 17:38:18 +01:00
Ross Nicoll
14463266db Add definition of state interfaces 2016-06-13 17:38:18 +01:00
Ross Nicoll
4b39ab0357 Clear up wording around how the FungibleAsset superclass is used
Clear up wording around how the FungibleAsset superclass is used, and in particular
that it contains contract code, but provides an interface that should be extended by
subclass state objects.
2016-06-13 17:38:18 +01:00
Ross Nicoll
8d1ac66787 Remove Business Calendar header 2016-06-13 17:38:18 +01:00
Ross Nicoll
874892df93 Move fungible definition up the document 2016-06-13 17:38:18 +01:00
Ross Nicoll
fc3bc163aa Tweak wording (state -> states) 2016-06-13 17:38:18 +01:00
Ross Nicoll
9cdcaaa606 Add documentation of transaction data types 2016-06-13 17:38:18 +01:00
Clinton Alexander
146f274dd0 Demo now requires the setup steps if the configuration is not default. Documentation updated to reflect these changes. 2016-06-08 16:31:58 +01:00
Clinton Alexander
782d50958d IRS demo endpoints are now parameterised for the Trade and Demo modes. Documentation fixes. 2016-06-08 16:30:40 +01:00
Clinton Alexander
0c94637685 Documentation now has separate Windows instructions for running the demos. 2016-06-08 16:30:40 +01:00
Clinton Alexander
fad45eaa91 Updated documentation for the IRS demo. 2016-06-08 16:29:21 +01:00
Ross Nicoll
f4f0e160d2 Genericise Cash contract to support non-Currency things
Split the verification and commands for the Cash contract into a new AbstractCashLike
class, and make Cash a concrete implementation of that class, specialised for dealing
with Currency as the underlying token.
2016-06-07 13:49:26 +01:00
Ross Nicoll
d7b367965f Genericise Amount class
Make the Amount class generic so it doesn't have to represent a quantity of a
currency, but can handle other things such as assets as well, or extended detail
(for example a currency-issuer tuple).
2016-06-01 11:58:13 +01:00
Ross Nicoll
fc62010da6 Move cash contract into its own package 2016-05-31 17:07:36 +01:00
Mike Hearn
bb8944ab17 Docsite: more info on how to cut a release.
In future this will get more complicated as we make the code know its own version, etc. But for now it'll do.
2016-05-25 11:52:16 +02:00
Mike Hearn
eabffb7fda Docsite: fix minor issues in the running-the-demos page 2016-05-24 13:48:35 +02:00
Mike Hearn
68824e9d7e Docsite: added a release notes page 2016-05-24 13:27:16 +02:00
Mike Hearn
1877491a9a Merged in full-scenario-tutorial-doc (pull request #105)
Docs: add a doc that describes how to link the other tutorials together into a demo.
2016-05-23 18:54:09 +02:00
Mike Hearn
fffeb4caa9 Docs: fix a typo that caused a parse failure. 2016-05-23 18:03:31 +02:00
Mike Hearn
6c31420d23 Minor: typo fix in running-the-demos.rst doc. 2016-05-19 12:38:00 +02:00
Mike Hearn
073f4a8e7e Merged in docs-setup (pull request #103)
Improve Set Up documentation
2016-05-19 12:22:24 +02:00
Mike Hearn
5e70646bd2 Refactor the trader demo and add comments to make it easier to customise. 2016-05-18 19:10:49 +02:00
Mike Hearn
6f1e2047dd Docs: add a doc that describes how to link the other tutorials together into a demo. 2016-05-18 19:05:33 +02:00
Wawrzyniec Niewodniczanski
ed3b33af19 Cosmetic change
- missing word
- wrong URL
2016-05-18 18:00:38 +01:00
Wawrzyniec Niewodniczanski
6896af25b2 Merge branch 'setup-docs-changes' of bitbucket.org:R3-CEV/r3prototyping into docs-setup 2016-05-18 10:44:11 +01:00
Wawrzyniec Niewodniczanski
e5ef9b28b7 Improve Set Up documentation
- there seems to be some changes to IntelliJ
- some further clarification
2016-05-18 10:39:47 +01:00
Mike Hearn
06cf7a21be Docs: misc markup fixes and adjust an out of date paragraph about oracles. 2016-05-17 19:40:53 +02:00
Mike Hearn
e1f899647a Modify the trader demo so it doesn't need a shell script to start it anymore. Now all configuration is in the driver program. 2016-05-17 18:13:24 +02:00
Matthew Nesbit
4fd32c3455 Merge remote-tracking branch 'remotes/origin/master' into mnesbit-cor-174-reorganise-for-bank-developers 2016-05-16 15:27:44 +01:00
Mike Hearn
e38b101970 Merged in release-process-docs (pull request #88)
Add a page that briefly describes the proposed release process.
2016-05-16 15:55:31 +02:00
Matthew Nesbit
c30564d813 Remove my original project structure proposal, because it doesn't the actual state of refactoring. 2016-05-16 14:51:38 +01:00
Matthew Nesbit
058ac986bd Move contracts base files to namespace to make api aspect clearer in includes.
Move Party to core.crypto as Party is closely aligned with the signing and used in code areas unrelated to the contract code.
2016-05-14 13:47:07 +01:00
Matthew Nesbit
8beaf08239 Convert proposed structure into a doc source file and include in index 2016-05-14 09:33:52 +01:00