Mike Hearn
478b6c5fba
Trader demo: use a start script instead of Gradle, which simplifies setup.
...
It also stops Gradle messing with the console output.
2016-02-24 12:58:37 +01:00
Mike Hearn
c3f86f6557
Integrate a simple progress tracking system into the protocol framework.
...
The progress tracker API lets you model a tree of steps, along the same structure as protocols and subprotocols. Each step has an (optionally changing) label, and thus progress trackers can be arranged in a tree. Updates to the progress at each level flow up the tree via an RxJava observable (I guess we will use this more in future).
A simple console renderer is provided that uses ANSI escapes and Emoji to show animated progress through a protocol.
The trader demo is enhanced to use this framework, when run outside of Gradle.
2016-02-24 12:58:37 +01:00
Mike Hearn
027068b998
Minor: version -> "latest" in docsite
2016-02-18 17:55:11 +01:00
Mike Hearn
d420b1e785
Minor: widen the doc area in the docsite by 200px, stops code overflowing and results in more space for text.
2016-02-18 17:54:41 +01:00
Mike Hearn
ba62330a6e
Minor: fix a small bug in the tutorial.rst doc file
2016-02-18 17:47:20 +01:00
Mike Hearn
02f5dc5948
Update the protocol framework documentation
2016-02-18 17:47:05 +01:00
Mike Hearn
9f4897f7c4
Simplifies two-party trade protocol to return SignedTransaction instead of a pair of other forms.
2016-02-12 15:49:18 +01:00
Mike Hearn
6deef5b598
Minor: rename SignedWireTransaction to just SignedTransaction
2016-02-12 15:47:23 +01:00
Mike Hearn
d98a3871da
Refactor the 2-party trading protocol
...
- Fix a security bug/TODO by having seller send back the signatures rather than a full blown transaction (which would allow a malicious seller to try and confuse the buyer by sending back a completely different TX to the one he proposed)
- Introduce an UntrustworthyData<T> wrapper as an (inefficient) form of taint tracking, to make it harder to forget that data has come from an untrustworthy source and may be malicious.
- Split the giant {Buyer, Seller}.call() methods into a set of smaller methods that make it easier to unit test various kinds of failure/skip bits in tests that aren't needed.
2016-02-10 17:59:28 +01:00
Mike Hearn
b023e570fc
Docs: update contracts tutorial to talk about generation instead of crafting
2016-02-10 16:29:44 +01:00
Mike Hearn
ac56ea2495
Regen docsite
2016-02-05 15:54:38 +01:00
Mike Hearn
f705eee312
Use buyer/seller instead of alpha/beta and allow nodes to both be named localhost. Update docs.
2016-02-05 15:48:58 +01:00
Mike Hearn
9a818247bb
Re-gen docsite
2016-02-03 16:57:01 +01:00
Mike Hearn
c2a10e8fae
Add a page to the docsite about the trading demo.
2016-02-03 16:57:01 +01:00
Richard Green
410aeea1d2
Minor doc change
2016-02-03 10:21:20 +00:00
Mike Hearn
52d30b4870
Regen docsite.
2016-01-27 15:07:46 +00:00
Mike Hearn
c16abb2825
Add a coding style guide.
2016-01-27 15:07:46 +00:00
Mike Hearn
d9c6df51f4
Update docs for new simpler protocol framework API.
2016-01-13 13:54:10 +01:00
Mike Hearn
81812d2f2d
Kotlin 1.0.0-beta-4584 (docs)
2015-12-24 17:22:00 +00:00
Mike Hearn
049f0aa3b3
Rename PartialTransaction -> TransactionBuilder. The term "partial transaction" should be reserved to mean a transaction that is lacking some signatures as it's in the process of being built up by multiple parties.
2015-12-22 15:28:38 +00:00
Mike Hearn
89b1a5648b
Docs: regen HTML + reorganise left hand menu a bit.
2015-12-22 15:15:38 +00:00
Mike Hearn
c217702606
Merged tx-simplifications into master
2015-12-22 15:07:51 +00:00
Mike Hearn
ef12d474d5
Refresh 'overview' page with info about the latest data model.
2015-12-22 15:03:25 +00:00
Frederic_Dalibard
ba99bfde7c
Minor:
...
- changed Kotlin version
- changed "playground.git" into "r3repository.git"
2015-12-21 22:16:19 +01:00
Mike Hearn
e3cfe0ae49
Docs: fix a few typos and rewrap a few code samples in the state machines article.
2015-12-15 15:52:07 +01:00
Mike Hearn
bf647f6c15
Docs: regen all docs
2015-12-15 14:27:06 +01:00
Mike Hearn
c4549a5ecb
Docs: regen HTML
2015-12-15 13:16:20 +01:00
Mike Hearn
06ee9db3f6
Minor: provide a random63BitValue() function and use it instead of the previously duplicated code. Update docs.
2015-12-15 13:16:13 +01:00
Mike Hearn
62f7237364
Docs: regen HTML
2015-12-14 18:22:54 +01:00
Mike Hearn
4198de7ff0
Messaging: add docs on the messaging and protocol state machine systems.
2015-12-14 18:22:21 +01:00
Mike Hearn
b915a30dee
Docs: mention what to do if IntelliJ complains about lack of a jdk
2015-12-08 16:47:45 +01:00
Mike Hearn
f7e04e1078
Docs: Mention the crowdfunding in the "in the box" page, regen html
2015-12-07 20:55:03 +01:00
Mike Hearn
e5a36580da
Visualiser: reorganise, make it easier to invoke, document it.
2015-12-03 12:00:49 +00:00
Mike Hearn
31ca78533b
Docs: regen HTML
2015-12-02 09:50:31 +00:00
Mike Hearn
2f7da660c2
Fill out roadmap doc page and state the core hypothesis that the prototype is exploring on the welcome page.
2015-12-01 14:05:08 +00:00
Mike Hearn
c4d383bf67
Docs: rename institution to party
2015-11-30 17:07:09 +00:00
Mike Hearn
8ea4ac8b15
Rename 'playground' to 'R3 Prototyping'
2015-11-30 17:00:25 +00:00
Mike Hearn
b8a50a65cf
Merge branch 'finish-timestamping'
...
# Conflicts:
# docs/build/html/searchindex.js
# src/core/serialization/Kryo.kt
2015-11-30 16:35:10 +00:00
Mike Hearn
09ed50d1ab
Docs: address review comments from Richard.
2015-11-30 16:26:09 +00:00
Mike Hearn
42eed3e0a3
Flesh out timestamping logic and fix various serialisation related bugs that it exposes. Timestamps are optional, so update the CommercialPaper contract and tutorial to reflect that.
2015-11-27 18:33:17 +01:00
Mike Hearn
57118d46a8
Docs: Regen HTML
2015-11-27 16:23:32 +01:00
Mike Hearn
e9c60c2722
Docs: finish off the tutorial by adding a section on crafting functions.
2015-11-27 16:23:19 +01:00
Mike Hearn
58ce060211
Regen the HTML
2015-11-25 19:04:35 +01:00
Mike Hearn
b4a3008302
Docs: tutorial typo fixes
2015-11-25 19:04:28 +01:00
Mike Hearn
b6b50f0e7b
Docs: tutorial doesn't actually show you how to do a hello world contract, CP is enough
2015-11-25 18:51:37 +01:00
Mike Hearn
2f1a91c101
Docs: regenerate the HTML
2015-11-25 18:49:58 +01:00
Mike Hearn
1ce9bdeba0
Docs: add unit testing to the tutorial
2015-11-25 18:49:44 +01:00
Mike Hearn
ecf70efd2e
Update tutorial to reflect code changes in CommercialPaper.kt
2015-11-25 18:17:51 +01:00
Mike Hearn
86a523dd59
Apply review changes suggested by Richard
2015-11-25 18:05:10 +01:00
Mike Hearn
766040da57
Documentation HTML build
2015-11-25 18:01:38 +01:00
Mike Hearn
3dd10714df
Introduce documentation of the current prototype with a contract programming tutorial (incomplete), using the Sphinx docs engine.
...
Actual generated HTML will follow in the next commit.
2015-11-25 18:01:37 +01:00