mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
e363090f30
* Don't expose StartedNode via Node Driver * Dont expose StartedNode/Abstract Node via MockNetwork * Remove internal var from constructor as it doesn't hide from public api and change to internal initialisation method * Update api * Rename MockNode to StartedMockNode to avoid confusion Update documentation Update api-current.txt * Fix typo * Fix test failure * Modify flow tests to use internal mock network and remove additional internal exposures from StartedMockNode * Fix api-current * Change InProcess and OutOfProcess to interfaces * Explicitly declare MockNetwork parameters Dont expose StateMachineManager Move affected tests to use internal mock network * Fix api-current * Changes requested via review * Fix IRS Demo address * Fix api * Remove internal attribute from classes in internal package * Remove accidentally added code * Move useHttps into NodeHandleInternal * Remove duplicated code * Update api-current * Make webAddress internal on NodeHandle * Make sure parameters in public api are explicitly specified * Use correct address in IRS Demo * Get webaddress from webserver handle * Update api-current # Conflicts: # .ci/api-current.txt |
||
---|---|---|
.. | ||
lib | ||
src | ||
build.gradle | ||
README.md |
Attachment Demo
This demo brings up three nodes, and sends a transaction containing an attachment from one to the other.
To run from the command line in Unix:
- Run
./gradlew samples:attachment-demo:deployNodes
to create a set of configs and installs undersamples/attachment-demo/build/nodes
- Run
./samples/attachment-demo/build/nodes/runnodes
to open up three new terminal tabs/windows with the three nodes and webserver for BankB - Run
./gradlew samples:attachment-demo:runRecipient
, which will block waiting for a trade to start - Run
./gradlew samples:attachment-demo:runSender
in another terminal window to send the attachment. Now look at the other windows to see the output of the demo
To run from the command line in Windows:
- Run
gradlew samples:attachment-demo:deployNodes
to create a set of configs and installs undersamples\attachment-demo\build\nodes
- Run
samples\attachment-demo\build\nodes\runnodes
to open up three new terminal tabs/windows with the three nodes and webserver for BankB - Run
gradlew samples:attachment-demo:runRecipient
, which will block waiting for a trade to start - Run
gradlew samples:attachment-demo:runSender
in another terminal window to send the attachment. Now look at the other windows to see the output of the demo