Skip to content

Commit 3cf5cfb

Browse files
authored
feat: add the toolkit (#39)
1 parent 03175f6 commit 3cf5cfb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5463
-1362
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,16 @@ Monitor the health and performance of your TRON nodes with integrated **Promethe
1616
### 🛠️ Tools
1717
We also provide tools to facilitate the CI and testing process:
1818
- **Gradle Docker**: Automate the build and testing of the `java-tron` Docker image using Gradle.
19-
- **DBFork**: Launch a private java-tron network based on the Mainnet database state, enabling shadow fork testing.
19+
- **Toolkit**: This package contains a set of database tools for TRON:
20+
- `mv, move`: Move db to pre-set new path. For example HDD,reduce storage
21+
expenses.
22+
- `archive`: A helper to rewrite leveldb manifest.
23+
- `convert`: Covert leveldb to rocksdb.
24+
- `lite`: Split lite data for java-tron.
25+
- `cp, copy`: Quick copy leveldb or rocksdb data.
26+
- `root`: compute merkle root for tiny db. NOTE: large db may GC overhead
27+
limit exceeded.
28+
- `fork`: Modify the database of java-tron for shadow fork testing.
2029

2130
## Prerequisites
2231
Please ensure you have the latest versions of Docker and Docker Compose installed by downloading them from the official websites:
@@ -124,7 +133,7 @@ To start all available features, or you want more customized operations, navigat
124133

125134
- **Tools**:
126135
- **Gradle Docker**: Automate Docker image builds and testing. Check the [gradle docker](./tools/docker/README.md) documentation.
127-
- **DBFork**: Perform shadow fork testing. Follow the [DBFork guidance](./tools/dbfork/README.md).
136+
- **Toolkit**: Perform a set of database related operations. Follow the [Toolkit guidance](./tools/toolkit/README.md).
128137

129138
## Troubleshooting
130139
If you encounter any difficulties, please refer to the [Issue Work Flow](https://tronprotocol.github.io/documentation-en/developers/issue-workflow/#issue-work-flow), then raise an issue on [GitHub](https://github.com/tronprotocol/tron-docker/issues). For general questions, please use [Discord](https://discord.gg/cGKSsRVCGm) or [Telegram](https://t.me/TronOfficialDevelopersGroupEn).

0 commit comments

Comments
 (0)