mirror of
https://github.com/corda/corda.git
synced 2024-12-30 01:39:04 +00:00
88894bc592
* add a shared memory port allocator to allow multiple processes to share a single allocation pool * remove dangerous reset function on port allocator * set forkCount = 2 in node integration test * only allow one build of a cordapp at any given time for Driver tests * make all portallocation requests use same starting point * globally set forks to 6 * tweak forking parameters to allow parallel builds * tweak unit test parallelism * 2 workers for integrationTest * some more tweaks for parallel builds * some more tweaks for parallel builds * seems that 49K is not the start of ephemeral ports on all kernels * tweak parallel settings * try fix RPC shutdown test in parallel env * add some logging for RPC shutdown test * added some logging around PortAllocation tests - try figure out where they are getting stuck * added some logging around PortAllocation tests - try figure out where they are getting stuck * fix api-scanner tests * minimize api changes * revert to complying with existing API * add the AtomicInteger for api compatibility reasons * make sizing script executable * address review comments pt1 * address review comments pt2 * fix compile errors after review comments * return to using home dir as temp dir seemed to interact badly with gradle |
||
---|---|---|
.. | ||
contracts | ||
src | ||
workflows | ||
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