Skip to content

Commit

Permalink
improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed May 14, 2021
1 parent f42432f commit 5a4206e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/iota-rs-ENGINEERING-SPEC-0000.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ The data structure to initialize the instance of the Higher level client library
| - | - | - | - | - |
| **network** || Testnet | &str | Optional, the network type can be "testnet" or "mainnet". If no node url is provided, some default nodes are used for the specified network. Nodes that aren't in this network will be ignored. |
| **node** || None | &str | The URL of a node to connect to; format: `https://node:port` |
| **primary_node** || None | &str, auth_name_pwd: Option<(&str, &str)> | The URL of a node to always connect first to with optional jwt and or name and password for basic authentication, if multiple nodes are available; format: `https://node:port`, Some("jwt"), Some("name", "password") |
| **primary_pow_node** || None | &str, auth_name_pwd: Option<(&str, &str)> | The URL of a node to always connect first to when submitting a message with remote PoW, if multiple nodes are available. Will override primary_node in that case. With optional jwt or name and password for basic authentication; format: `https://node:port`, Some("jwt"), Some("name", "password") |
| **node_auth** || None | &str, Option<String>, Option<(&str, &str)> | The URL of a node to connect to with optional jwt and or name and password for basic authentication; format: `https://node:port`, Some("jwt"), Some("name", "password") |
| **primary_node** || None | &str, auth_name_pwd: Option<(&str, &str)> | The URL of a node to always connect first to, if multiple nodes are available. Optional JWT and or name and password for basic authentication; format: `https://node:port`, Some("JWT"), Some("name", "password") |
| **primary_pow_node** || None | &str, auth_name_pwd: Option<(&str, &str)> | The URL of a node to always connect first to when submitting a message with remote PoW, if multiple nodes are available. Will override primary_node in that case. With optional JWT or name and password for basic authentication; format: `https://node:port`, Some("JWT"), Some("name", "password") |
| **node_auth** || None | &str, Option<String>, Option<(&str, &str)> | The URL of a node to connect to with optional JWT and or name and password for basic authentication; format: `https://node:port`, Some("JWT"), Some("name", "password") |
| **nodes** || None | &[&str] | A list of nodes to connect to; nodes are added with the `https://node:port` format. The amount of nodes specified in quorum_size are randomly selected from this node list to check for quorum based on the quorum threshold. If quorum_size is not given the full list of nodes is checked. |
| **node_sync_interval** || Duration::from_secs(60) | std::time::Duration | The interval in milliseconds to check for node health and sync |
| **node_sync_disabled** || false | bool | If disabled also unhealty nodes will be used |
Expand Down

0 comments on commit 5a4206e

Please sign in to comment.