-
Notifications
You must be signed in to change notification settings - Fork 122
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
Parameterised block time #2955
Open
Bushstar
wants to merge
24
commits into
master
Choose a base branch
from
bush/block-time
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Parameterised block time #2955
Conversation
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
prasannavl
added
protocol
Has network protocol changes
v/next-network-upgrade
Items ready or targeted for upcoming network upgrade release(s)
p2
Medium priority
e4
High effort // takes lot of time or high expertise
labels
Jul 3, 2024
kuegi
reviewed
Sep 5, 2024
kuegi
reviewed
Sep 5, 2024
Currently blocked on missing commits:
And then:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
e4
High effort // takes lot of time or high expertise
p2
Medium priority
protocol
Has network protocol changes
v/next-network-upgrade
Items ready or targeted for upcoming network upgrade release(s)
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.
Summary
Areas impacted moving nTargetSpacing, nTargetTimespanV2 and emissionReductionPeriod to Gov vars
Block time
Difficulty adjust period
Emission reduction
Loans
Auctions
Calculate anchor team
Interest per block
Set pool rewards
Auto updating of daily rewards
Split auto lock
Oracle interval if not set in Gov var
Other areas moved to Gov vars
Anchor auths created chainparams 15 blocks
Anchor team change chainparams 120 blocks
MN Activation chainparams 1008 blocks
MN resignation chainparams 2016 blocks
MN owner, operator, reward change uses MN resignation time
CICXOrder::DEFAULT_EXPIRY 2880
CICXMakeOffer::EUNOSPAYA_DEFAULT_EXPIRY 20
CICXMakeOffer::MAKER_DEPOSIT_REFUND_TIMEOUT 100
CICXSubmitDFCHTLC::EUNOSPAYA_MINIMUM_TIMEOUT 1440
CICXSubmitDFCHTLC::EUNOSPAYA_MINIMUM_2ND_TIMEOUT 480
CICXSubmitEXTHTLC::EUNOSPAYA_BTC_BLOCKS_IN_DFI_BLOCKS 20
Following noted time related areas
Max stake age chainparams 14 * 24 * 60 * 60
Coin age period increment 6 hours
Anchor min depth 3 hours
Other notes:
Limit future swap volume settable via Gov vars, has hard coded defaults if not set.
CFP/VOC set by Gov var. Voting and emergency voting period has defaults in chain params.
Future swap set by Gov var
Implications
Storage
Consensus