mirror of
https://github.com/corda/corda.git
synced 2025-01-27 22:59:54 +00:00
65ff931f53
# Conflicts: # node-api/src/main/kotlin/net/corda/nodeapi/internal/crypto/KeyStoreWrapper.kt # node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt # node/src/main/kotlin/net/corda/node/services/config/ConfigUtilities.kt # node/src/test/kotlin/net/corda/node/services/identity/InMemoryIdentityServiceTests.kt # node/src/test/kotlin/net/corda/node/services/identity/PersistentIdentityServiceTests.kt # samples/irs-demo/src/integration-test/kotlin/net/corda/test/spring/SpringDriver.kt # testing/node-driver/src/integration-test/kotlin/net/corda/testing/driver/DriverTests.kt # testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt # testing/node-driver/src/main/kotlin/net/corda/testing/driver/DriverDSL.kt # testing/node-driver/src/main/kotlin/net/corda/testing/internal/DriverDSLImpl.kt # testing/node-driver/src/main/kotlin/net/corda/testing/internal/NodeBasedTest.kt # testing/node-driver/src/main/kotlin/net/corda/testing/internal/RPCDriver.kt # testing/node-driver/src/main/kotlin/net/corda/testing/internal/demorun/DemoRunner.kt # testing/test-utils/src/main/kotlin/net/corda/testing/CoreTestUtils.kt # verifier/src/integration-test/kotlin/net/corda/verifier/VerifierDriver.kt
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