Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add instructions for starting fullnode with pbss #1977

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

joeylichang
Copy link
Contributor

Description

Add instructions for starting fullnode with pbss in README.

Rationale

N/A

Example

N/A

Changes

Notable changes:

N/A

README.md Outdated
@@ -157,6 +157,9 @@ So just run: `geth --datadir <datadir> init ./genesis.json`

## It is recommand to run fullnode with `--tries-verify-mode none` if you want high performance and care little about state consistency
./geth --config ./config.toml --datadir ./node --cache 8000 --rpc.allow-unprotected-txs --txlookuplimit 0 --tries-verify-mode none

## run fullnode with Path-Base Storage Schema.
Copy link

Choose a reason for hiding this comment

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

Suggested change
## run fullnode with Path-Base Storage Schema.
## run fullnode with Path-Base Storage Schema
## It will enable inline state prune, keeping the latest 90000 blocks' history state by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

README.md Show resolved Hide resolved
README.md Outdated
@@ -157,6 +157,9 @@ So just run: `geth --datadir <datadir> init ./genesis.json`

## It is recommand to run fullnode with `--tries-verify-mode none` if you want high performance and care little about state consistency
./geth --config ./config.toml --datadir ./node --cache 8000 --rpc.allow-unprotected-txs --txlookuplimit 0 --tries-verify-mode none

## run fullnode with Path-Base Storage Schema.
./geth --config ./config.toml --datadir ./node --cache 8000 --rpc.allow-unprotected-txs --txlookuplimit 0 --tries-verify-mode none --schema path
Copy link

Choose a reason for hiding this comment

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

Should be "state.schem path"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@joeylichang joeylichang force-pushed the pbss_doc branch 2 times, most recently from ecfc3e4 to 626eb31 Compare November 10, 2023 00:41
buddh0
buddh0 previously approved these changes Nov 10, 2023
README.md Outdated
geth --datadir <datadir> init ./genesis.json

## It will init genesis with Path-Base Storage Schema.
geth --datadir <datadir> --state.schema path init ./genesis.json
Copy link

Choose a reason for hiding this comment

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

Suggested change
geth --datadir <datadir> --state.schema path init ./genesis.json
geth --datadir <datadir> --state.scheme path init ./genesis.json

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

README.md Outdated

## It will run fullnode with Path-Base Storage Schema.
## It will enable inline state prune, keeping the latest 90000 blocks' history state by default.
./geth --config ./config.toml --datadir ./node --cache 8000 --rpc.allow-unprotected-txs --txlookuplimit 0 --tries-verify-mode none --state.schema path
Copy link

Choose a reason for hiding this comment

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

"--state.scheme path"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

fynnss
fynnss previously approved these changes Nov 10, 2023
@brilliant-lx brilliant-lx merged commit 72ffb0c into develop Nov 10, 2023
5 checks passed
weiihann pushed a commit to weiihann/bsc that referenced this pull request Dec 5, 2023
@unclezoro unclezoro deleted the pbss_doc branch February 4, 2024 03:14
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.

None yet

5 participants