forked from deltadevsde/prism
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
473f31c
commit 9496811
Showing
4 changed files
with
12 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use std::time::Duration; | ||
|
||
/// DA_RETRY_COUNT determines how many times to retry epoch submission. | ||
pub const DA_RETRY_COUNT: u64 = 5; | ||
/// DA_RETRY_COUNT determines how long to wait between failed submissions. | ||
pub const DA_RETRY_INTERVAL: Duration = Duration::from_secs(5); | ||
/// CHANNEL_BUFFER_SIZE determines the default channel size. | ||
pub const CHANNEL_BUFFER_SIZE: usize = 5; |
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,11 +1,11 @@ | ||
mod cfg; | ||
pub mod consts; | ||
pub mod da; | ||
pub mod error; | ||
pub mod node_types; | ||
pub mod storage; | ||
pub mod utils; | ||
mod webserver; | ||
pub mod zk_snark; | ||
|
||
#[macro_use] | ||
extern crate log; |
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