mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(github): run update-book-cli in the lint workflow (#8335)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
@ -262,9 +262,13 @@ def preprocess_help(s: str):
|
||||
"default: <CACHE_DIR>",
|
||||
s,
|
||||
)
|
||||
# Remove the commit SHA and target architecture triple
|
||||
# Remove the commit SHA and target architecture triple or fourth
|
||||
# rustup available targets:
|
||||
# aarch64-apple-darwin
|
||||
# x86_64-unknown-linux-gnu
|
||||
# x86_64-pc-windows-gnu
|
||||
s = re.sub(
|
||||
r"default: reth/.*-[0-9A-Fa-f]{6,10}/\w+-\w*-\w+",
|
||||
r"default: reth/.*-[0-9A-Fa-f]{6,10}/([_\w]+)-(\w+)-(\w+)(-\w+)?",
|
||||
"default: reth/<VERSION>-<SHA>/<ARCH>",
|
||||
s,
|
||||
)
|
||||
@ -275,6 +279,14 @@ def preprocess_help(s: str):
|
||||
s,
|
||||
)
|
||||
|
||||
# Remove rpc.max-tracing-requests default value
|
||||
s = re.sub(
|
||||
r"(rpc.max-tracing-requests <COUNT>\n.*\n.*\n.*)\[default: \d+\]",
|
||||
r"\1[default: <NUM CPU CORES-2>]",
|
||||
s,
|
||||
flags=re.MULTILINE,
|
||||
)
|
||||
|
||||
return s
|
||||
|
||||
|
||||
|
||||
9
book/cli/reth/db/checksum.md
vendored
9
book/cli/reth/db/checksum.md
vendored
@ -22,6 +22,9 @@ Options:
|
||||
|
||||
[default: default]
|
||||
|
||||
--start-key <START_KEY>
|
||||
The start of the range to checksum
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
@ -31,6 +34,12 @@ Options:
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--end-key <END_KEY>
|
||||
The end of the range to checksum
|
||||
|
||||
--limit <LIMIT>
|
||||
The maximum number of records that are queried and used to compute the checksum
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
2
book/cli/reth/node.md
vendored
2
book/cli/reth/node.md
vendored
@ -287,7 +287,7 @@ RPC:
|
||||
--rpc.max-tracing-requests <COUNT>
|
||||
Maximum number of concurrent tracing requests
|
||||
|
||||
[default: 6]
|
||||
[default: <NUM CPU CORES-2>]
|
||||
|
||||
--rpc.max-blocks-per-filter <COUNT>
|
||||
Maximum number of blocks that could be scanned per filter request. (0 = entire chain)
|
||||
|
||||
Reference in New Issue
Block a user