Commit Graph

3114 Commits

Author SHA1 Message Date
Mike Hearn
a058766298 Merge pull request #221 from gary-rowe/master
Fix incorrect port numbers in documentation for node explorer
2017-02-08 16:18:53 +01:00
Chris Rankin
d3cdb2af67 Force all chosen port numbers to be different. 2017-02-08 14:24:13 +00:00
Chris Rankin
f95b743426 Only allow the first node to run notary services. And validate port numbers more strongly. 2017-02-08 14:04:23 +00:00
Chris Rankin
c734fbf8bb Disable Node Explorer and Database Viewer buttons until the node has launched and is responding to RPC. 2017-02-08 12:16:35 +00:00
Joel Dudley
b3e26b2022 Changes docs to point to cordapp-tutorial instead of cordapp-template as appropriate. 2017-02-08 10:34:54 +00:00
Chris Rankin
37aa486bd7 Ensure that Node Explorer can write into its working directory. 2017-02-07 20:18:56 +00:00
Chris Rankin
006fd98a51 Ensure a DemoBench installation is relocatable. 2017-02-07 19:38:25 +00:00
Andrius Dagys
c3a9d41998 Update version to 0.9-SNAPSHOT 2017-02-07 17:18:21 +00:00
Andrius Dagys
f1025e999b Update notice on the docs index page to point to release M8
Regenerate docs
2017-02-07 17:18:21 +00:00
Andrius Dagys
8e6baa209f Release notes for M8 (#213) 2017-02-07 17:18:21 +00:00
Andrius Dagys
bbcaf5d98c Demo bug fixes (#217)
* Add webAddress back to NMS as it shifts the port allocation for all subsequent nodes and causes all demos to break.

* Attachment demo: fix node names

* Notary demo: fix certificate paths & ports

* IRS demo: role decider fixed to allocate roles properly. Previously it used to pick current node as the Fixer, causing both nodes to initiate the trade flow, resulting in double spend exceptions..
2017-02-07 17:18:21 +00:00
Andrius Dagys
e82e1e3d0d Update version to 0.8 2017-02-07 17:18:21 +00:00
Clinton
dcd8fe915f Merge pull request #218 from corda/clint-webserverlogcleanup
Cleaned up logging in the webdriver...
2017-02-07 16:00:16 +00:00
Chris Rankin
d57f7cd557 Simplify the configuration object. 2017-02-07 10:48:01 +00:00
Chris Rankin
7ea2dbdd77 Better usage of Paths vs File API. 2017-02-06 18:13:58 +00:00
Chris Rankin
455cdba5d9 Remove superfluous lamba parameter names. 2017-02-06 17:44:12 +00:00
Chris Rankin
ba5f4add18 Remove ".exe" from Java executable path, because Windows doesn't need it. 2017-02-06 17:10:52 +00:00
Gary Rowe
e5d1b26a97 Fix the port numbers in the documentation to match actual values (build) 2017-02-06 16:23:11 +00:00
Gary Rowe
b1c5de1112 Fix the port numbers in the documentation to match actual values 2017-02-06 16:22:15 +00:00
Patrick Kuo
f9a66622a4 Merged in pat-rename-netpermission-to-doorman (pull request #17)
Rename netpermission to doorman

Approved-by: Shams Asari
2017-02-06 16:21:33 +00:00
Shams Asari
657cfa5d96 FlowException can be thrown from within UntrustworthyData.unwrap for better Java interop, and more checked exception annotations relating to flows 2017-02-06 16:00:52 +00:00
Ross Nicoll
1e5dd1843d Update party match in vault service
Replaces the legacy name-only comparison in the vault service with a party comparison. `Party` now
has an equals method that only uses the owning key, and therefore this functions as expected.
2017-02-06 15:29:11 +00:00
Ross Nicoll
f5c9e4ed59 Remove use of names from contracts
Remove dependency on name data that cash/obligation state objects will not have access to party details (such as name)
once privacy is correctly enforced.
2017-02-06 15:29:11 +00:00
Chris Rankin
4e7c12453c More changes from review. 2017-02-06 15:25:28 +00:00
Patrick Kuo
6ff8d73402 Rename netpermission to doorman 2017-02-06 14:56:00 +00:00
Chris Rankin
62d911a478 First batch of code review changes. 2017-02-06 14:54:48 +00:00
Ross Nicoll
9910ce01a3 Switch to using CompositeKey inside network map cache
Switch to using CompositeKey inside network map cache, so that look up of node info from keys
can be done in a more sensible manner.
2017-02-06 14:09:31 +00:00
Mike Hearn
2f378f0e15 Minor: suppress deprecation warning in CordaRPCOpsImpl 2017-02-06 12:29:34 +01:00
Mike Hearn
879ee9d897 Work around change in how c'tors with optional arguments are handled via RPC in FixingRoleDecider. 2017-02-06 12:29:34 +01:00
Mike Hearn
5ad10b05fb Make FlowLogicRef able to handle multiple constructors more elegantly (e.g. when invoking FinalityFlow directly via RPC). 2017-02-06 12:29:34 +01:00
Mike Hearn
f8292f8148 Print out exceptions in the attachment demo test. 2017-02-06 12:29:34 +01:00
Mike Hearn
cc20a10225 Improve the flow commit API.
Make FinalityFlow do more, and be used more consistently.

Add a new waitForLedgerCommit API that is intended to be used at the end of flows, or at any other point where a flow wants to wait for a transaction to finalise (but the finalisation flow is being done by someone else).

Update the docs a bit.
2017-02-06 12:29:34 +01:00
Mike Hearn
f8c1996a48 Merge pull request #198 from corda/joel-tshooting-docs
Addresses RGB feedback on troubleshooting page.
2017-02-06 11:39:08 +01:00
Chris Rankin
297a7e6208 Add SLF4J binding for Log4J 2.x 2017-02-04 22:36:42 +00:00
Chris Rankin
8b5fe3bbf0 Fix DemoBench distribution target. 2017-02-04 16:23:51 +00:00
Chris Rankin
a0749e29ef Initial inclusion of Corda and BankOfCorda JARs in distribution. 2017-02-03 17:30:30 +00:00
kasiastreich
45d8e0f76d Tearoff fixes (#78)
* Move merkle building extension functions on wire tx to WireTransaction class.

* Add timestamp, notary, transaction type and signers to wire transaction id calculation.

* Change construction of MerkleTree from duplicating last node on a given level to padding leaves' list with zero hash to size of the nearest power of 2 - so we always have a full binary tree.
The problem was that it was possible to construct 2 different transactions with the same ids. Trick worked for txs having number of leaves that were not power of 2.

* Update tear-offs documentation and diagrams to reflect changes in construction of Merkle trees - padding with zero hashes and including all WireTransaction fields in id computation.

* Change in filtering API of WireTransaction for partial Merkle trees calculation.
Instead of many filtering functions over a transaction only one needs to be provided.
Additional change to check and verification of FilteredTransaction.

* IRS demo change. Make filtering function a protected method of RatesFixFlow class.
Comment on situation when capturing too much scope and connected problems with checkpointing.
Change oracle and tear-offs documentation.
2017-02-03 14:02:51 +00:00
Clinton Alexander
0ae681de76 Cleaned up logging in the webdriver to remove log that fails to display correctly on Windows. 2017-02-03 14:00:49 +00:00
Chris Rankin
6985ade241 Merge branch 'master' into demobench 2017-02-03 12:04:35 +00:00
Chris Rankin
0c1a6aad6b Include fix for NPEs with RPC exceptions. 2017-02-03 11:46:54 +00:00
Shams Asari
b86c80691e FlowException serialised over RPC (subtypes are flattened), and improvement to startFlow RPC for correct exception handling 2017-02-03 11:21:10 +00:00
Chris Rankin
534e8a01a2 Grant permissions to the Node's user, and install BanfOfCorda plugin for cash issuers. 2017-02-03 10:04:44 +00:00
Andrius Dagys
56dbf1e844 Prevent node from starting across upgrades (until we support it better) (#199)
* Prevent node from starting across upgrades (until we support it better).

On first run a version file is created in the node dir, and on subsequent runs the node version is matched against it.

* Move version check from caplet to node.
2017-02-02 18:21:00 +00:00
chalkido
087570e74d toStringWithSuffix decimal mark unit-test issue on non UK/US Locale (#209)
Make use of default Locale to temporarily bypass unit-testing of toStringWithSuffix failing due to different decimal marks on non anglo saxon Locales.
2017-02-02 18:06:48 +00:00
Ross Nicoll
bc9407d2c8 Correct network map cache tests
InMemoryNetworkMapCacheTest was not actually asserting that an expected exception was thrown, which
meant when earlier changes to the service changed the operation it wasn't caught. The service now
overwrites previous node if a new matching node is added, and this updates the test to follow that
design.
2017-02-02 16:01:10 +00:00
Chris Rankin
c7281a077f Ensure demobench is built after explorer:capsule. 2017-02-02 14:20:15 +00:00
Chris Rankin
8792e5e268 Merge branch 'master' into demobench 2017-02-02 14:16:20 +00:00
Ross Nicoll
3499e06e27 Correct typo - "countryparty" to "counterparty" 2017-02-02 14:08:38 +00:00
Chris Rankin
c7a045c82a Merge remote-tracking branch 'corda-public/master' 2017-02-02 14:00:32 +00:00
Ross Nicoll
2f9af7d7dc Revert Party.Full in preference for a less invasive change 2017-02-02 13:47:32 +00:00