-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: generate challenge * fix: challenge select miner. * fix: temporary adjustment of reallocation time interval and frequency limit * fix: temporary adjustment of reallocation time interval and frequency limit * fix: receive reward to controller * feat: increase the maximum number of reassignments * feat: whitelist deduplication * feat: benchmark fixing * Revert "fix: receive reward to controller" This reverts commit 2fc7db0. * fix: challenge index bounded * feat: reassign miner * style: delete extra code * fix: upload file reassign miner * fix: upload reassign lock_space * feat: principle of optimizing random allocation * fix: failed count >= 5 * fix: overflow * fix: repair potential hazards * fix: bug where file reassignment failed, resulting in inability to delete orders * feat: add rust-toolchain.toml. lock toolchain * testing (#199) * refactor: edition “2018” to edition "2021" --------- Co-authored-by: Jimmy Chu <jimmychu0807@gmail.com>
- Loading branch information
1 parent
79c2413
commit 2bad941
Showing
15 changed files
with
243 additions
and
86 deletions.
There are no files selected for viewing
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
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,4 +1,4 @@ | ||
// The average number of bytes that a storage node can transmit within each block | ||
pub(super) const TRANSFER_RATE: u128 = 8_947_849; | ||
pub(super) const TRANSFER_RATE: u128 = 4_089_446; | ||
|
||
pub(super) const CALCULATE_RATE: u128 = 67_108_864; |
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.