You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/node-explorer.rst
+62-10Lines changed: 62 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
Node Explorer
2
2
=============
3
3
4
-
The node explorer provide views to the node's vault and transaction data using Corda's RPC framework.
5
-
The user can execute cash transaction commands to issue and move cash to other party on the network or exit cash using the user interface.
4
+
The node explorer provides views into a node's vault and transaction data using Corda's RPC framework.
5
+
The user can execute cash transaction commands to issue and move cash to other parties on the network or exit cash (eg. remove from the ledger)
6
6
7
7
Running the UI
8
8
--------------
@@ -17,6 +17,27 @@ Running the UI
17
17
18
18
Running demo nodes
19
19
------------------
20
+
21
+
A demonstration Corda network topology is configured with 5 nodes playing the following roles:
22
+
23
+
1. Notary
24
+
2. Issuer nodes, representing two fictional central banks (UK Bank Plc issuer of GBP and USA Bank Corp issuer of USD)
25
+
3. Participant nodes, representing two users (Alice and Bob)
26
+
27
+
When connected to an *Issuer* node, a user can execute cash transaction commands to issue and move cash to itself or other
28
+
parties on the network or to exit cash (for itself only).
29
+
30
+
When connected to a *Participant* node a user can only execute cash transaction commands to move cash to other parties on the network.
31
+
32
+
The Demo Nodes can be started in one of two modes:
33
+
34
+
1. Normal
35
+
36
+
Fresh clean environment empty of transactions.
37
+
Firstly, launch an Explorer instance to login to one of the Issuer nodes and issue some cash to the other participants (Bob and Alice).
38
+
Then launch another Explorer instance to login to a participant node and start making payments (eg. move cash).
39
+
You will only be able to exit (eg. redeem from the ledger) cash as an issuer node.
40
+
20
41
**Windows**::
21
42
22
43
gradlew.bat tools:explorer:runDemoNodes
@@ -25,21 +46,45 @@ Running demo nodes
25
46
26
47
./gradlew tools:explorer:runDemoNodes
27
48
28
-
.. note:: 3 Corda nodes will be created on the following port on localhost by default.
49
+
2. Simulation
50
+
51
+
In this mode Nodes will automatically commence executing commands as part of a random generation process.
52
+
Issuer nodes will randomly issue, move and exit cash.
53
+
Participant nodes will randomly generate spends (eg. move cash to other nodes, including issuers)
54
+
55
+
**Windows**::
56
+
57
+
gradlew.bat tools:explorer:runSimulationNodes
58
+
59
+
**Other**::
60
+
61
+
./gradlew tools:explorer:runSimulationNodes
62
+
63
+
64
+
.. note:: 5 Corda nodes will be created on the following port on localhost by default.
29
65
30
66
* Notary -> 20002
31
67
* Alice -> 20004
32
68
* Bob -> 20006
69
+
* UK Bank Plc -> 20008 (*Issuer node*)
70
+
* USA Bank Corp -> 20010 (*Issuer node*)
71
+
72
+
Explorer login credentials to the Issuer nodes are defaulted to ``manager`` and ``test``.
73
+
Explorer login credentials to the Participants nodes are defaulted to ``user1`` and ``test``.
74
+
Please note you are not allowed to connect to the notary.
75
+
76
+
.. note:: Alternatively, you may start the demo nodes from within IntelliJ using either of the run configurations
77
+
``Explorer - demo nodes`` or ``Explorer - demo nodes (simulation)``
78
+
79
+
.. note:: Use the Explorer in conjunction with the Trader Demo and Bank of Corda samples to use other *Issuer* nodes.
33
80
34
81
Interface
35
82
---------
36
83
Login
37
84
User can login to any Corda node using the explorer. Alternatively, ``gradlew explorer:runDemoNodes`` can be used to start up demo nodes for testing.
38
85
Corda node address, username and password are required for login, the address is defaulted to localhost:0 if leave blank.
39
-
Username and password can be configured via the ``rpcUsers`` field in node's configuration file; for demo nodes, it is defaulted to ``user1`` and ``test``.
86
+
Username and password can be configured via the ``rpcUsers`` field in node's configuration file.
40
87
41
-
.. note:: If you are connecting to the demo nodes, only Alice and Bob (20004, 20006) are accessible using user1 credential, you won't be able to connect to the notary.
42
-
43
88
.. image:: resources/explorer/login.png
44
89
:scale:50 %
45
90
:align:center
@@ -57,12 +102,19 @@ Cash
57
102
58
103
.. image:: resources/explorer/vault.png
59
104
60
-
New cash transaction
61
-
This is where you can create new cash transactions.
62
-
The user can choose from three transaction types (issue, pay and exit) and any party visible on the network.
105
+
New Transactions
106
+
This is where you can create new cash transactions.
107
+
The user can choose from three transaction types (issue, pay and exit) and any party visible on the network.
108
+
109
+
General nodes can only execute pay commands to any other party on the network.
0 commit comments