Merge pull request #3872 from ethcore/disable-light-server
remove light server capability temporarily
This commit is contained in:
@@ -146,8 +146,6 @@ usage! {
|
||||
flag_reserved_only: bool = false,
|
||||
or |c: &Config| otry!(c.network).reserved_only.clone(),
|
||||
flag_no_ancient_blocks: bool = false, or |_| None,
|
||||
flag_serve_light: bool = false,
|
||||
or |c: &Config| otry!(c.network).serve_light.clone(),
|
||||
|
||||
// -- API and Console Options
|
||||
// RPC
|
||||
@@ -259,7 +257,7 @@ usage! {
|
||||
or |c: &Config| otry!(c.footprint).fat_db.clone(),
|
||||
flag_scale_verifiers: bool = false,
|
||||
or |c: &Config| otry!(c.footprint).scale_verifiers.clone(),
|
||||
flag_num_verifiers: Option<usize> = None,
|
||||
flag_num_verifiers: Option<usize> = None,
|
||||
or |c: &Config| otry!(c.footprint).num_verifiers.clone().map(Some),
|
||||
|
||||
// -- Import/Export Options
|
||||
@@ -358,7 +356,6 @@ struct Network {
|
||||
node_key: Option<String>,
|
||||
reserved_peers: Option<String>,
|
||||
reserved_only: Option<bool>,
|
||||
serve_light: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, PartialEq, RustcDecodable)]
|
||||
@@ -581,7 +578,6 @@ mod tests {
|
||||
flag_reserved_peers: Some("./path_to_file".into()),
|
||||
flag_reserved_only: false,
|
||||
flag_no_ancient_blocks: false,
|
||||
flag_serve_light: true,
|
||||
|
||||
// -- API and Console Options
|
||||
// RPC
|
||||
@@ -760,7 +756,6 @@ mod tests {
|
||||
node_key: None,
|
||||
reserved_peers: Some("./path/to/reserved_peers".into()),
|
||||
reserved_only: Some(true),
|
||||
serve_light: None,
|
||||
}),
|
||||
rpc: Some(Rpc {
|
||||
disable: Some(true),
|
||||
|
||||
@@ -124,7 +124,6 @@ Networking Options:
|
||||
--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})
|
||||
--serve-light Experimental: Serve light client peers. (default: {flag_serve_light})
|
||||
|
||||
API and Console Options:
|
||||
--no-jsonrpc Disable the JSON-RPC API server. (default: {flag_no_jsonrpc})
|
||||
|
||||
Reference in New Issue
Block a user