forked from PIVX-Project/PIVX
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Given the strict timestamp checks enforced with POS TimeProtocol v2 (introduced with PIVX-Project#1002: a block cannot have a timestamp earlier than previous blocks and cannot be more than 15 seconds in the future), we don't need the complex (and error-prone) logic of ComputeTimeSmart. We can, instead, simply rely on the blocktime, which already ensures a proper ordering for the transactions.
- Loading branch information
1 parent
440c8f5
commit 3f31b4f
Showing
2 changed files
with
13 additions
and
32 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