Commit Graph

2038 Commits

Author SHA1 Message Date
Ross Nicoll
607ba634fe Add filter composition for clauses 2016-10-04 10:32:13 +01:00
Matthew Nesbit
06a8680d37 Merged in mnesbit-cor-389-checkpoints-in-db (pull request #385)
Store protocol checkpoints in the DB
2016-10-04 09:50:17 +01:00
Matthew Nesbit
76808d36c3 Store protocol checkpoints in the DB, except during Single threaded MockNetwork activity, where we still use the file system based checkpointing. Make the Checkpoint acess a Sequence not an Iterable, so that we don't end up with all the checkpoints permanently resident in memory.
Split up storage initialisation so that there is less code copying in MockNode

Add header comment to DBCheckpointStorage class

Respond to PR comments

Resolve PR comments

Rename iterator on checkpoints

Fix typo

Fixup checkpoints in DB logic after Shams's PR

Delete duplicated code
2016-10-03 17:56:58 +01:00
Shams Asari
67fdf9b2ff Automatic session management between two protocols, and removal of explict topics 2016-10-03 15:21:27 +01:00
Andras Slemmer
4da73e28c7 client, explorer: Address review comments 2016-10-03 11:26:30 +01:00
Andras Slemmer
9a212a8714 client: Add ConcatenatedList, LeftOuterJoinedMap, tests and utilities, fix some bugs 2016-10-03 11:26:30 +01:00
Andras Slemmer
99e758e021 client: Add ObservableMap utilities and tests 2016-10-03 11:26:29 +01:00
Andrius Dagys
a26908e83b Added docs for PublicKeyTree/multi-signature support 2016-10-03 11:09:36 +01:00
Andrius Dagys
b3f3ee0562 Added a json serializer for PublicKeyTree
Typo fixes, other minor refactorings
2016-10-03 11:09:36 +01:00
Andrius Dagys
ecb1acdb8d Add threshold signature support: introduce PublicKeyTree which allows composing public keys into a tree structure with nodes containing thresholds for how many child node signatures it requires. 2016-10-03 11:09:36 +01:00
Andras Slemmer
43d18d46bb Add PartiallyResolvedTransaction to client 2016-10-03 10:17:41 +01:00
Ross Nicoll
adf0876b18 Merged in rnicoll-consensus-docs (pull request #382)
Restructure consensus documentation
2016-09-30 17:09:59 +01:00
Ross Nicoll
12fd70c742 Restructure consensus documentation
Restructure consensus documentation to improve content grouping
2016-09-30 17:09:16 +01:00
Clinton Alexander
3612bee6f7 Fixed a syntax error in gradle file. 2016-09-30 10:57:20 +01:00
Clinton Alexander
6a669b6aad Added a line that was accidentally removed. 2016-09-30 10:57:20 +01:00
Clinton Alexander
9a4cc04eb5 Moved source and javadoc publish tasks into a default publish tasks plugin. 2016-09-30 10:57:20 +01:00
Clinton Alexander
25d10376de Now using the output of the buildCordaJAR target directly. 2016-09-30 10:57:20 +01:00
Clinton Alexander
4c79a74a8b Only corda capsule is published to maven now. 2016-09-30 10:57:20 +01:00
Clinton Alexander
4cdb4352b6 Added corda capsule to output of publish. 2016-09-30 10:57:20 +01:00
Clinton Alexander
f13a21cc6c Can now publish corda to local repo with gradle publishToMavenLocal 2016-09-30 10:57:20 +01:00
Clinton Alexander
a740167100 Merged in clint-mvcc (pull request #366)
Improved concurrency of H2 database with config
2016-09-28 16:51:27 +01:00
Clinton Alexander
7afb034b8c Merged in clint-vegacorechanges (pull request #380)
Corda Changes required for Vega
2016-09-28 16:28:15 +01:00
Clinton Alexander
43de27c4c1 Updated Corda in preparation for the merging of the Vega cordapp. Includes
some minor changes, including gitignore rule changes. The largest change
is replacing the current fresh key for each transaction with a single
static identity in preparation for aimproved and more fleshed out key
sharing infrastructure.
2016-09-28 14:39:41 +01:00
Andras Slemmer
5b10c207e0 Add StateMachine -> Recorded TX mapping stream and emit events on transaction records 2016-09-28 11:46:37 +01:00
Andras Slemmer
6c96517f6f core, node: Add RPC calls, change RPC init order 2016-09-28 10:32:22 +01:00
Patrick Kuo
57965f757b Merged in pat-cert-signing-node-changes (pull request #376)
Checks for SSL certificate on Node startup
2016-09-27 11:05:06 +01:00
Patrick Kuo
8f00ec03a3 Checks for SSL certificate on Node startup 2016-09-27 10:15:09 +01:00
Rick Parker
46d6749616 Merged in persistence-support-in-mock-node (pull request #371)
Persistence support in MockNode
2016-09-26 15:12:59 +01:00
rick.parker
cb1fa83b67 Fix up database persistence to work with MockNetwork/MockNode without getting tangled up in the ThreadLocals. 2016-09-26 14:54:00 +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
Rick Parker
3d89e7d7e9 Merged in fix-log-dumping-of-messages (pull request #379)
Fix erroneous log statement that corrupts the logs.
2016-09-26 13:06:21 +01:00
rick.parker
16eda06095 Fix erroneous log statement that corrupts the logs. 2016-09-26 12:57:01 +01:00
Andras Slemmer
7e7bf08062 Rename stateMachineRunId properties to id, remove unused fiberId 2016-09-26 10:40:18 +01:00
Andras Slemmer
cfa5878ea2 Add StateMachineRunId, type for SMM Changes 2016-09-26 10:40:18 +01:00
Matthew Nesbit
568e1ebcd4 Merged in mnesbit-cor-389-checkpoint-protocol-message-ids (pull request #377)
Put the message unique id's on based on a stored value in the checkpoint
2016-09-26 10:37:39 +01:00
Matthew Nesbit
a964073c2f Track message id's to deduplicate replays. Widen the auto-acknowledgement window of Artemis back to the default.
Use synchronized wrapper over set.

Drop discard message to trace level logging.

Fix code layout

Use lazy trace extension method

Track message id's to deduplicate replays. Widen the auto-acknowledgement window of Artemis back to the default.

Use synchronized wrapper over set.

Include tx message unique id in checkpointed data.

Add test for checkpointed resend

Fix bug in not getting UUID off message.

Tidy formatting

Add explanation comments to test asserts

Put unique id even on Client messages.

Tidy formatting
2016-09-26 10:12:50 +01:00
Mike Hearn
3f9fc2db85 Minor: fix some minor indent/formatting issues in the docs 2016-09-23 11:55:40 +02:00
Mike Hearn
9551b0c7e5 Regen docsite 2016-09-23 11:55:23 +02:00
Andrius Dagys
ac57c5cf86 Merged andrius-crypto-refactor into master 2016-09-22 18:07:31 +01:00
Andrius Dagys
f1a2bed497 Added API doc for SecureHash. Removed signatureAlgorithmName val as it's not being used 2016-09-22 16:52:06 +01:00
Matthew Nesbit
193c965db8 Merged in mnesbit-cor-389-deduplicate-artemis-messages (pull request #370)
Track message id's to deduplicate replays using JDBC Persistent Set
2016-09-22 15:58:28 +01:00
Matthew Nesbit
074964f919 Track message id's to deduplicate replays. Widen the auto-acknowledgement window of Artemis back to the default.
Use synchronized wrapper over set.

Drop discard message to trace level logging.

Fix code layout

Use lazy trace extension method
2016-09-22 15:18:24 +01:00
Patrick Kuo
e2c793df05 Merged in pat-move-certificate-path-to-config (pull request #374)
Moved certificates path to node configuration
2016-09-22 15:00:59 +01:00
Patrick Kuo
eee18b55f5 Moved certificates path to node configuration 2016-09-22 14:28:12 +01:00
Ross Nicoll
54991c90a1 Merged in rnicoll-dictionary (pull request #369)
Correct typos, add custom dictionary
2016-09-22 09:52:28 +01:00
Clinton Alexander
58c1ab4562 Changed DB store type to MV store. 2016-09-22 09:37:03 +01:00
Patrick Kuo
15c35fb820 Merged in pat-fix-artemis-messaging-server-cert (pull request #372)
fix ArtemisMessagingServer certificate path
2016-09-21 17:51:35 +01:00
Patrick Kuo
f7193fee54 fix ArtemisMessagingServer certificate path 2016-09-21 17:50:26 +01:00
Andrius Dagys
8d84ece9c2 Split out SecureHash and Signed data from CryptoUtilities 2016-09-21 16:06:20 +01:00