Normal CLI options with geth.

Support node identity.
Support fine-grained JSONRPC API enabling.
This commit is contained in:
Gav Wood
2016-03-07 12:21:11 +01:00
parent 72016196cd
commit ec3698066b
2 changed files with 96 additions and 37 deletions

View File

@@ -87,6 +87,8 @@ pub struct ClientConfig {
pub blockchain: BlockChainConfig,
/// Prefer journal rather than archive.
pub prefer_journal: bool,
/// The name of the client instance.
pub name: String,
}
impl Default for ClientConfig {
@@ -95,6 +97,7 @@ impl Default for ClientConfig {
queue: Default::default(),
blockchain: Default::default(),
prefer_journal: false,
name: Default::default(),
}
}
}