Skip to content

Enrich FullNode command-line-options #6218

@halibobo1205

Description

@halibobo1205

Background

Currently, the main service JARs in Java-Tron primarily include FullNode.jar and SolidityNode.jar. FullNode.jar supports three types of nodes: SR Node, FullNode, and LightFullNode. SolidityNode is not supported, but it is recommended that it be supported.

JAR Description
FullNode.jar full node, which is capable of creating and broadcasting transactions, synchronizing and broadcasting blocks
SolidityNode.jar solidity node, is capable of synchronizing solidified blocks from trusted nodes, can neither create nor broadcast transactions nor can it broadcast blocks.
KeystoreFactory.jar Generate a keystore file by password or privateKey
DBConvert.jar convert LevelDB to RocksDB, replaced by Toolkit.jar db convert

Rationale

Why should this feature exist?

To enrich FullNode command-line options, support SolidityNode and KeystoreFactory, and merge FullNode.jar, KeystoreFactory, and SolidityNode.jar.

Specification

Merge SolidityNode.jar into FullNode.jar, and start it via java -jar FullNode.jar --solidity
Merge KeystoreFactory.jar into FullNode.jar, and start it via java -jar FullNode.jar --keystore

Scope Of Impact

  1. Build process: SolidityNode.jar, DBConvert.jar, and KeystoreFactory.jar will no longer be built.
  2. Tool usage: FullNode.jar will support the --solidity and --keystore commands.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions