Skip to content

Conversation

@King31T
Copy link
Contributor

@King31T King31T commented Dec 11, 2025

No description provided.

In the TRON Java implementation (**java-tron**), the node data storage engine offers two options: **LevelDB** and **RocksDB**. By default, **LevelDB is used on x86 platforms, while RocksDB is used on ARM platforms**. If LevelDB is manually configured on an ARM system, the system will print a warning and still enforce the use of RocksDB. Developers can flexibly choose the appropriate storage engine based on the platform environment, hardware conditions, and performance requirements.
In the TRON Java implementation (**java-tron**), the node data storage engine offers two options: **LevelDB** and **RocksDB**.

Differences in databases across architectures:
Copy link

@GordonLtron GordonLtron Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 5
Differences in databases across architectures: > Database support varies by architecture:

Differences in databases across architectures:

- On x86 architecture, the database supports both LevelDB and RocksDB, and the version of RocksDB is v5.15.10.
- On ARM architecture, the database only supports RocksDB, and the version of RocksDB is v9.7.4.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 7-8
the database supports > java-tron supports

The entire data conversion process is expected to take approximately **10 hours**, depending on the data volume and disk performance.
## About LevelDB
LevelDB is the default data storage engine for java-tron on x86 platforms, suitable for resource-constrained or lightweight deployment scenarios. It has a simple structure and is easy to maintain, but it is less efficient than RocksDB in terms of data compression, backup capabilities, and performance for large-scale nodes.
LevelDB is the default data storage engine for java-tron node on x86 platforms, suitable for resource-constrained or lightweight deployment scenarios. It has a simple structure and is easy to maintain, but it is less efficient than RocksDB in terms of data compression, backup capabilities, and performance for large-scale nodes.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 87
java-tron node X
java-tron nodes O

The Event Query Service provides an HTTP interface for querying event data stored in MongoDB. This service requires a Java environment.

**Note**: Please ensure you are using **Oracle JDK 8**, not Open JDK 8.
**Note**: Please use Oracle JDK 8 on x86 architecture and JDK 17 on ARM architecture.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use Oracle JDK 8 on x86 architecture and JDK 17 on ARM architecture. >Please use Oracle JDK 8 "for" x86 architecture and JDK 17 "for" ARM architecture.


- **General Requirement**: **Oracle JDK 1.8**
- **For `v4.8.1` and later**: Support is also provided for JDK 17 on the ARM architecture
- On x86 architecture, currently only Oracle JDK 8 is supported.
Copy link

@GordonLtron GordonLtron Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 7-8
On x86 architecture, currently only Oracle JDK 8 is supported.
On ARM architecture, currently only JDK 17 is supported.
->
On x86 architecture, java-tron currently supports only Oracle JDK 8.
On ARM architecture, java-tron currently supports only JDK 17.

This document guides developers on how to deploy a TRON java-tron node on `Linux` or `macOS` operating systems.

**Important Note:** The java-tron node currently requires **Oracle JDK 1.8**. Other JDK versions are not supported.
Currently, the java-tron node supports running on both x86 and ARM architectures(Support for ARM architecture begins from version 4.8.1). The JDK support varies by architecture:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ARM architectures(Support > ARM architectures (Support

**Important Note:** The java-tron node currently requires **Oracle JDK 1.8**. Other JDK versions are not supported.
Currently, the java-tron node supports running on both x86 and ARM architectures(Support for ARM architecture begins from version 4.8.1). The JDK support varies by architecture:

- On x86 architecture, currently only Oracle JDK 8 is supported.
Copy link

@GordonLtron GordonLtron Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 7-8
On x86 architecture, currently only Oracle JDK 8 is supported.
On ARM architecture, currently only JDK 17 is supported.
->
On x86 architecture, java-tron currently supports only Oracle JDK 8.
On ARM architecture, java-tron currently supports only JDK 17.


This document provides a detailed guide on how to acquire and use the TRON Toolkit.

**Note**: Since only RocksDB is supported on ARM architecture, tools such as `db convert` and `db archive` that handle LevelDB can only be used on x86 architecture.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because ARM architecture only supports RocksDB, tools designed for LevelDB (such as db convert and db archive) are only available on x86 architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants