-
Notifications
You must be signed in to change notification settings - Fork 716
PoX: Threshold Adjustment and Reward Address Repetition #1954
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
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
8477e6c
threshold scaling + reward address repeating
103c3d9
Merge remote-tracking branch 'origin/next' into feat/pox-thresholds
d4aaa15
unit+int tests for threshold/addr repeats. write burnchain config to …
d05980e
sum stacked amounts across multiple entries from same address + int a…
196a280
threshold scaling + reward address repeating
6d81a5e
unit+int tests for threshold/addr repeats. write burnchain config to …
98f42a8
sum stacked amounts across multiple entries from same address + int a…
d4101c0
Merge branch 'feat/pox-thresholds' of github.com:blockstack/stacks-bl…
ef6012a
Merge branch 'feat/pox-delegation' into feat/pox-thresholds
7b1bdae
Merge remote-tracking branch 'origin/next' into feat/pox-thresholds
5cb5b9e
cargo fmt
f599d0d
Merge branch 'next' into feat/pox-thresholds
6772aab
add some docs+comments for threshold scaling consts and calculations
33ec31b
use config option to control sample size, hardcode sample wait
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ | |
| ;; This function can only be called once, when it boots up | ||
| (define-public (set-burnchain-parameters (first-burn-height uint) (prepare-cycle-length uint) (reward-cycle-length uint) (rejection-fraction uint)) | ||
| (begin | ||
| (asserts! (and is-in-regtest (not (var-get configured))) (err ERR_NOT_ALLOWED)) | ||
| (asserts! (not (var-get configured)) (err ERR_NOT_ALLOWED)) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we're getting rid of
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should keep it for the time being -- it may be useful elsewhere. |
||
| (var-set first-burnchain-block-height first-burn-height) | ||
| (var-set pox-prepare-cycle-length prepare-cycle-length) | ||
| (var-set pox-reward-cycle-length reward-cycle-length) | ||
|
|
||
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.