-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
worker: remove resubmit ajust code of PoW.
resubmit intervalAdjust was for PoW consensus. With PoW, there will be a periodic timer to check if it is the time to stop packing transaction and start calaculate the desired hash value. When there are too many transactions in the txpool, the interval of the resubmit timer would be increased and vice versa. But it is not needed with PoS consensus, since the block interval is determined in PoS, and there is already a timer to stop packing for too long.
- Loading branch information
Showing
2 changed files
with
0 additions
and
173 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