mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
39fdb353ad
* Fix bug in demobench. Explorer didn't show correctly location of a node. There was no nearestCity override in config. * Remove nearestCity from node configuration. Now information about the location is always taken from node's legal name. If not present - exception on node startup. * Add X500Name.locationOrNull that soft fails when location is not in X500 name. Address PR comments. * Remove unused imports. |
||
---|---|---|
.. | ||
lib | ||
src | ||
build.gradle | ||
README.md |
Attachment Demo
This code demonstrates sending a transaction with an attachment from one to node to another, and the receiving node accessing the attachment.
Please see the either the online documentation for more info on the attachment demo, or the included offline version.
From the root directory of the repository, run the following commands (on mac / unix, replace gradle
with ./gradlew
)
gradle samples:attachment-demo:deployNodes
./samples/attachment-demo/build/nodes/runnodes
gradle samples:attachment-demo:runRecipient # (in one window)
gradle samples:attachment-demo:runSender # (in another window)