-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split Transaction from MessagePayload
- Loading branch information
Showing
33 changed files
with
509 additions
and
471 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
//! Constant variables. | ||
/// | ||
/// default ttl in ms | ||
pub const DEFAULT_TTL_MS: usize = 300 * 1000; | ||
pub const MAX_TTL_MS: usize = DEFAULT_TTL_MS * 10; | ||
pub const DEFAULT_TTL_MS: u64 = 300 * 1000; | ||
pub const MAX_TTL_MS: u64 = DEFAULT_TTL_MS * 10; | ||
pub const TS_OFFSET_TOLERANCE_MS: u128 = 3000; | ||
pub const DEFAULT_SESSION_TTL_MS: usize = 30 * 24 * 3600 * 1000; | ||
pub const DEFAULT_SESSION_TTL_MS: u64 = 30 * 24 * 3600 * 1000; | ||
pub const TRANSPORT_MTU: usize = 60000; | ||
pub const TRANSPORT_MAX_SIZE: usize = TRANSPORT_MTU * 16; | ||
pub const VNODE_DATA_MAX_LEN: usize = 1024; |
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
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
Oops, something went wrong.