mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
66116e8d20
* Migrated all non-BFT notary implementations to use async commits. * Mock network: await for async operation completion. When calling runNetwork() it keeps "pumping" messages between participants until no more messages are generated. The problem comes in when a flow suspends on an async operation: the mock network thinks the flow finished the work for the current step, and since no more messages are generated, completes the runNetwork() function. The message that the flow generates once it resumes after async operation completion never gets processed. This change makes runNetwork() wait until all flow async operations finish, and only then check whether no more messages can be transferred. |
||
---|---|---|
.. | ||
src | ||
build.gradle |