f4577b743e
node-driver: Add startClient, startLocalServer
2016-08-19 17:05:00 +01:00
5f33bedc13
node-driver: Polling doesn't timeout, just prints warning
2016-08-19 17:05:00 +01:00
9cbdf001fb
node-driver: Return Futures instead of waiting for full node startup
2016-08-19 17:05:00 +01:00
7b3003ea04
Added TODO for further work
2016-08-19 16:41:49 +01:00
21092e2bb6
Merged in mnesbit-cleanup-remove-clashingthreads (pull request #281 )
...
Mnesbit cleanup remove clashingthreads
2016-08-19 16:05:50 +01:00
5df740b2fa
regen PDF as not compiled correctly first time
2016-08-19 15:01:31 +01:00
fe8cd540d1
Minor edits prior to release
2016-08-19 12:45:23 +01:00
fec2134555
Updated comment on why the encumbrance is an index (Integer).
2016-08-19 12:42:09 +01:00
413060aa6d
Don't use single line style for verify
2016-08-19 12:05:32 +01:00
696b9741dd
Remove ClashingThreads exception by tightening up unique id on LinearState to be a secure random value, with constraints that it cannot be duplicated. Also, rename to linearId rather than the confusing thread.
...
Try providing a helper interface to encourage enforcing LinearState rules
Fixup after rebase
Change to using Clauses for verifying LinearState standard properties
Fix whitespace change
Tidy up ClauseVerifier after PR comments
Change from SecureHash to a TradeIdentifier class
Change TradeIdentifier to UniqueIdentifier
2016-08-19 11:52:16 +01:00
b4be27080c
Encumbrances implemented by reference to an index of an output state
2016-08-18 20:58:34 +01:00
2c7d6fc053
Encumbrances implemented by reference to an index of an output state
2016-08-18 20:39:34 +01:00
ff1a1c4848
Encumbrances implemented by reference to an index of an output state
2016-08-18 19:41:17 +01:00
3f63aecf6c
Merged in mike-upgrade-quasar (pull request #284 )
...
Upgrade Quasar to 0.7.6 and fix an exception handling bug in SMM that it revealed (if an exception was thrown immediately on protocol startup we let it leak instead of capturing it in the future.
2016-08-18 18:26:39 +01:00
6adebd3fa8
Clarify exception handling in the SMM add method a bit.
2016-08-18 18:19:46 +01:00
43625308fa
Merged in clint-immutable-kryo-serialisers (pull request #274 )
...
Added immatuable serialisers to Kyro.
2016-08-17 14:50:33 +01:00
db3aa1491c
Upgrade Quasar to 0.7.6 and fix an exception handling bug in SMM that it revealed (if an exception was thrown immediately on protocol startup we let it leak instead of capturing it in the future.
2016-08-17 14:43:45 +01:00
a9ec3c253e
Merged in rnicoll-notify-tx (pull request #282 )
...
Add observable for transactions being stored
2016-08-16 14:50:55 +01:00
9496e18530
Merged in clint-driver-win-fix (pull request #285 )
...
Driver now correctly resolves quasar path on Windows.
2016-08-16 14:27:18 +01:00
77f5689468
Renamed variable for clarity.
2016-08-16 13:54:08 +01:00
5d68210355
Driver now correctly resolves quasar path on Windows.
2016-08-16 13:26:38 +01:00
85dce390f4
makeNotaryService now enforces post condition with type system.
2016-08-16 09:21:29 +01:00
a74c491745
Fixed a bug where if NotaryService.Type is used as an advertised service no notary is created and no obvious error occurs.
2016-08-16 09:18:33 +01:00
9d9164980e
Merged in andrius-driver-fix (pull request #280 )
...
DriverTest fix: get quasar.jar location from the classpath
2016-08-15 17:31:02 +01:00
c5a6d11976
Merged in clint-node-driver-conf-fix (pull request #275 )
...
Config will error earlier if the reference.conf file is missing.
2016-08-15 15:53:50 +01:00
a451000623
Merged in mike-fix-artemis-threading (pull request #276 )
...
Messaging layer improvements
2016-08-12 19:07:54 +02:00
2bc757a8a7
Merged in mike-resolvetx-unit-tests (pull request #279 )
...
Add unit tests for the tx resolution protocol
2016-08-12 17:18:57 +02:00
44aa32f70c
Add some documentation on writing protocol unit tests.
2016-08-12 17:14:55 +02:00
3d391ec8c2
Add unit tests for the resolve transactions protocol
2016-08-12 17:14:54 +02:00
709fe096b3
Minor: add a rootCause property to Throwable
2016-08-12 17:13:41 +02:00
b8dc755926
Minor: a couple of small usability improvements to TransactionBuilder
2016-08-12 17:13:41 +02:00
c60c333ba9
Minor: add a utility to OpaqueBytes
2016-08-12 17:13:41 +02:00
316917f271
Merged in rnicoll-tx-timestamp (pull request #271 )
...
Replace timestamp commands with a field on the transaction itself
2016-08-12 15:59:49 +01:00
8cfc88ed3a
Remove unused timestamp from LCApplication
2016-08-12 15:51:04 +01:00
a3d37a4d00
Require notary to be explicitely stated on each transaction
2016-08-12 15:51:04 +01:00
a2dff5488f
Add debugging information in case of missing signatures
2016-08-12 13:51:34 +01:00
17ae349f4d
Remove support for timestamp commands
2016-08-12 13:51:34 +01:00
f0aa5a30d4
Deprecate existing timestamp infrastructure
2016-08-12 13:51:34 +01:00
cba0427e01
Make ArtemisMessagingClient blocking and require the user to directly enter a message loop. This cleans up a few things and ensures we can't get caught out by messages being arbitrarily re-ordered as they pass through any Artemis thread pools.
2016-08-12 14:06:03 +02:00
8346c58d4c
Add observable for transactions being stored
...
Add observable for transactions being stored, so the UI can show transactions as they're received, rather than being
limited to the summarised version available from the wallet service.
2016-08-12 11:58:17 +01:00
cd344058d2
Driver: get quasar.jar location from the classpath instead of a constructor parameter
2016-08-12 11:41:15 +01:00
8c7de8a69c
Merged in corda-whitepaper (pull request #278 )
...
Add Corda Whitepaper to Documentation
2016-08-11 18:01:12 +02:00
84c6989b8b
Merged in rnicoll-clause-cleanup (pull request #266 )
...
Clean up how clauses are implemented
2016-08-11 15:51:02 +01:00
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
9e9f75b932
Added Corda Whitepaper
2016-08-11 13:57:41 +01:00
ac81d2aa32
Messaging layer improvements:
...
- Fix thread safety issues in ArtemisMessagingClient. The Artemis API isn't thread safe, but that isn't well documented and it will happily invoke callbacks in parallel.
- Add discussion of how we tackle threading currently in the codebase and make a few other improvements.
- Add a shutdown hook so we stop properly when the user presses ctrl-c
2016-08-11 14:16:05 +02:00
475322b14f
Config will error earlier if the reference.conf file is missing.
2016-08-10 17:22:20 +01:00
493f7f1fd1
Merged in clint-array-removal (pull request #273 )
...
Replaced array with list where possible.
2016-08-10 16:17:38 +01:00
10035860eb
Added immatuable serialisers to Kyro.
2016-08-10 16:17:14 +01:00
00b439802b
node-driver: Write node.conf explicitly
2016-08-10 14:35:23 +01:00