Commit Graph

19 Commits

Author SHA1 Message Date
Mike Hearn
50c3956988 Rename 'institution' to 'party'.
ADP-39 #resolve
2015-11-30 16:51:20 +00:00
Mike Hearn
52288bede1 Add copyright header (not open source for now) 2015-11-30 16:46:26 +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
jamescarlyle
4e933f6d51 Added basic Crowdfunding contract. 2015-11-27 23:55:47 +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
1628c1e17a Implement and test crafting/generate methods for CommercialPaper.
Rename test keys and use real EC keys instead of dummies.
2015-11-27 15:44:43 +01:00
Mike Hearn
19cd2069c7 Minor: clarify the distinction between sighash and txid hash. Fix Cash contract to not expect keys to be sortable. 2015-11-27 14:56:36 +01:00
Mike Hearn
de40a2082d Minor: introduce Institution.ref() to get an InstitutionReference 2015-11-27 14:49:08 +01:00
Mike Hearn
88793644c8 Minor: move @Suppress("UNCHECKED_CAST") to file level to work around KT-10210 2015-11-27 14:04:38 +01:00
Mike Hearn
472d57e262 Testing: Allow "label".output inside typed TransactionGroupForTest 2015-11-27 13:50:44 +01:00
Mike Hearn
85c4f9d514 Minor: provide the cause when an exception doesn't match expected in TestUtils 2015-11-26 19:10:40 +01:00
Mike Hearn
ff05cb4a4c Contract: rewrite and finish off tests for commercial paper, using improved test DSL 2015-11-25 17:40:27 +01:00
Mike Hearn
5285d3bb47 Minor: define contracts as regular classes instead of using the kotlin singleton syntax 2015-11-24 15:22:19 +01:00
Mike Hearn
25a28a0a28 Minor: suppress unused parameter warnings in TestUtils 2015-11-21 13:17:05 +01:00
Mike Hearn
7f13b8ab4a Minor: a few misc cleanups 2015-11-19 11:56:07 +01:00
Mike Hearn
a4aef06e41 Major: introduce TransactionGroup for verifying subgraphs. 2015-11-18 19:22:31 +01:00
Mike Hearn
636279ced9 Minor: test dsl, rename recursive transaction method to 'tweak' to better describe what it does. 2015-11-18 13:45:04 +01:00
Mike Hearn
03ddf454c7 Minor: make LedgerTransaction keep track of the hash of the original serialised tx 2015-11-18 13:35:24 +01:00
Mike Hearn
f0557e106d Minor: reorganise the test directory to match the src directory 2015-11-18 13:29:18 +01:00