mirror of
https://github.com/corda/corda.git
synced 2024-12-26 08:01:09 +00:00
da74263f42
* CORDA-696: Ensure deterministic transaction id calculation for contract upgrade and notary change transactions. The problem with the previous implementation is that the transaction would be deserialized with the schema specified in the serialized form, but the calculation of the id would involve re-serializing properties using a local serialization context which might produce a different result. * Support forwards compatibility for new hidden or visible properties * Some refactoring and updating api docs * Fix tests & add custom serializer in case the transaction is captured in a checkpoint * Update id calculation for notary change transactions as well - no filtering is involved * Use computeNonce * More refactoring * Use helper for computing component hashes * Optimise id calculation |
||
---|---|---|
.. | ||
capsule | ||
src | ||
build.gradle |