-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(net): delete four unused paramaters in Args #5441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
6a1e001
45cbda0
3b2b60e
e70ef1b
8efbd87
2548300
703cf87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,7 @@ | |
| import org.tron.core.config.args.Overlay; | ||
| import org.tron.core.config.args.SeedNode; | ||
| import org.tron.core.config.args.Storage; | ||
| import org.tron.p2p.P2pConfig; | ||
| import org.tron.p2p.dns.update.PublishConfig; | ||
|
|
||
| public class CommonParameter { | ||
|
|
@@ -169,6 +170,8 @@ public class CommonParameter { | |
| @Setter | ||
| public int minParticipationRate; | ||
| @Getter | ||
| public P2pConfig p2pConfig; | ||
| @Getter | ||
| @Setter | ||
| public int nodeListenPort; | ||
| @Getter | ||
|
|
@@ -177,21 +180,21 @@ public class CommonParameter { | |
| @Getter | ||
| @Setter | ||
| public String nodeExternalIp; | ||
| @Getter | ||
| @Setter | ||
| public boolean nodeDiscoveryPublicHomeNode; | ||
| @Getter | ||
| @Setter | ||
| public long nodeDiscoveryPingTimeout; | ||
| @Getter | ||
| @Setter | ||
| public long nodeP2pPingInterval; | ||
| // @Getter | ||
| // @Setter | ||
| // public boolean nodeDiscoveryPublicHomeNode; | ||
| // @Getter | ||
| // @Setter | ||
| // public long nodeDiscoveryPingTimeout; | ||
| // @Getter | ||
| // @Setter | ||
| // public long nodeP2pPingInterval; | ||
|
||
| @Getter | ||
| @Setter | ||
| public int nodeP2pVersion; | ||
| @Getter | ||
| @Setter | ||
| public String p2pNodeId; | ||
| // @Getter | ||
| // @Setter | ||
| // public String p2pNodeId; | ||
| @Getter | ||
| @Setter | ||
| public boolean nodeEnableIpv6 = false; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,8 +101,8 @@ public class Constant { | |
| public static final String NODE_MAX_CONNECTIONS_WITH_SAME_IP = "node.maxConnectionsWithSameIp"; | ||
| public static final String NODE_MIN_PARTICIPATION_RATE = "node.minParticipationRate"; | ||
| public static final String NODE_LISTEN_PORT = "node.listen.port"; | ||
| public static final String NODE_DISCOVERY_PUBLIC_HOME_NODE = "node.discovery.public.home.node"; | ||
| public static final String NODE_DISCOVERY_PING_TIMEOUT = "node.discovery.ping.timeout"; | ||
| //public static final String NODE_DISCOVERY_PUBLIC_HOME_NODE = "node.discovery.public.home.node"; | ||
| //public static final String NODE_DISCOVERY_PING_TIMEOUT = "node.discovery.ping.timeout"; | ||
|
|
||
| public static final String NODE_P2P_PING_INTERVAL = "node.p2p.pingInterval"; | ||
|
||
| public static final String NODE_P2P_VERSION = "node.p2p.version"; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This modification has nothing to do with this PR, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there is something wrong when split pr. I have deleted it.