Skip to content

doc: add instructions for starting fullnode with pbss#1977

Merged
brilliant-lx merged 1 commit intodevelopfrom
pbss_doc
Nov 10, 2023
Merged

doc: add instructions for starting fullnode with pbss#1977
brilliant-lx merged 1 commit intodevelopfrom
pbss_doc

Conversation

@joey0612
Copy link
Copy Markdown
Contributor

@joey0612 joey0612 commented Nov 9, 2023

Description

Add instructions for starting fullnode with pbss in README.

Rationale

N/A

Example

N/A

Changes

Notable changes:

N/A

README.md Outdated
## 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
Copy Markdown

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
Copy Markdown
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 Outdated
./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
Copy Markdown

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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

@joey0612 joey0612 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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
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.

5 participants