Patrick Kuo
c57229a944
New gradle task for packaging certificate singing request utility jar.
2016-10-04 16:56:18 +01:00
Shams Asari
6b97fbb79f
Removed ValidatingClient as notary behaviour is not client configurable
2016-10-04 15:20:36 +01:00
Shams Asari
5e6533eb8a
Better use of Futures
2016-10-04 14:11:43 +01:00
Ross Nicoll
53ecb0ecd9
Constrain class type passed to registerProtocolInitiator()
2016-10-04 12:57:22 +01:00
Andrius Dagys
5efa0fd5b3
Advertised services now contain ServiceInfo which describes ServiceType and a service identifier. This will be used, e.g. for grouping distributed notary nodes into the same service cluster.
2016-10-04 11:36:26 +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
Andrius Dagys
b3f3ee0562
Added a json serializer for PublicKeyTree
...
Typo fixes, other minor refactorings
2016-10-03 11:09:36 +01:00
Andras Slemmer
43d18d46bb
Add PartiallyResolvedTransaction to client
2016-10-03 10:17:41 +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
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
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
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
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
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
f7193fee54
fix ArtemisMessagingServer certificate path
2016-09-21 17:50:26 +01:00
Ross Nicoll
80ccf4df34
Change keypair to "keyPair"/"key pair"
...
Change "keypair" to "keyPair"/"key pair" to correctly indicate it is two words,
not a single word.
2016-09-21 10:50:28 +01:00
Ross Nicoll
d38392093f
Rename wallet monitor service to node monitor service
2016-09-21 10:26:20 +01:00
Ross Nicoll
ebda724f14
Change references to 'wallet' with 'vault'
2016-09-20 18:14:53 +01:00
Andras Slemmer
2640e600c8
Merged in aslemmer-node-explorer (pull request #311 )
...
explorer ui v0.2
2016-09-20 12:02:09 +01:00
Patrick Kuo
9b4bf32fdc
client certificate signing utility
2016-09-20 10:51:09 +01:00
Andras Slemmer
01d879772d
client, explorer: Rearrange/add tx screen columns
2016-09-19 15:05:23 +01:00
Andras Slemmer
041c33a167
client, node: Handle snapshot in explorer
2016-09-19 15:05:23 +01:00
Andras Slemmer
4b74d94001
node: Fix compile after rebase, small typo fix
2016-09-19 15:05:22 +01:00
Andras Slemmer
a23c1d019c
node: Fix compile after rebase
2016-09-19 15:05:22 +01:00
Andras Slemmer
c04a3401c3
client, node: Fix compile error after rebase
2016-09-19 15:05:22 +01:00
Andras Slemmer
3042407250
node: Better diagnostics for exit generation in WalletMonitorService
2016-09-19 15:05:22 +01:00
Andras Slemmer
eb82e946d0
node: Expose LedgerTransactions instead of SignedTransactions in WalletMonitor
2016-09-19 15:05:22 +01:00
Clinton Alexander
7d7418095e
Increased timeout to avoid spurious timeouts. Added MVCC flag to allow
...
better concurrency and prevents deadlocks when multiple transactions are
occurring at once, as has happened on Vega.
2016-09-19 13:45:54 +01:00
Matthew Nesbit
478cb58dd6
Delay State Machine fiber start until network map cache is fully populated.
...
Add some unit tests of the late init behaviour.
Fix merge error
Change statemachine logic to use an in-memory only flag on checkpoints to track their materialisation during startup.
Add annotations for test method
Fix possible race condition on storing checkpoint objects
Correctly create checkpoint
Use then helper function
Cleanup imports
2016-09-19 12:15:33 +01:00
rick.parker
476db876d9
Move db commit to after "protocol completed" future is set.
...
Move db commit to after "protocol completed" future is set.
2016-09-16 13:56:49 +01:00
rick.parker
236a47104f
Persitent network map and key service. Temporary persistence workaround for scheduler.
2016-09-16 12:14:56 +01:00
Patrick Kuo
1388747484
Permissioning server: added new node properties in node config for certificate signing request
2016-09-16 11:42:33 +01:00
Mike Hearn
4d83f1489f
Add a client library that provides an RPC mechanism for talking to the Corda node.
...
The RPC mechanism uses message queues and is essentially conventional except for the fact that it supports marshalling observables. An observable encapsulates a stream of ongoing events, and server-side observables sent to the client are automatically bound to message queues and managed by Artemis.
2016-09-16 10:13:21 +01:00
rick.parker
17c9d231f4
Fix hanging test and fail fast on hang.
2016-09-15 16:39:58 +01:00
Shams Asari
8ea20dd0d2
Removed session IDs from the send and receive methods of ProtocolLogic and are now partially managed by HandshakeMessage
2016-09-14 15:26:55 +01:00
Shams Asari
f314bab6c8
Replacing the two params of AbstractNodeService with single ServiceHubInternal
2016-09-13 11:52:31 +01:00
Rick Parker
53de66a23d
Merged in cor-344-persistence-jdbc-transactions (pull request #353 )
...
Add database transactions ready for more widespread persistence.
2016-09-13 10:48:48 +01:00
rick.parker
27cb1c3597
Introduce database transactions around message handling, web API and in protocols.
2016-09-13 10:47:50 +01:00
Andrius Dagys
422a766c1a
Minor persistent uniqueness provider tweak
2016-09-13 10:37:53 +01:00