Skip to content

Fix db lite flag and document db root in toolkit#608

Open
abn2357 wants to merge 3 commits into
tronprotocol:masterfrom
abn2357:fix_toolkit
Open

Fix db lite flag and document db root in toolkit#608
abn2357 wants to merge 3 commits into
tronprotocol:masterfrom
abn2357:fix_toolkit

Conversation

@abn2357
Copy link
Copy Markdown
Contributor

@abn2357 abn2357 commented May 26, 2026

Summary

Fix two source/doc discrepancies and one stale link in docs/using_javatron/toolkit.md:

  • db lite long option is --operate, not --operation (matches DbLite.java and plugins/README.md).
  • Add a Merkle Root Computation Tool section documenting the db root subcommand registered in Db.java.
  • Point the storage.properties example link to java-tron's config.conf and drop the #L37 line anchor, since config files change frequently and line anchors rot quickly.

Test plan

  • Render the page and confirm the new "Merkle Root Computation Tool" entry appears in the feature list and renders correctly.
  • Click the java-tron repository link in the database partitioning section and verify it opens config.conf.

abn2357 added 3 commits May 26, 2026 11:35
- Correct `--operation` to `--operate` for `db lite` to match the
  CLI option declared in DbLite.java.
- Add a "Merkle Root Computation Tool" section documenting the
  `db root` subcommand registered in Db.java.
Config files change frequently, so line anchors rot. Drop the
brittle #L37 fragment and point to the unified java-tron
config.conf used in the Chinese doc.
The DbLite snapshot dataset covers every state DB (account, contract,
asset, witness, votes, delegation, exchange, proposal, market, ...),
not only the account state. The 3% size ratio is also unstable as a
FullNode's data grows over time, so replace it with a qualitative
comparison.
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.

1 participant