Fix db lite flag and document db root in toolkit#608
Open
abn2357 wants to merge 3 commits into
Open
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix two source/doc discrepancies and one stale link in
docs/using_javatron/toolkit.md:db litelong option is--operate, not--operation(matchesDbLite.javaandplugins/README.md).db rootsubcommand registered inDb.java.storage.propertiesexample link tojava-tron'sconfig.confand drop the#L37line anchor, since config files change frequently and line anchors rot quickly.Test plan
java-tronrepository link in the database partitioning section and verify it opensconfig.conf.