forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4ea0476 [Consensus] Fix difficulty adjustment on first block of timeproto V2 (random-zebra) c254df6 [P2P] Do not store more than 200 timedata samples. (random-zebra) 8ca3979 [Tests] (squashed) few regtest fixes (random-zebra) 3487e58 [PoS] Fix Stake maturity-check and mapHashedBlocks time (random-zebra) 55aeecd [Core] raise nTargetTimespan_V2 to 30 minutes (random-zebra) 79bdc83 [Core] Restore CheckBlock checks before previous block check (random-zebra) 3bb0c0a [PoS] Don't use chainActive.Tip() as prevIndex when creating new blocks (random-zebra) 55faec1 [Performance] Kernel, methods using object reference instead of copy the object. (furszy) 4afcba5 [PoS] Don't allow consecutive blocks within the same time slot (random-zebra) c97e998 [PoS] StakeV1: iterate the time backwards. (random-zebra) 59cd3af [PoS] reduce difficulty by a factor 16 on nBlockTimeProtocolV2 (random-zebra) 3447dfb [Core] Make bnProofOfStakeLimit_V2 16 times v1 limit (random-zebra) 0bcf0c1 [PoS] Keep v1 miner until hard-fork (random-zebra) ec45670 [Core] Guard the transition to v2 time protocol in MinPastBlockTime rule (random-zebra) fee5f5c [PoS] set nTargetTimespan_V2 to 15 minutes (60 time slots) (random-zebra) ca2b035 [PoS] Set target spacing to 60 seconds (random-zebra) 0578b0a [PoS] Adjust FutureBlockTimeDrift to 15 secs granularity (random-zebra) dd71075 [Core] Set time granularity to 15 (instead of 16) (random-zebra) 8c3546f [Consensus] Change difficulty computation for V2 time protocol (random-zebra) f892e45 [Core/PoS] Enforce timestamp mask in miner (random-zebra) cdaf818 [Core] Define new Past Time Limit and enforce masked time (random-zebra) bcb5836 [Core] Define new Future Time Drift (random-zebra) 159eda9 [Cleanup] Remove unused function CheckCoinStakeTimestamp (random-zebra) 9773c09 [Core] Add timestamp mask to chainparams (random-zebra) 1d8fb33 [COPY] Update missing headers (random-zebra) 6f09121 [Consensus] Add placeholder block height for Time Protocol V2 (random-zebra) Pull request description: Main changes: - **granularity**: 15 secs, instead of 1 - **future limit**: adjustedTime + 14 secs (current timeslot) instead of 3 mins - **past limit**: prevBlock time - **target timespan**: 15 mins (instead of 40) ACKs for top commit: furszy: Great, ACK 4ea0476 Mrs-X: ACK 4ea0476 Tree-SHA512: a365297ba169f78ad1c30cc2f318dce09d6e98038a43d35c645814923829e793147e7fdbcbb3f701878a1f5f4892f468f19451fcacc25973db63c92c02e40aa1
- Loading branch information
Showing
21 changed files
with
295 additions
and
136 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
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.