--no-ancient-blocks
This commit is contained in:
@@ -132,6 +132,7 @@ usage! {
|
||||
or |c: &Config| otry!(c.network).reserved_peers.clone().map(Some),
|
||||
flag_reserved_only: bool = false,
|
||||
or |c: &Config| otry!(c.network).reserved_only.clone(),
|
||||
flag_no_ancient_blocks: bool = false, or |_| None,
|
||||
|
||||
// -- API and Console Options
|
||||
// RPC
|
||||
@@ -533,6 +534,7 @@ mod tests {
|
||||
flag_node_key: None,
|
||||
flag_reserved_peers: Some("./path_to_file".into()),
|
||||
flag_reserved_only: false,
|
||||
flag_no_ancient_blocks: false,
|
||||
|
||||
// -- API and Console Options
|
||||
// RPC
|
||||
|
||||
@@ -95,6 +95,8 @@ Networking Options:
|
||||
all - connect to any IP address.
|
||||
(default: {flag_allow_ips})
|
||||
--max-pending-peers NUM Allow up to NUM pending connections. (default: {flag_max_pending_peers})
|
||||
--no-ancient-blocks Disable downloading old blocks after snapshot restoration
|
||||
or warp sync. (default: {flag_no_ancient_blocks})
|
||||
|
||||
API and Console Options:
|
||||
--no-jsonrpc Disable the JSON-RPC API server. (default: {flag_no_jsonrpc})
|
||||
|
||||
Reference in New Issue
Block a user