-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cfg-gate the refactor
- Loading branch information
Showing
23 changed files
with
7,898 additions
and
20 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,18 +1,5 @@ | ||
//! Builder Phase 1 | ||
//! It mainly provides three API services to hotshot proposers: | ||
//! 1. Serves a proposer(leader)'s request to provide blocks information | ||
//! 2. Serves a proposer(leader)'s request to provide the full blocks information | ||
//! 3. Serves a proposer(leader)'s request to provide the block header information | ||
//! | ||
//! It also provides one API service to external users: | ||
//! 1. Serves a user's request to submit a private transaction | ||
#![cfg_attr(coverage_nightly, feature(coverage_attribute))] | ||
#[cfg_attr(legacy_builder_refactored, path = "refactored/lib.rs")] | ||
#[cfg_attr(not(legacy_builder_refactored), path = "old/lib.rs")] | ||
mod implementation; | ||
|
||
pub mod block_size_limits; | ||
pub mod block_store; | ||
pub mod service; | ||
|
||
// tracking the testing | ||
#[cfg(test)] | ||
#[cfg_attr(coverage_nightly, coverage(off))] | ||
pub mod testing; | ||
pub use implementation::*; |
Oops, something went wrong.