szymonsztuka
e56d84fd5d
Merge OS -> ENT
2018-10-21 21:57:37 +01:00
Roger Willis
dd60ae27f2
FungibleState and design document for tokens ( #4049 )
2018-10-20 10:52:24 +01:00
Konstantinos Chalkias
72cab90577
[CORDA-738] Ensure encumbrances are bi-directional ( #4089 )
2018-10-19 18:34:32 +01:00
Tudor Malene
86bc0d9606
CORDA-1947 added packageOwnership parameter
...
CORDA-1947 add signers field to DbAttachment. Add check when importing attachments
CORDA-1947 add signers field to DbAttachment. Add check when importing attachments
CORDA-1947 add tests
CORDA-1947 fix comment
CORDA-1947 Fix test
CORDA-1947 fix serialiser
CORDA-1947 fix tests
CORDA-1947 fix tests
CORDA-1947 fix serialiser
CORDA-1947 Address code review changes
CORDA-1947 Address code review changes
CORDA-1947 Revert test fixes
CORDA-1947 address code review comments
CORDA-1947 move verification logic to LedgerTransaction.verify
CORDA-1947 fix test
CORDA-1947 fix tests
CORDA-1947 fix tests
CORDA-1947 address code review comments
CORDA-1947 address code review comments
2018-10-19 12:12:34 +01:00
Thomas Schroeter
f685df46b5
[ENT-1774] FlowAsyncOperation deduplication ID ( #4068 )
2018-10-19 11:40:59 +01:00
rick.parker
b571e16d0d
Merge remote-tracking branch 'remotes/open/master' into parkri-os-merge-20181018-1
2018-10-19 08:02:59 +01:00
Rick Parker
55731ef816
ENT-2431 Tidy up buildNamed and CacheFactory
2018-10-18 10:38:43 +01:00
Stefano Franz
5ca26b1345
Merge remote-tracking branch 'open/master' into stefano-merge-201810171215
...
# Conflicts:
# docs/source/node-database.rst
2018-10-17 13:49:00 +01:00
Stefano Franz
456c9a85e1
remove requirement to override default progress tracker for interacti… ( #3985 )
...
* remove requirement to override default progress tracker for interactive shell - this is no longer needed
* fix failing tests
2018-10-17 11:27:14 +01:00
Andrius Dagys
715c38766d
CORDA-2109: Fix a bug that prevents consecutive multiparty contract upgrades
...
The contract upgrade handler assumes that the state to be upgraded is
created by a WireTransaction. This breaks the upgrade process if it was
in fact issued by a ContractUpgradeWireTransactions or a NotaryChangeWireTransaction.
2018-10-17 10:20:27 +01:00
Konstantinos Chalkias
68d736dd81
Doorman can sign TLS certs directly. ( #4078 )
2018-10-16 11:16:28 +01:00
Shams Asari
958f5dd65f
Merge remote-tracking branch 'open/master' into os-merge-6d4bdb8
...
# Conflicts:
# docs/source/changelog.rst
# node-api/build.gradle
# node/src/integration-test/kotlin/net/corda/node/flows/AsymmetricCorDappsTests.kt
# node/src/integration-test/kotlin/net/corda/node/flows/FlowCheckpointVersionNodeStartupCheckTest.kt
# node/src/integration-test/kotlin/net/corda/node/modes/draining/FlowsDrainingModeContentionTest.kt
# node/src/integration-test/kotlin/net/corda/node/services/AttachmentLoadingTests.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/DriverDSLImpl.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/TestCordappDirectories.kt
2018-10-15 12:34:29 +01:00
Shams Asari
6d4bdb84b9
Code cleanup, mostly shortening long lines ( #4070 )
2018-10-15 12:01:15 +01:00
Andrius Dagys
3981a88301
Merge branch 'open/master' into andrius/merge-10-15
2018-10-15 10:50:12 +01:00
szymonsztuka
b769ad80bd
CORDA-195 When collecting JAR Signatures allow META-INF/*.EC block signature to follow jarsinger tool capabilities ( #4065 )
...
jarsigner can produce META-INF/*.EC block signature for EC algorithm (https://docs.oracle.com/javase/8/docs/technotes/tools/windows/jarsigner.html ) even if this is contrary to JAR File spec (https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html ). Allow block signature be also in *.EC file.
2018-10-12 16:54:39 +01:00
Thomas Schroeter
70e24b79fb
Thomas/ent 2510 single column index ( #1431 )
2018-10-12 15:11:10 +01:00
Andrius Dagys
9b5b4b62b1
Merge pull request #1473 from corda/andrius/merge-10-10
...
Andrius/merge 10 10
2018-10-10 17:35:16 +01:00
Anthony Keenan
09c1e6c079
Align ByteArrays.kt file with O/S to reduce merge conflicts ( #1472 )
2018-10-10 12:52:09 +02:00
Andrius Dagys
b7d59785e7
Merge remote-tracking branch 'open/master' into andrius/merge-10-10
2018-10-10 10:45:21 +01:00
Konstantinos Chalkias
554b1fa371
[CORDA-2084] EdDSA, SPHINCS-256 and RSA PKCS#1 are deterministic, no RNG required. ( #4051 )
2018-10-10 10:35:18 +01:00
Andrius Dagys
9ebeac1ad8
CORDA-535: Extract notary implementations into CorDapps ( #3978 )
...
* Move Raft and BFT notaries into separate modules
* Move schemas
* Fix tests & demos
* Modified logic for creating notary services:
Added a new field 'className' to the notary configuration. The node now
loads the specified implementation via reflection. The default className
value points to the simple notary implementation for backwards compatibility.
Relevant schemas are loaded in a similar fashion.
For backwards compatibility purposes the default SimpleNotaryService will
remain built-in to node, but its cordapp will be generated on startup – so
the loading of notary services is streamlined.
* Move test namedcache factory to test utils
2018-10-10 10:04:22 +01:00
Anthony Keenan
a6fd2ba903
Merge remote-tracking branch 'open/master' into anthonyk-os-merge-20181009
...
# Conflicts:
# core/src/main/kotlin/net/corda/core/utilities/ByteArrays.kt
# node/src/main/kotlin/net/corda/node/serialization/kryo/KryoCheckpointSerializer.kt
2018-10-09 16:15:59 +01:00
Dominic Fox
b6f2532ce6
Corda 1922 serialize states with calculated values ( #3938 )
...
* Introduce SerializeForCarpenter annotation
* Apply SerializableComputedProperty annotation to Cash.exitKeys, fix bugs
* info -> trace
* Remove annotation from FungibleAsset, as we do not know whether all implementing classes will provide the property as a calculated value
* Remove redundant import
* Explicit lambda params
* Restore explicit import for Enum valueOf
* Moving and rescoping
* More meaningful error message
* Add java test and documentation
* Fix accidentally broken unit test
* Ignore superclass annotation if property not calculated in implementing class
* Exclude calculated properties from Jackson serialisation
* Fix broken test
2018-10-09 14:54:31 +01:00
Konstantinos Chalkias
5d84640d1f
Add missing validation in the OpaqueBytesSubSequence.init ( #4047 )
2018-10-09 09:48:54 +01:00
Dominic Fox
d9ea19855f
CORDA-2006: Simplify checkpoint serialization ( #4042 )
...
* CORDA-2006: Simplify checkpoint serialization
* Supply rule to KryoTest
2018-10-08 13:39:28 +01:00
Chris Rankin
c88d3d8c1b
CORDA-2030: Resolve build warnings about kotlin-stdlib-jre8 in unit tests too. ( #4043 )
2018-10-08 12:49:05 +01:00
Chris Rankin
4cb31f4c8b
Merge commit '39434dcbecdd2cd656e40622530e84d02443b8e2' into chrisr3-os-merge
2018-10-08 10:42:55 +01:00
Shams Asari
39434dcbec
Assorted set of clean ups ( #4039 )
2018-10-05 18:05:10 +01:00
Konstantinos Chalkias
0621efe7c6
Do not remove entropyToKeyPair from DJVM (it is deterministic anyway and we might use it in tests) ( #4036 )
2018-10-05 14:11:56 +01:00
Konstantinos Chalkias
fa4c54a080
[CORDA-2063] Ensure signatures and BC operations always use newSecureRandom ( #4020 )
...
* special handling for Sphincs due a BC implementation issue
* delete all sign operations from DJVM and stub out BC's default RNG
* copy Crypto signing functions to deterministic.crypto.CryptoSignUtils as they are required for testing transaction signatures.
2018-10-05 12:01:16 +01:00
Shams Asari
bffac331a3
Moved the PLATFORM_VERSION constant to core and added some missing usages ( #4026 )
2018-10-05 09:28:00 +01:00
Shams Asari
85d2a85e85
Safe parsing of min platform version and target version from CorDapp MANIFEST files ( #4031 )
...
Also includes some cleanup
2018-10-04 16:00:07 +01:00
josecoll
ec084cf8ef
Merge remote-tracking branch 'open/master' into colljos-merge-031018
2018-10-03 15:07:48 +01:00
josecoll
7edc18f85d
CORDA-1997 Added constraint type information to vault states table. ( #3975 )
...
* Added constraint type information to vault states table.
* Added Vault Query criteria support for constraint data.
* Added documentation and changelog entry.
* Added missing @CordaSerializable.
* Fix minor bug in test setup and parsing code.
* Use binary encoding data types instead of serialize/deserialize.
* Optimized storage of constraints data.
Additional assertions on Vault Query constraint data contents (to validate encoding/decoding).
Tested with CompositeKey containing 10 keys.
* Addressing PR review feedback.
* Query by constraints type and data.
* Revert back accidentally removed code for contractStateType filtering.
* Incorporating final PR review feedback. Use @JvmOverloads on constructor.
* Make sure constraintInfo is class evolution friendly.
2018-10-03 13:41:25 +01:00
Michele Sollecito
a26e20a130
Merge remote-tracking branch 'remotes/open/master' into merges/sollecitom-03-10-2018-10-22
...
# Conflicts:
# docs/source/index.rst
2018-10-03 10:25:51 +01:00
tudor.malene@gmail.com
40825fef99
Merge branch 'tudor_merge_os_master' into feature/ENT-2222/constraints_propagation_private
...
# Conflicts:
# node/src/main/kotlin/net/corda/node/internal/cordapp/JarScanningCordappLoader.kt
# testing/test-utils/src/main/kotlin/net/corda/testing/internal/MockCordappProvider.kt
2018-10-02 16:10:19 +01:00
tudor.malene@gmail.com
063efe0c6d
Merge branch 'master' into tudor_merge_os_master
2018-10-02 15:50:20 +01:00
Florian Friemel
df4936c1fa
[CORDA-1926] Make CordappInfoResolver.withCordappInfoResolution @VisibleForTesting. ( #4011 )
...
Make CordappInfoResolver.withCordappInfoResolution and CordappInfoResolver.clear @VisibleForTesting.
2018-10-02 15:48:22 +01:00
Viktor Kolomeyko
63ae29d153
OS->Ent merge
2018-10-01 14:45:01 +01:00
Rick Parker
8bbc0d9f43
ENT-2431 Add caching metrics, consolidate tracing config and better default cache sizes ( #1418 )
2018-10-01 14:28:03 +01:00
Tudor Malene
f96a59932c
ENT-2222 Constraints propagation
...
ENT-2222 Fix tests
ENT-2222 Fix tests
ENT-2222 Add ledger transaction verification logic
ENT-2222 Fixed IRS test
ENT-2222 Fixed IRS test
ENT-2222 Fixed unit test
ENT-2222 Better kdocs
ENT-2222 Support for reference states
ENT-2222 Fix support for reference states
ENT-2222 Revert wrong change
ENT-2222 Fix Kdoc
ENT-2222 Fix Kdoc
ENT-2222 Better docs
ENT-2222 Address code review comments
ENT-2222 Fix test
ENT-2222 Fix rebase
ENT-2222 Add documentation around constraint propagation
ENT-2222 Add tests for contract propagation
ENT-2222 Add Signature Constraints propagation - first draft
ENT-2222 fix tests
ENT-2222 more tests
ENT-2222 unseal the TransactionVerificationException
ENT-2222 unseal the TransactionVerificationException
ENT-2222 more docs
ENT-2222 address code review comments
ENT-2222 address code review comments
ENT-2222 re-implement transition logic
ENT-2222 better comments and checks
ENT-2222 Fix tests
ENT-2222 merge fixes
2018-09-28 13:38:35 +01:00
Florian Friemel
842eac5c43
[CORDA-1926] Implement target version and min platform version ( #3899 )
...
https://r3-cev.atlassian.net/browse/CORDA-1926
2018-09-28 09:46:06 +01:00
Konstantinos Chalkias
e92ad538cf
CORDA-2031 put "AlgorithmParameters.SHA256WITHECDSA" to BC ( #3997 )
2018-09-27 15:21:12 +01:00
rick.parker
5469e41458
Merge remote-tracking branch 'remotes/open/master' into parkri-os-merge-20180924-1
...
# Conflicts:
# core/src/main/kotlin/net/corda/core/internal/NamedCache.kt
# docs/source/index.rst
# node/src/integration-test/kotlin/net/corda/node/services/messaging/ArtemisMessagingTest.kt
# node/src/integration-test/kotlin/net/corda/node/services/network/PersistentNetworkMapCacheTest.kt
# node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt
# node/src/main/kotlin/net/corda/node/services/messaging/P2PMessageDeduplicator.kt
# node/src/main/kotlin/net/corda/node/services/messaging/P2PMessagingClient.kt
# node/src/main/kotlin/net/corda/node/services/persistence/DBTransactionStorage.kt
2018-09-24 10:13:01 +01:00
Rick Parker
965f9ce528
ENT-2431 Lay foundations for caching metrics ( #3955 )
2018-09-24 09:55:56 +01:00
szymonsztuka
dc25fc28b7
Merge remote-tracking branch 'remotes/open/master' into corda/os-merge-20-09-2018
...
# Conflicts:
# core-deterministic/build.gradle
# core/src/test/kotlin/net/corda/core/utilities/KotlinUtilsTest.kt
# node/src/integration-test/kotlin/net/corda/node/BootTests.kt
# node/src/integration-test/kotlin/net/corda/node/flows/AsymmetricCorDappsTests.kt
# node/src/integration-test/kotlin/net/corda/node/modes/draining/P2PFlowsDrainingModeTest.kt
# node/src/main/kotlin/net/corda/node/internal/CordaRPCOpsImpl.kt
# node/src/main/kotlin/net/corda/node/serialization/kryo/Kryo.kt
# node/src/main/kotlin/net/corda/node/serialization/kryo/KryoSerializationScheme.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/InternalTestUtils.kt
2018-09-20 16:39:34 +01:00
Roger Willis
c4d86b1b26
CORDA-1999 Changed isRelevant to relevancyStatus. ( #3966 )
...
* Changed isRelevant to relevancyStatus.
* Fix cash selection from breaking.
* Fixed non-backwards compatible API change.
* Updated schema migration changelog.
* Updated comment.
2018-09-19 15:50:39 +01:00
Michal Kit
492c25fedd
CORDA-1995 removing DigitalSignatureWithCertPath ( #3953 )
...
* CORDA-1995 removing DigitalSignatureWithCertPath
* Fixing unit tests
* Addressing review comments
2018-09-19 14:30:21 +01:00
Dominic Fox
98c92ef16f
CORDA-1391: Separate out Checkpoint serialization ( #3922 )
...
* Separate out Checkpoint serialization
* Update kdocs
* Rename checkpoint serialization extension methods
* Fix bungled rename
* Limit API changes
* Simplify CheckpointSerializationFactory
* Add CheckpointSerializationScheme to API checker
* CheckpointSerializationScheme should not be implemented
* Move checkpoint serialisation to internal package
* Remove CheckpointSerializationScheme from api-current
* Quarantine internal classes
* Remove checkpoint context from public API
* Remove checkpoint context from public API
* Fix test failures
* Completely decouple SerializationTestHelpers and CheckpointSerializationTestHelpers
* Remove CHECKPOINT use case
* Remove stray reference to checkpoint use case
* Fix broken test
2018-09-19 14:23:29 +01:00
Konstantinos Chalkias
7b4c4803b9
isRelevant didn't work for composite ownership, it's now fixed (under certain assumptions). ( #3967 )
2018-09-19 10:03:16 +01:00