-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
511 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}; |
Oops, something went wrong.