mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
45d8e0f76d
* 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. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
gradle.properties | ||
README.md |
IRS Demo
This code demonstrates an Interest Rate Swap agreement between two banks, confirming the transaction utilising the services of a notary and then retrieving and applying interest rates from an oracle service.
Please see the either the online documentation for more info on the attachment demo, or the included offline version.