472ecc65c6
Work on database backed NetworkMapCache Make NodeInfo JPA entity. Enable node startup with it's database network map cache. Fix schema. Make node not wait for finishing network map service registration if it successfully loaded data from database. Add tests for startup without NetworkMapService. * Rename networkMapRegistrationFuture Change networkMapRegistrationFuture to nodeReadyFuture, it no longer indicates the NetworkMapService registration, because we are able to run network without map service configured. * Partially integrate database into NetworkMapCache Full integrtion will come with service removal. Move MockServiceHubInternal to net.corda.node.testing * Add workaround to transaction scope race Temporary workaround to force isolated transaction (otherwise it causes race conditions when processing network map registration on network map node). * Remove WorldMapLocation from NodeInfo Infer the node's location based on X500 name Add serial number on NodeInfo For tests of running without NetworkMap, start nodes with nonexistent NetworkMap address Make clearNetworkMapCache callable via RPC. |
||
---|---|---|
.. | ||
capsule | ||
src | ||
build.gradle | ||
README.md |
Node Explorer
The node explorer provides views of the node's vault and transaction data using Corda's RPC framework. The user can execute cash transaction commands to issue and move cash to other parties on the network or exit cash using the user interface.
Running the UI
Windows:
gradlew.bat tools:explorer:run
Other:
./gradlew tools:explorer:run
Running Demo Nodes
A demonstration Corda network topology is configured with 5 nodes playing the following roles:
- Notary
- Issuer nodes (representing two fictional central banks - UK Bank Plc issuer of GBP and USA Bank Corp issuer of USD)
- Participant nodes (representing two users - Alice and Bob)
The Issuer nodes have the ability to issue, move and exit cash amounts. The Participant nodes are only able to spend cash (eg. move cash).
Windows:
gradlew.bat tools:explorer:runDemoNodes
Other:
./gradlew tools:explorer:runDemoNodes
These Corda nodes will be created on the following port on localhost.
- Notary -> 20003 (Does not accept logins)
- Alice -> 20006
- Bob -> 20009
- UK Bank Plc -> 20012 (Issuer node)
- USA Bank Corp -> 20015 (Issuer node)
Explorer login credentials to the Issuer nodes are defaulted to manager
and test
.
Explorer login credentials to the Participants nodes are defaulted to user1
and test
.
Please note you are not allowed to login to the notary.
TODOs:
- Shows more useful information in the dashboard.
- Improve Network View, display other nodes in the world map and show transactions between them.
- Add a new view showing node's state machines.
- Link transaction input to its originated transaction to make it easier to trace back.
- Shows Node information (Configuration, properties etc.) in Settings view.
- Support other contract types.
More information can be found in the Project website and Documentation.