Commit Graph

6970 Commits

Author SHA1 Message Date
Wawrzyniec Niewodniczański
df5a8005a0 Merge branch 'wn-redo-node-conf-docs' of github.com:corda/corda into wn-redo-node-conf-docs 2019-01-14 16:13:17 +00:00
Wawrzyniec Niewodniczański
27d29c731f More internal links 2019-01-14 16:12:51 +00:00
Wawrzyniec 'Wawrzek' Niewodniczanski
2f18ce9440
Merge branch 'master' into wn-redo-node-conf-docs 2019-01-14 15:31:32 +00:00
Wawrzyniec Niewodniczański
75ebc2b26e Address few more comments 2019-01-14 15:28:36 +00:00
Wawrzyniec Niewodniczański
1b41c517fc Apply further changes suggested in review 2019-01-14 15:19:09 +00:00
josecoll
b505f770c1
Merge corda private design documents (#4572)
* CORDA-2119 Design doc for contract versioning

* CORDA-2119 formatting

* CORDA-2119 formatting

* CORDA-2119 add missing context

* CORDA-2120 migration to the signature constraint

* CORDA-2120 Address review comments

* CORDA-2120 Address review comments

* Better introduction

* small changes

* CORDA-2119 address code review comments

* CORDA-2119 address code review comments

* Address PR comments

* Address PR comments
2019-01-14 14:59:43 +00:00
Shams Asari
3b8347e150
Fixed AttachmentLoadingTests (#4565)
There were two issues:
* The original "sealing violation: can't seal package net.corda.nodeapi" issue was due to the isolated CorDapp containing some code in the net.corda.nodeapi namespace. This has been moved to the isolated namespace.
* The test was not correctly creating the second transaction with the dummy command
2019-01-14 14:32:14 +00:00
Shams Asari
1bbcb8722e
CORDA-2418: Fixed inability to use TestCordapp under gradle in Windows if referring to self cordapp (#4562)
The gradle process that runs the tests keeps an exclusive hold on built jars in Windows, which means if a test wants to get hold of the CorDapp, and it's requested from the same module, it will fail. Now instead of deleting the "libs" dir  we just use the latest created jar.
2019-01-14 11:33:52 +00:00
Wawrzyniec Niewodniczański
a2d4df1918 Another file adjusted 2019-01-14 10:55:39 +00:00
Wawrzyniec Niewodniczański
d55c527b3b More fixes 2019-01-14 10:07:51 +00:00
Wawrzyniec Niewodniczański
b4b1d7d020 Move CRL to Corda Network
- not sure if that the best place. CRL is is Corda Network specific, but
  current text sound the Corda Network specific.
2019-01-14 09:56:13 +00:00
Katelyn Baker
8e4dbc7060 RELEASE - Post V4 branch cut update platform version to 5 2019-01-13 20:34:22 +00:00
Dimos Raptis
5b34020e59 [CORDA-2390] - Add whitelists and custom serializers from cordapps to serialization … (#4551)
* Add whitelists and custom serializers from cordapps to serialization context

* Remove changes in TransactionBuilder, add caching

* Add whitelists and custom serializers from cordapps to serialization context

* Remove changes in TransactionBuilder, add caching

* Address comments

* Increase node memory for SIMM integration test

* Cache only serialization context

* Increase integ test timeout

* Fix API breakage

* Increase max heap size for web server integ test

* Move classloading utils from separate module to core.internal

* Adjust heap size for more integ tests

* Increase time window for IRS demo transactions

* Fix determinator

* Add parameter in core-deterministic

* Stub out class-loading method for DJVM
2019-01-13 20:15:05 +00:00
JamesHR3
36cd9b9791
[CORDA-2402] Ensure out of order transactions result in correct vault state (#4559)
* Pass states to record through to transaction resolution

* Add a test case

* Add comment indicating why states are always added in tx resolution

* Update observer node documentation
2019-01-13 15:03:53 +00:00
szymonsztuka
7a4b6b3e44
CORDA-2405 Update versions of whitelisted attachments (#4549)
The version of contract attachments that are whitelisted should be read from NetworkParameters.whitelistedContractImplementations.
It use the lattes network map from db with the highest epoch.
2019-01-13 11:38:19 +00:00
Roger Willis
084b3a1a1d
CORDA-2426 Fixed bug in state pointer search. (#4561)
* Fixed bug in state pointer search and added tests.

* Blacklisted problematic package.

* Addressed Shams' comments.

* Addressed round two of comments.

* Fixed another bug whereby the DFS gets stuck in an infinite loop.
2019-01-13 08:58:52 +00:00
Michele Sollecito
5c5407fbed Avoid TransactionBuilder behaviour change for v3 or below. (#4555) 2019-01-12 17:56:50 +00:00
Shams Asari
caad18f6db
CORDA-2347: Added backwards compatibility to SwapIdentitiesFlow (#4548)
The API has been reverted to be completely ABI compatible with V3, and the small changes that were made to the wire format in https://github.com/corda/corda/pull/4260 have also been reverted.
2019-01-12 14:23:20 +00:00
josecoll
8785bc1b84
Update Corda gradle plugins to 4.0.38 (#4558)
* Update Corda gradle plugins.

* Update Corda gradle plugins.

* Update upgrade notes.

* Minor clarification.
2019-01-12 14:03:05 +00:00
Shams Asari
6f14a9f0b9
CORDA-2406: FinalityFlow can support mix of participants using the new and old APIs (#4532)
Otherwise it's impossible to finalise a transaction and the participants are a mix of those using the new API and those using the old.
2019-01-12 12:01:23 +00:00
JamesHR3
0832587096
[CORDA-1897] Improve exception handling on startup (#4452)
* Select a console logger based on logging level

* Ensure consistent formatting

* Ensure stack traces only printed when console logging enabled
2019-01-11 17:40:32 +00:00
Florian Friemel
558d2fd45c
[CORDA-2403] Fix API breakage: PermissionException and CordappImpl constructor (#4554)
* Undo renaming of c'tor parameter (API break).
* Re-introduce default param in CordappImpl c'tor.
* Make 'msg' a property of PermissionException to make it serializable.
2019-01-11 17:39:22 +00:00
Wawrzyniec Niewodniczański
d4178eecca Adjust titles in docker
- capitalization should be better
2019-01-11 16:06:09 +00:00
Andrius Dagys
4004e9473d Exclude BFT smart tests from the build (#4557) 2019-01-11 16:03:54 +00:00
Shams Asari
837d2d7106
Updated docs on the need to load confidential-identities CorDapp separately (#4547)
Also, updated the trader and BoC demos to include confidential-identities jar.
2019-01-11 13:51:23 +00:00
josecoll
e32ead0548
CORDA-2413 Improve exception handling and recovery for untrusted contract attachments (#4543)
* Improve exception handling and recovery for untrusted contract attachments.

* Fix broken JUnit.

* Fixed incorrect Exception description.

* Additional clarification on flow processing.

* Reasoning and future deterministic JVM clarification.

* Note::

* UntrustedAttachmentException.
2019-01-11 13:23:51 +00:00
JamesHR3
5e32e718ae
[CORDA-2326] Ensure right step is rendered by AnsiProgressRenderer (#4514)
* Add test to reproduce problem

* Remap step indices when the step tree changes
2019-01-11 09:53:58 +00:00
szymonsztuka
7bbe4668d6
CORDA-2388 Deprecate CommandWithParties.signingParties (#4520)
* Deprecate `CommandWithParties.signingParties` as it should not be used in contract verification code as it is non-deterministic.
* Remove the remaining usage in contract verification code - replaced by signers collection.
2019-01-11 09:41:16 +00:00
JamesHR3
79601681da
[CORDA-2385] Ensure codesets are included in documentation (#4546)
* Add headers to documentation pages using codesets that are missing the relevant includes
2019-01-11 09:22:45 +00:00
Wawrzyniec Niewodniczański
819405bd74 Fix one important block 2019-01-10 15:49:06 +00:00
Wawrzyniec Niewodniczański
0624e4eb1d Adjust 'important' to be bold 2019-01-10 15:27:09 +00:00
josecoll
575a68b028
Re-enable signing of finance contracts jar. (#4545) 2019-01-10 14:56:26 +00:00
szymonsztuka
9b8fda0d6d
CORDA-2375 Ensure node has unique attachment contract classname/version from signed JARs (#4535)
Corda Node ensures a given contract class and version can be sourced from only one signed and trusted Attachment (JAR).
An attempt to import a signed JAR as a trusted uploader (or promote to be trusted) with a class and version already present in the other trusted Attachment will raise DuplicateContractClassException.

Minor fixes to Hibernate Attachment Query parser (original query to select attachment without signers would always return no attachments)
2019-01-10 14:13:00 +00:00
Shams Asari
e87a8ed496
Added CorDapp metdata to confidential-identities and cleaned-up dependencies (#4540) 2019-01-10 12:31:47 +00:00
Wawrzyniec Niewodniczański
bf4d7b1848 More 'not define'
- my Vim misbehaved and I had to run substitute again
2019-01-10 11:16:35 +00:00
Wawrzyniec Niewodniczański
3a742ca04a Fix 'not define' 2019-01-10 10:51:01 +00:00
Wawrzyniec Niewodniczański
4e0a54faea Further minor changes 2019-01-10 10:10:10 +00:00
Christian Sailer
b5fc095288
Use FlowTimeOut exception rather than SQL deadlock in unit tests to avoid hitting the exponential back-off. (#4527) 2019-01-10 09:59:21 +00:00
Tudor Malene
60388a7a45
Add additional transactionality check. (#4530)
* Add additional transactionality check.

* Fix logic
2019-01-09 21:13:06 +00:00
Stefano Franz
82010fbb3e fix issue with smoketest failing due to missing confidential-identities 2019-01-09 17:25:01 +00:00
James Carlyle
8acc2f6d36
Merge pull request #4465 from corda/james-update-cn-docs
Updated introduction to Corda Network, with some content removed.
2019-01-09 16:23:33 +00:00
Nick Rogers
d97fac0eb7
Merge pull request #4529 from corda/FinalityFlowMigrationDocUpdate
Finality flow migration doc update
2019-01-09 10:58:01 -05:00
Andrius Dagys
fa025dedeb
ENT-2822: Move experimental raft and bft-smart notaries back into node, fix reference state support (#4509)
Move Raft and BFT-Smart notaries back into node to preserve backwards compatibility.

* Allow overriding full node config when using internal mock network parameters.

* Make BFT-Smart notary start up in prod mode as well

* Move raft & bftsmart notaries to net.corda.notary.experimental package

* Make sure Raft notary handles reference state edge cases correctly.

* Make sure BFT-Smart notary handles reference state edge cases correctly.

* Include notary schemas in node internal schemas

* Undo Raft notary table schema changes to maintain compatibility.
2019-01-09 15:52:42 +00:00
josecoll
4530a5e982
CORDA-2395 Add cordapp code signing dev key to production blacklist. (#4519)
* Add cordapp code signing dev key to production blacklist.

* Remove code used to generate the actual PK hash (it is now attached to the JIRA story)

* Remove wiki page reference.

* Remove the non redundant cash transfer.
2019-01-09 15:41:24 +00:00
Michele Sollecito
dd6a007ff2
[CORDA-2408]: Formatting on Flow Overriding page wrong - code not rendering correctly (fixed). (#4533) 2019-01-09 14:14:08 +00:00
rogersanick
285c93e785 Fixed grammar and spelling 2019-01-08 16:37:14 -05:00
rogersanick
a78278927f Updating FinalityFlow documentation with example code for use with SignTransactionFlow in flow responder. 2019-01-08 16:29:59 -05:00
Wawrzyniec Niewodniczański
628c336abd First round of comments 2019-01-08 16:44:41 +00:00
Wawrzyniec Niewodniczański
6fc80604bf Move docker in menu 2019-01-08 15:52:24 +00:00
Wawrzyniec Niewodniczański
e9f00204f9 Small fixes 2019-01-08 15:28:21 +00:00