forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 720
[PoS] Stake Modifier V2 #983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Fuzzbawls
merged 38 commits into
PIVX-Project:master
from
random-zebra:2019_new_stakeModifier
Aug 26, 2019
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
401a986
[Consensus] Placeholder block height for modifier V2 enforcement
random-zebra 1e4c864
[Cleanup] Clean error messages in CheckBlock
random-zebra f73a27f
[Core] Do not check block if it's not the one needed
random-zebra 3c1fd7a
[PoS] Stake Modifier V2
random-zebra 3b97fc0
[PoS] Cleaning GetStakeModifierSelectionInterval() constant method +
furszy e9c07d0
[Consensus] V2 modifier protocol change, two new fields in chainparam…
furszy a48a7a5
[Trivial] Compiler warning, uint_32 compared against int.
furszy 74d85c2
[Refactor][PoS] Do not calculate the prevBlock medianTimePast on ever…
furszy 01ed69a
[PoS] Remove extra nTime check in Stake()
random-zebra d805952
[Wallet] SelectStakeCoins using block time and fix GetBlocksToMaturity
random-zebra 117f815
[PoS] New logic for stake input maturity
random-zebra eab9944
version bumped
furszy d94931f
[Trivial] Add logs to CheckKernelHash
random-zebra 0d31ac2
[Wallet] HasMintableCoins, don't call GetAdjustedTime on every cycle …
furszy b8c59ae
[PoS] CheckStakeKernelHash, was checking the previous block instead of
furszy 6297e77
[Core] Introduce Blocks version 6
random-zebra 4c24934
[PoS] read/write block index modifier based on height and not block v…
furszy 843dc56
[PoS] Allign ComputeStakeModifier (v2) to nHeight logic
random-zebra ffb0dd5
[Trivial] logging, removing none required jump lines.
furszy 41ccf6b
[PoS][Wallet] CreateCoinStake, if the block is from the future then s…
furszy 4d5cc97
[Wallet] Staking, unreacheable code removed..
furszy 820e08c
[PoS][RPC][Refactor] GetHashProofOfStake and initStakeInput methods c…
furszy 81446bb
[PoS][RPC] getblock command, adding more information about the coin s…
furszy beaba47
[RPC] getblock, validate that PoS blocks to return the coin stake data.
furszy 8c7522b
[PoS] Compute old modifier, invalid integer division removal plus ext…
furszy f8777c6
[Refactor] Add future block time drift to chainparams
random-zebra d3db3e6
[PoS] Stake(): Add check for staked blocks in the future
random-zebra 6c69cfe
[PoS] * GetKernelStakeModifier, look for the next block in the mapBlo…
furszy 6a33fff
[Mempool] // As zero fee transactions are not going to be accepted in…
furszy a74f6cf
[GUI] sendCoinsdialog, removing zero tx fee checkbox and label.
furszy 85fa96e
[Consensus] New modifier enforcement height set.
furszy 2835111
Don't shadow global fDebug
Fuzzbawls dddca50
Use better JSON key names in block coinstake output
Fuzzbawls c212587
[PoS] fix regtest nBlockStakeModifierlV2 and cbase maturity
random-zebra b1416f5
[Tests] fix blocks/maturity fakestake_accepted
random-zebra d085ed0
[Consensus] Fix old block version check (including v.6)
random-zebra 6b6ef32
Don't load old stake modifier from disk after changeover height
Fuzzbawls bf16514
[Consensus] New modifier enforcement height changed for mainnet
random-zebra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.