Skip to content

Commit d295454

Browse files
committed
modify conflict
2 parents e35a13e + 14c976c commit d295454

42 files changed

Lines changed: 3622 additions & 1179 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313

1414
<p align="center">
15-
<a href="https://tronfoundation.slack.com/">
16-
<img src="https://img.shields.io/badge/chat-on%20slack-brightgreen.svg">
15+
<a href="https://discord.gg/GsRgsTD">
16+
<img src="https://img.shields.io/badge/chat-on%20discord-brightgreen.svg">
1717
</a>
1818

1919
<a href="https://travis-ci.org/tronprotocol/java-tron">
@@ -45,7 +45,7 @@
4545
<a href="#how-to-build">How to Build</a> •
4646
<a href="#running">How to Run</a> •
4747
<a href="#links">Links</a> •
48-
<a href="http://wiki.tron.network">Wiki</a> •
48+
<a href="http://developers.tron.network">Documentation</a> •
4949
<a href="CONTRIBUTING.md">Contributing</a> •
5050
<a href="#community">Community</a>
5151
</p>
@@ -344,14 +344,14 @@ Read the [Advanced Configurations](src/main/java/org/tron/core/config/README.md)
344344
345345
# Developer Community
346346
347-
* [Slack](https://tronfoundation.slack.com/) Please email tian@tron.network for a developer invite
347+
* [Discord](https://discord.gg/GsRgsTD) Please join our Developer Discord
348+
* [Gitter](https://gitter.im/tronprotocol/allcoredev) the core dev gitter
348349
349350
# Links
350351
351352
* [Website](https://tron.network/)
352-
* [Documentation](https://github.com/tronprotocol/java-tron)
353+
* [Documentation](http://developers.tron.network)
353354
* [Blog](https://tronprotocol.github.io/tron-blog/)
354-
* [TRON Wiki](http://wiki.tron.network/en/latest/)
355355
356356
# Projects
357357

‎deploy.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fi
2929

3030
echo "$TRAVIS_BRANCH"
3131

32-
if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" ]];then
32+
if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" || "$TRAVIS_BRANCH" = "Odyssey_v3.2" ]];then
3333
echo "init env"
3434
ssh java-tron@$stest_server -p 22008 sh /data/workspace/docker_workspace/stest.sh >$stestlogname 2>&1
3535
if [[ `find $stestlogname -type f | xargs grep "Connection refused"` =~ "Connection refused" || `find $stestlogname -type f | xargs grep "stest FAILED"` =~ "stest FAILED" ]];

‎src/main/java/org/tron/common/entity/NodeInfo.java‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package org.tron.common.entity;
22

33
import java.util.ArrayList;
4+
import java.util.HashMap;
45
import java.util.List;
6+
import java.util.Map;
57

68
public class NodeInfo {
79

@@ -22,6 +24,8 @@ public class NodeInfo {
2224
/*machine information*/
2325
private MachineInfo machineInfo;
2426

27+
private Map<String, String> cheatWitnessInfoMap = new HashMap<>();
28+
2529
public static class MachineInfo {
2630

2731
/*machine information*/
@@ -560,4 +564,14 @@ public NodeInfo setMachineInfo(MachineInfo machineInfo) {
560564
this.machineInfo = machineInfo;
561565
return this;
562566
}
567+
568+
public Map<String, String> getCheatWitnessInfoMap() {
569+
return cheatWitnessInfoMap;
570+
}
571+
572+
public NodeInfo setCheatWitnessInfoMap(
573+
Map<String, String> cheatWitnessInfoMap) {
574+
this.cheatWitnessInfoMap = cheatWitnessInfoMap;
575+
return this;
576+
}
563577
}

0 commit comments

Comments
 (0)