Commit Graph

721 Commits

Author SHA1 Message Date
Clinton Alexander
389a470400 Moved IRS demo date setting functionality to Kotlin code. Removed now redundant demo script. 2016-06-08 16:29:21 +01:00
Clinton Alexander
3d556c614f Moved IRS demo trade mode to the Kotlin demo code. 2016-06-08 16:29:21 +01:00
Clinton Alexander
639f97ff9c Rate uploading moved to IRSDemo.kt from irs-demo.sh 2016-06-08 16:29:21 +01:00
Clinton Alexander
9a619cc4ae IRS demo to now has roles for NodeA/NodeB and most options are now~ optional. NodeA can be run without the shell script. 2016-06-08 16:29:21 +01:00
Shams Asari
2365f9bca5 Persisting transactions to disk 2016-06-08 10:15:14 +01:00
Rick Parker
f6e577f672 Merged in cor-133-serialization-as-tokens-2 (pull request #129)
Fix registration of services due to Kryo not following synthetic fields by default
2016-06-07 16:31:39 +01:00
rick.parker
97e04ba7d0 Fix registration of services due to Kryo not following synthetic fields by default
Review feedback
2016-06-07 16:29:59 +01:00
Ross Nicoll
e887c0e7ef Merged in rnicoll-fix-json (pull request #127)
Update trade JSON to reflect changes to Amount
2016-06-07 16:06:22 +01:00
Ross Nicoll
280581450a Correct 'currency' -> 'token' in JSON 2016-06-07 16:05:49 +01:00
Andrius Dagys
49664b4b50 Assign platformClock in serviceHub directly to avoid serialization issues 2016-06-07 13:53:00 +01:00
Andrius Dagys
21f53a7d3e Revert "Revert "Merged in validating-notary (pull request #123)""
This reverts commit e64145991e.
2016-06-07 13:53:00 +01:00
Ross Nicoll
ba1a6ab614 Merged in rnicoll-non-currency-cash (pull request #124)
Genericise Cash contract to support non-Currency things
2016-06-07 13:49:53 +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
Andrius Dagys
e64145991e Revert "Merged in validating-notary (pull request #123)"
This reverts commit d9f4e4da2e, reversing
changes made to 654dc3f60a.
2016-06-07 12:29:27 +01:00
Andrius Dagys
d9f4e4da2e Merged in validating-notary (pull request #123)
Multiple notary support - implement a validating notary using extensible commit protocol
2016-06-07 11:09:39 +01:00
Andrius Dagys
c45bc0df20 Split up Notary protocol into Client and Service parts. The Service protocol can be extended to provide additional transaction processing logic, e.g. validation.
Implemented a Simple and Validating Notary services.
2016-06-07 10:58:34 +01:00
Shams Asari
654dc3f60a Resuming from checkpoints now working - seller (but not buyer) in trader demo can be restarted 2016-06-06 17:49:40 +01:00
Rick Parker
1a1efd9523 Merged in cor-133-serialization-tokenization-of-services-1 (pull request #111)
Have ServiceHub entries implement SerializeAsToken so they are not copied into protocol checkpoints.
2016-06-06 17:00:09 +01:00
rick.parker
8122e35a8a Have ServiceHub entries implement SerializeAsToken so they are not copied into protocol checkpoints. 2016-06-06 16:55:46 +01:00
Ross Nicoll
d8940ca88c Merged in rnicoll-generic-amount (pull request #122)
Genericise Amount class
2016-06-01 12:04:46 +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
fae934e7b0 Merged in rnicoll-cash-move (pull request #120)
Move cash contract into its own package
2016-05-31 17:15:12 +01:00
Ross Nicoll
fc62010da6 Move cash contract into its own package 2016-05-31 17:07:36 +01:00
Ross Nicoll
93832457e4 Merged in rnicoll-cash-sum-tests (pull request #118)
Add unit tests covering cash sum methods
2016-05-31 15:47:49 +01:00
Mike Hearn
1e0844ccb5 Merged in fix-affinityexecutor-test (pull request #117)
Attempt to fix AffinityExecutorTest and fix an IDE hint.
2016-05-31 15:56:10 +02:00
Mike Hearn
2fa939d50e Merged in docs-release-process (pull request #115)
Docsite: more info on how to cut a release.
2016-05-31 15:54:01 +02:00
Andrius Dagys
b4ee6a09da Merged in trader-demo-fix (pull request #121)
Trader demo fix: buyer now records completed transactions and doesn't attempt to reuse the same spent cash states
2016-05-31 14:36:34 +01:00
Ross Nicoll
ee5088066c Add unit tests covering cash sum methods 2016-05-31 14:21:29 +01:00
Andrius Dagys
4a79600653 Trader demo fix: buyer now records completed transactions and doesn't attempt to reuse the same spent cash states. 2016-05-31 12:40:53 +01:00
Richard Green
e313beb40a updated JIRA link in README.md (from kanban to sprint) 2016-05-25 15:14:44 +01:00
Mike Hearn
3974f7b632 Fix the .gitignore file for the internal repo 2016-05-25 13:05:26 +02:00
Mike Hearn
fac38e1f3f Attempt to fix AffinityExecutorTest and fix an IDE hint.
This test sometimes fails on Jenkins but I can't reproduce the failure here. There is a race in the tests though, I think this should fix it.
2016-05-25 12:27:57 +02:00
Richard Green
6bcd9038c5 update JIRA reference 2016-05-25 10:58:08 +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
Ross Nicoll
f7c0756526 Add a dummy test to NonEmptySetTest.Guava
Add a dummy test so that when IntelliJ (incorrectly) scans NonEmptySetTest.Guava
looking for tests, it finds one and doesn't complain.
2016-05-25 10:17:02 +01:00
Ross Nicoll
e3727a1de6 Merged in rnicoll-base58-tests (pull request #113)
Port Base58Test to Kotlin
2016-05-24 18:20:56 +01:00
Rick Parker
570dc38423 Merged in cor-133-clock-helpers (pull request #112)
MutableClock for testing, simulation and demos plus associated utilities
2016-05-24 17:58:37 +01:00
rick.parker
7982902e38 Added comment about use of Semaphore and CountDownLatch 2016-05-24 16:27:39 +01:00
Ross Nicoll
a71c5ea2ff Merged in rnicoll-non-empty-set (pull request #109)
Add NonEmptySet
2016-05-24 15:53:55 +01:00
Ross Nicoll
4744740913 Add NonEmptySet
Add a new set-like collection which is constrained to ensure it's never
empty.
2016-05-24 15:39:24 +01:00
rick.parker
4c75effe8c First phase of updates based on feedback 2016-05-24 14:44:09 +01:00
Ross Nicoll
40b6b0d186 Port Base58Test to Kotlin 2016-05-24 14:20:53 +01:00
Mike Hearn
4065cb25c0 Regen docsite 2016-05-24 13:48:53 +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
b6c3359cde Docs: regen docsite 2016-05-24 13:27:23 +02:00
Mike Hearn
68824e9d7e Docsite: added a release notes page 2016-05-24 13:27:16 +02:00
rick.parker
0b2c16be67 Changes to packages after refactor 2016-05-24 11:48:04 +01:00
rick.parker
f8e610aa71 Re-apply changes 2016-05-24 09:41:00 +01:00
Mike Hearn
1e9f97f890 Docs: regen docsite for new where to start page. 2016-05-23 18:54:38 +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