mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
A user passed in a `FlowLogic` as an argument into another `FlowLogic` called `subFlow` on it and had it throw an exception. This all occurred before the first checkpoint, causing the state machine to try and persist a FAILED checkpoint containing the flow's arguments. Because the arguments contained a `FlowLogic` that had been started via `subFlow` it held a reference to `FlowLogic._stateMachine` which cannot be serialized. This caused the flow to fail when trying to persist the fact that it failed. The flow arguments are now emptied during `ErrorFlowTransition` to resolve this issue which mimics the behaviour of the first suspend. Note, this only takes the arguments out of the serialized checkpoint, it does not affect the flow metadata and therefore a flow's arguments can still be viewed. Co-authored-by: Dan Newton <dan.newton@r3.com>
…
Corda
Corda is an open source blockchain project, designed for business from the start. Only Corda allows you to build interoperable blockchain networks that transact in strict privacy. Corda's smart contract technology allows businesses to transact directly, with value.
Features
- Smart contracts that can be written in Java and other JVM languages
- Flow framework to manage communication and negotiation between participants
- Peer-to-peer network of nodes
- "Notary" infrastructure to validate uniqueness and sequencing of transactions without global broadcast
- Enables the development and deployment of distributed apps called CorDapps
- Written in Kotlin, targeting the JVM
Getting started
- Read the Getting Started documentation
- Run the Example CorDapp
- Read about Corda's Key Concepts
- Follow the Hello, World! tutorial
Useful links
- Project Website
- Mailing List
- Documentation
- Stack Overflow Tag
- Slack Channel
- Meetups
- Training Courses
Contributing
Corda is an open-source project and contributions are welcome!
To find out how to contribute, please see our contributing docs.
License
Acknowledgements
YourKit supports open source projects with its full-featured Java Profiler.
YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.
Languages
Kotlin
94.3%
Java
2.5%
C++
2.1%
Python
0.3%
Shell
0.3%
Other
0.3%