Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

New apis integration #43

Merged
merged 16 commits into from
Mar 1, 2024
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ hotshot-utils = { git = "https://github.com/EspressoSystems/HotShot.git", tag =
hs-builder-api = { git = "https://github.com/EspressoSystems/hs-builder-api", branch = "main" }
sha2 = "0.10"
serde = { version = "1.0", features = ["derive"] }
tide-disco = { git = "https://github.com/EspressoSystems/tide-disco", tag = "v0.4.6" }
tagged-base64 = { git = "https://github.com/EspressoSystems/tagged-base64", tag = "0.3.4" }
tracing = "0.1"
157 changes: 63 additions & 94 deletions src/builder_state.rs

Large diffs are not rendered by default.

102 changes: 0 additions & 102 deletions src/data_source.rs

This file was deleted.

26 changes: 7 additions & 19 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,20 @@
// This file is part of the HotShot Builder Protocol.
//

//! Builder Phase 1
//! It mainly provides two API services to external users:
//! 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 request to submit a transaction externally i.e outside the HotShot network
// 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

//! To support the above two services, it uses the following core services:
//! 1. To facilitate the acceptance of the transactions i.e. private and public mempool
//! 2. Actions to be taken on hearning of:
//! a. DA Proposal
//! b. Quorum Proposal
//! c. Decide Event
//!

// providing the API services to the external users
// pub mod api;
// It also provides one API services external users:
// 1. Serves a user's request to submit a private transaction

// providing the core services to support above API services
pub mod builder_state;

// Core interaction with the HotShot network
pub mod service;

// tracking the transactions in both Private and Public mempools
pub mod data_source;

// tracking the testing

pub mod testing;
Loading
Loading