Skip to content

Commit

Permalink
limit the public API
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuchman committed Dec 31, 2019
1 parent bb78cf5 commit 9fbb749
Show file tree
Hide file tree
Showing 4 changed files with 511 additions and 563 deletions.
12 changes: 6 additions & 6 deletions tendermint/src/lite.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//! Core logic and traits of a light client.

// TODO: don't expose the verifier, just the types and the public API.
// the verifier has low level functions that can be used incorrectly.

pub mod public;
pub mod types;
pub mod verifier;

pub use self::public::*;
pub use self::types::*;
pub use self::verifier::*;

// TODO: don't expose this once the json tests
// switch to using one of the other functions
pub use self::verifier::verify_single;

pub use self::verifier::{verify_and_update_bisection, verify_and_update_single};
Loading

0 comments on commit 9fbb749

Please sign in to comment.