Skip to content

Commit

Permalink
"a Ethereum" to "an Ethereum"
Browse files Browse the repository at this point in the history
  • Loading branch information
zmanian authored and leoyvens committed Feb 22, 2021
1 parent dd0078a commit 5823eb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ OPTIONS:
--elasticsearch-user <USER> User to use for Elasticsearch logging [env: ELASTICSEARCH_USER=]
--ethereum-ipc <NETWORK_NAME:[CAPABILITIES]:FILE>
Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg full,archive), and a Ethereum IPC pipe, separated by a ':'
Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg full,archive), and an Ethereum IPC pipe, separated by a ':'
--ethereum-polling-interval <MILLISECONDS>
How often to poll the Ethereum node for new blocks [env: ETHEREUM_POLLING_INTERVAL=] [default: 500]
--ethereum-rpc <NETWORK_NAME:[CAPABILITIES]:URL>
Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and a Ethereum RPC URL, separated by a ':'
Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'
--ethereum-ws <NETWORK_NAME:[CAPABILITIES]:URL>
Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg `full,archive), and a Ethereum WebSocket URL, separated by a ':'
Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg `full,archive), and an Ethereum WebSocket URL, separated by a ':'
--http-port <PORT> Port for the GraphQL HTTP server [default: 8000]
--ipfs <HOST:PORT> HTTP address of an IPFS node
Expand Down
6 changes: 3 additions & 3 deletions node/src/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,23 @@ pub struct Opt {
conflicts_with_all = &["ethereum-ws", "ethereum-ipc", "config"],
value_name="NETWORK_NAME:[CAPABILITIES]:URL",
env="ETHEREUM_RPC",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and a Ethereum RPC URL, separated by a ':'",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum RPC URL, separated by a ':'",
)]
pub ethereum_rpc: Vec<String>,
#[structopt(long, min_values=0,
required_unless_one = &["ethereum-rpc", "ethereum-ipc", "config"],
conflicts_with_all = &["ethereum-rpc", "ethereum-ipc", "config"],
value_name="NETWORK_NAME:[CAPABILITIES]:URL",
env="ETHEREUM_WS",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive`, and a Ethereum WebSocket URL, separated by a ':'",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive`, and an Ethereum WebSocket URL, separated by a ':'",
)]
pub ethereum_ws: Vec<String>,
#[structopt(long, min_values=0,
required_unless_one = &["ethereum-rpc", "ethereum-ws", "config"],
conflicts_with_all = &["ethereum-rpc", "ethereum-ws", "config"],
value_name="NETWORK_NAME:[CAPABILITIES]:FILE",
env="ETHEREUM_IPC",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and a Ethereum IPC pipe, separated by a ':'",
help= "Ethereum network name (e.g. 'mainnet'), optional comma-seperated capabilities (eg 'full,archive'), and an Ethereum IPC pipe, separated by a ':'",
)]
pub ethereum_ipc: Vec<String>,
#[structopt(
Expand Down

0 comments on commit 5823eb2

Please sign in to comment.