-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(*): Enrich FullNode command-line-options #6397
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
base: release_v4.8.1
Are you sure you want to change the base?
feat(*): Enrich FullNode command-line-options #6397
Conversation
1. support the --solidity for SolidityNode
6e2544f
to
2cb8799
Compare
TODO: |
Args.setParam(args, Constant.TESTNET_CONF); | ||
CommonParameter parameter = Args.getInstance(); | ||
|
||
LogService.load(parameter.getLogbackPath()); | ||
|
||
if (parameter.isSolidityNode()) { | ||
SolidityNode.run(); |
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.
how about add logger.info("Solidity node running.");
. As FullNode logic also provide solidty API function with /walletsolidity/...
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.
logger.error("Trust node is not set."); | ||
return; | ||
} | ||
parameter.setSolidityNode(true); |
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.
will remove this parameter.setSolidityNode(true);
effect the respected http/rpc service start?
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.
make sure you check all related sub-class not depend this value
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.
I have a question: |
@Sunny6889 Java-tron's support for SolidityNode is still quite valuable, particularly for accelerating historical synchronization. By configuring trusted nodes, SolidityNode can skip the computationally expensive signature verification process, resulting in roughly a 33% reduction in synchronization time. |
@halibobo1205 For SolidityNode it only sync soliditied blocks? Could you share more about where the logic control it? |
1. consolidate KeystoreFactory into FullNode with ``--keystore` 2. consolidate DBConvert into Toolkit with `db convert`
close #6218.