Skip to content

Commit f4ed04a

Browse files
committed
add first version of the consensus code
1 parent 23dbd37 commit f4ed04a

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

README.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ File path: `<your workspace>/java-tron/src/main/resources/tron.conf`
4949
```yml
5050
nodeip {
5151
host = "127.0.0.1" # your leader-node host
52-
port = ":500" # your leader-node port
52+
port = ":5000" # your leader-node port
5353
}
5454
```
5555

@@ -62,7 +62,14 @@ IDEA:
6262
- [Edit Configurations...] -> [Program arguments]: `--type server`
6363
- Run
6464

65-
![run](https://github.com/tronprotocol/wiki/blob/master/images/show-how/run.gif)
65+
![run](https://github.com/tronprotocol/wiki/blob/master/images/commands/default-set.gif)
66+
67+
**Complete process**
68+
69+
![help](https://github.com/tronprotocol/wiki/blob/master/images/commands/process.gif)
70+
71+
**Other nodes to join need to modify the connection ip**
72+
![help](https://github.com/tronprotocol/wiki/blob/master/images/commands/node-ip.gif)
6673

6774
# Commands
6875
**help**
@@ -95,19 +102,21 @@ IDEA:
95102
| --- | --- |
96103
| Send balance to address | `send 2cddf5707aefefb199cb16430fb0f6220d460dfe 2` |
97104

98-
![help](https://github.com/tronprotocol/wiki/blob/master/images/commands/send.gif)
105+
![help](https://github.com/tronprotocol/wiki/blob/master/images/commands/send1.gif)
99106

100107
**getmessage**
101108

102-
| Description | Example |
103-
| --- | --- |
104-
|get transaction and block| getmessage|
109+
| Description | Example | Extra attention |
110+
| --- | --- |---|
111+
|get transaction and block| getmessage| Enter the command once |
112+
113+
![help](https://github.com/tronprotocol/wiki/blob/master/images/commands/getmessage.gif)
105114

106115
**printblockchain**
107116

108117
| Description | Example |
109-
| --- | --- |
110-
| Print blockchain | `printblockchain` |
118+
| --- | --- |
119+
| Print blockchain | `printblockchain`|
111120

112121
![help](https://github.com/tronprotocol/wiki/blob/master/images/commands/printblockchain.gif)
113122

0 commit comments

Comments
 (0)