Commit Graph

1644 Commits

Author SHA1 Message Date
Andras Slemmer
0c8f58b2ac client: Document models 2016-09-08 11:25:26 +01:00
Andras Slemmer
cb956e0979 client: Some refactor of Expect dsl, docs 2016-09-08 11:25:26 +01:00
Andras Slemmer
bdb22e1b74 client: Add javafx utilities and basic WalletMonitor models 2016-09-08 11:25:26 +01:00
Andras Slemmer
e36eef8935 Merged in aslemmer-node-client-mock (pull request #310)
Aslemmer node client mock
2016-09-08 11:24:22 +01:00
Andras Slemmer
a845cf6bdf client: Fix compile after rebase 2016-09-08 11:05:53 +01:00
Andras Slemmer
e97cbec755 client: Fix compile error after rebase 2016-09-08 10:59:19 +01:00
Andras Slemmer
8b6b9977ec client: ErrorOrs use nullable values and Exception 2016-09-08 10:59:19 +01:00
Andras Slemmer
69fecf94d1 client: Add varargs convenience sampleBernoulli 2016-09-08 10:59:19 +01:00
Andras Slemmer
6f8d92d368 client: Remove test-utils dep from compile 2016-09-08 10:59:19 +01:00
Andras Slemmer
2a7115318d client: Fix compile error after rebase 2016-09-08 10:59:19 +01:00
Andras Slemmer
598809559d client: Add Generator lib, and generators for client<->service events 2016-09-08 10:59:19 +01:00
Andras Slemmer
5a2d1e0979 Merged in aslemmer-fix-generated-exit-signing (pull request #342)
Aslemmer fix generated exit signing
2016-09-08 10:56:18 +01:00
Andras Slemmer
52d406a7a0 Merged in aslemmer-fix-tx-resolution-bug (pull request #341)
core: Fix tx resolution bug by topological sorting of downloaded transactions
2016-09-08 10:27:39 +01:00
Andras Slemmer
fcd477e332 core: Address topo sort style suggestions 2016-09-08 10:17:00 +01:00
Andras Slemmer
8e6198cf91 core: Make topological sort result deterministic 2016-09-08 10:15:59 +01:00
Andras Slemmer
5596ced5c3 core: Make topological sort more efficient 2016-09-08 10:04:18 +01:00
Andras Slemmer
d6f82637ad core: Fix tx resolution bug by topological sorting of downloaded transactions 2016-09-07 18:34:20 +01:00
Andras Slemmer
b86beab328 contracts: Fix generateExit signers 2016-09-07 18:31:30 +01:00
Andras Slemmer
b676e764fe Merge branch 'rnicoll-cash-exit' into aslemmer-fix-generated-exit-signing 2016-09-07 18:31:05 +01:00
Matthew Nesbit
287326b118 Merged in mnesbit-cleanup-simplify-node-config (pull request #339)
Simplify the FullNodeConfiguration now that an explicit identity for the NetworkMapService isn't a problem.
2016-09-07 16:13:55 +01:00
Matthew Nesbit
1f2a6d256e Simplify the FullNodeConfiguration now that an explicit identity for the NetworkMapService isn't a problem.
Use consistent if style

Don't include NetworkMapAddress in config if hosting locally
2016-09-07 15:35:50 +01:00
sofusmortensen
c7b164897b Universal: example parties renamed 2016-09-07 14:40:56 +02:00
sofusmortensen
1ceee48696 Universal: refactoring 2016-09-07 14:40:56 +02:00
Mike Hearn
7f08c80470 Merged in mike-tx-types-refactoring-september (pull request #334)
Small usability improvements to the core tx types API and add an additional check to NCP
2016-09-07 13:10:38 +02:00
Mike Hearn
8a9350fc93 Address review comments 2016-09-07 13:09:39 +02:00
Mike Hearn
fa4b503f81 Minor: rename UntrustworthyData.validate to UntrustworthyData.unwrap to better indicate its purpose and deprecate the old name. 2016-09-07 13:09:39 +02:00
Mike Hearn
a030a45019 Address review comments 2016-09-07 13:09:39 +02:00
Mike Hearn
49a0fd8fdd Improve the usability of SignedTransaction.verifySignatures taking into account how it is typically used. 2016-09-07 13:09:39 +02:00
Mike Hearn
2af6a70b9a Minor: rename BaseTransaction.signers to mustSign to make it a bit clearer what this field is. 2016-09-07 13:09:39 +02:00
Mike Hearn
1d272f89c2 Check the tx type in NotaryChangeProtocol and add a TODO to write a test for this once the protocol framework propagates exceptions. 2016-09-07 13:09:39 +02:00
Mike Hearn
423aff477a Add a short document that describes things to watch out for when writing Corda app code. 2016-09-07 13:09:39 +02:00
Mike Hearn
793e912324 State replacement protocols: preserve the UntrustworthyData<T> marker for longer to try and get subclass authors in the right frame of mind. 2016-09-07 13:09:39 +02:00
Matthew Nesbit
b89f86d013 Merged in mnesbit-cleanup-fake-networkmap-nodeinfo (pull request #336)
Get rid of the fake NodeInfo used to identify the NetworkMapService node.
2016-09-07 10:01:52 +01:00
Matthew Nesbit
2e1952a8a7 Get rid of the fake NodeInfo used to identify the NetworkMapService node.
Remove old comment
2016-09-06 18:25:12 +01:00
Rick Parker
c6fd467fb5 Merged in cor-344-network-map-persistence-prep (pull request #335)
Refactor network map service in preparation for persistence.
2016-09-06 18:22:13 +01:00
rick.parker
35274cd15c Refactor network map service in preparation for persistence.
Removed currently superfluous clock.
2016-09-06 18:21:06 +01:00
Mike Hearn
5a28b29a7e Merged in mike-tx-types-refactoring-september (pull request #332)
Refactor common fields from WireTransaction/LedgerTransaction out into BaseTransaction. Put some field invariants into the constructors.
2016-09-06 18:03:39 +02:00
Matthew Nesbit
7503ffc10a Merged in mnesbit-cleanup-correct-shutdown-exceptions (pull request #333)
Fix noisy exceptions in some tests during node stop.
2016-09-06 17:02:13 +01:00
Mike Hearn
e398b6e17b Refactor common fields from WireTransaction/LedgerTransaction out into BaseTransaction. Put some field invariants into the constructors. 2016-09-06 17:30:52 +02:00
Matthew Nesbit
58aa933307 My recent PR#325 contained a couple of mistakes. In particular on Unix, but not windows the shutdown hook unregister can give a non-fatal exception during some tests. Also, I got the point of client messaging service stop registration wrong, which was leading to the server shutting down teh client session ahead of the proper stop sequence. 2016-09-06 16:26:31 +01:00
Andras Slemmer
63e2ec32cf core: Suppress cast warnings 2016-09-06 15:18:41 +01:00
Andras Slemmer
0f29067680 contracts, core: Fix compiler errors 2016-09-06 14:30:03 +01:00
Andras Slemmer
9e993c5b86 Merged in aslemmer-generators-fixes (pull request #300)
Aslemmer generators fixes
2016-09-06 14:19:28 +01:00
Mike Hearn
85c112f80d Merged in mike-tx-types-refactoring-september (pull request #330)
Small cleanups to the transaction types
2016-09-06 15:18:31 +02:00
Mike Hearn
f3fa54ebef Minor: add field-level documentation to WireTransaction and TODO a few things that don't seem right. 2016-09-06 15:06:29 +02:00
Mike Hearn
8a19e6bbfb Minor: delete dead code in SignedTransaction.verifySignatures as it's not required. 2016-09-06 15:06:28 +02:00
Mike Hearn
210ea2ed95 Minor: remove the TODO about the notary signing last. It is not important at this level as the notary signature does not cover the other signatures. Also a small formatting change to the withAdditionalSignatures methods. 2016-09-06 15:06:28 +02:00
Mike Hearn
99f8477bf1 Minor: move code from TransactionTools.kt into the respective classes, and add some @Throws annotations that were missing (matters for java users) 2016-09-06 15:06:28 +02:00
Andras Slemmer
618f46cba4 node: Fix JsonSupportTest imports 2016-09-06 13:59:01 +01:00
Andras Slemmer
bd59022e8f Revert "core, contracts: Rewrite Generators to use functions instead of classes"
This reverts commit deddcc91c7f6ad436c44daf69b4cb81a406cb28e.
2016-09-06 13:54:59 +01:00