Skip to content

Commit

Permalink
Public node (iotaledger#566)
Browse files Browse the repository at this point in the history
* Made Node public crate

* made node public
  • Loading branch information
melatron authored May 18, 2021
1 parent dd43a29 commit 8188e45
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions iota-client/src/node_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ const DEFAULT_QUORUM_THRESHOLD: usize = 66;

/// Node struct
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
pub(crate) struct Node {
pub(crate) url: Url,
pub(crate) jwt: Option<String>,
pub struct Node {
/// node url
pub url: Url,
/// node jwt
pub jwt: Option<String>,
}

// Nodemanger, takes care of selecting node(s) for requests until a result is returned or if quorum
Expand Down

0 comments on commit 8188e45

Please sign in to comment.