Skip to content

Commit e197a03

Browse files
committed
fix(config): keep --solidity and --p2p-disable as active CLI params
These are runtime mode switches, not configuration parameters. --solidity starts the node in Solidity mode (different execution path), --p2p-disable starts in offline local-query mode. Neither has a config-file equivalent and both are still actively used.
1 parent 75b1d10 commit e197a03

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

framework/src/main/java/org/tron/core/config/args/CLIParameter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public class CLIParameter {
4747
@Parameter(names = {"--password"}, description = "password")
4848
public String password;
4949

50-
@Deprecated
5150
@Parameter(names = {"--solidity"}, description = "running a solidity node for java tron")
5251
public boolean solidityNode;
5352

@@ -62,7 +61,6 @@ public class CLIParameter {
6261
@Parameter(names = {"--es"}, description = "Start event subscribe server")
6362
public boolean eventSubscribe;
6463

65-
@Deprecated
6664
@Parameter(names = {"--p2p-disable"}, description = "Switch for p2p module initialization. "
6765
+ "(default: false)", arity = 1)
6866
public boolean p2pDisable;

0 commit comments

Comments
 (0)