mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: update --rpc-cache.headers name (#14336)
This commit is contained in:
2
book/cli/reth/node.md
vendored
2
book/cli/reth/node.md
vendored
@ -381,7 +381,7 @@ RPC State Cache:
|
|||||||
|
|
||||||
[default: 2000]
|
[default: 2000]
|
||||||
|
|
||||||
--rpc-cache.max-envs <MAX_HEADERS>
|
--rpc-cache.max-headers <MAX_HEADERS>
|
||||||
Max number of headers in cache
|
Max number of headers in cache
|
||||||
|
|
||||||
[default: 1000]
|
[default: 1000]
|
||||||
|
|||||||
@ -24,7 +24,8 @@ pub struct RpcStateCacheArgs {
|
|||||||
|
|
||||||
/// Max number of headers in cache.
|
/// Max number of headers in cache.
|
||||||
#[arg(
|
#[arg(
|
||||||
long = "rpc-cache.max-envs",
|
long = "rpc-cache.max-headers",
|
||||||
|
alias = "rpc-cache.max-envs",
|
||||||
default_value_t = DEFAULT_HEADER_CACHE_MAX_LEN,
|
default_value_t = DEFAULT_HEADER_CACHE_MAX_LEN,
|
||||||
)]
|
)]
|
||||||
pub max_headers: u32,
|
pub max_headers: u32,
|
||||||
|
|||||||
Reference in New Issue
Block a user