Skip to content
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

SIP-012: Burn height selection for network-upgrade to introduce new cost-limits #41

Merged
merged 49 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
f4777a6
feat: first draft of network-upgrade for cost-limits SIP
diwakergupta Oct 12, 2021
b32c5eb
add specifics for bitcoin vote op, proposed changes
kantai Oct 12, 2021
48140fb
Merge pull request #1 from hirosystems/draft/sip-012-aaron-edits
diwakergupta Oct 13, 2021
7e68440
Add more SIP authors and sample contract for tallying STX.
diwakergupta Oct 14, 2021
a4f4b61
Wrap to column width of 80.
diwakergupta Oct 14, 2021
ba4c65a
Address most nits in the feedback.
diwakergupta Oct 14, 2021
b8a8582
add discussion on method and reproduction to appendix a
kantai Oct 15, 2021
47d160f
Update to use simplified vote by BTC transactions.
diwakergupta Oct 17, 2021
949525d
Apply suggestions from code review
diwakergupta Oct 17, 2021
a88cfcd
Incorporate more feedback, esp. around SIP-006.
diwakergupta Oct 18, 2021
dd3de8f
add specifics for stacks-blockchain#2864: dynamic cost functions
kantai Oct 19, 2021
bd40ad2
fix: implement all of Jude's feedback
jcnelson Oct 20, 2021
84cc37b
feat: add supplemental block range study that supports the observatio…
jcnelson Oct 20, 2021
d47cd19
Merge branch 'draft/sip-012' of https://github.com/hirosystems/sips i…
jcnelson Oct 20, 2021
9bd8f75
fix: advance to accepted status by adding missing sections, and rewor…
jcnelson Oct 28, 2021
4be8cf9
fix: further elaborate on voting corner cases
jcnelson Oct 30, 2021
d1154ce
feat: vote tabulation script (to be further tested)
jcnelson Oct 30, 2021
3583b36
whoops, remove swp file
jcnelson Oct 30, 2021
10e0817
feat: support segwit-p2sh vote tabluation, add test for get_scriptSig…
jcnelson Nov 4, 2021
c131a92
feat: tool to extract stackers from a DEBUG-level node logfile
jcnelson Nov 4, 2021
2c79e29
feat: stx addresses that stacked only in reward cycle 19, not 20
jcnelson Nov 4, 2021
4cf3b93
feat: stx addresses that stacked in reward cycle 20
jcnelson Nov 4, 2021
5d4c8d5
fix: consider smart contract addresses as well as standard addresses
jcnelson Nov 4, 2021
b0e7f35
fix: parse out both standard and smart contract addresses from the lo…
jcnelson Nov 4, 2021
92314d3
fix: add smart contract addresses that are stacking to the list of st…
jcnelson Nov 4, 2021
d9f90f2
cab: governance CAB sign-off for recommended status
jcnelson Nov 5, 2021
9f6f596
Merge branch 'draft/sip-012' of https://github.com/hirosystems/sips i…
jcnelson Nov 5, 2021
49ad6a5
Add README with instructions
jcnelson Nov 9, 2021
7b21408
feat: convert stacker and delegation records to JSON entries for easi…
jcnelson Nov 9, 2021
aceb537
feat: add delegation records from log file
jcnelson Nov 9, 2021
9091c71
feat: remove old text records
jcnelson Nov 9, 2021
501679f
feat: new script to extract delegate information from the log file
jcnelson Nov 9, 2021
72aa476
fix: use new stacker and delegate record formats, and properly handle…
jcnelson Nov 9, 2021
a317bc3
feat: new stacker entry format
jcnelson Nov 9, 2021
8f8435d
feat: helper script to recreate stackers-19.json, stackers-20.json, a…
jcnelson Nov 9, 2021
4c82882
Merge branch 'draft/sip-012' of https://github.com/hirosystems/sips i…
jcnelson Nov 9, 2021
b839d44
update cost constants based on latest benchmarking data
reedrosenbluth Nov 12, 2021
6b20e0f
smooth out runtime costs of similar operations
kantai Nov 16, 2021
f48d74b
Merge pull request #4 from hirosystems/update-cost-constants
diwakergupta Nov 16, 2021
f22818e
fix cost_principal_of
reedrosenbluth Nov 16, 2021
5204102
chore: add descriptions of changes to the nft-* methods, fill in acti…
jcnelson Nov 17, 2021
95bc49f
fix: officially choose the vote tabulation block height and stacks bl…
jcnelson Nov 23, 2021
11a7566
Merge branch 'draft/sip-012' of https://github.com/hirosystems/sips i…
jcnelson Nov 23, 2021
2396a12
chore: advance to activation-in-progress and record vote tally
jcnelson Nov 23, 2021
9c9be82
Adding an estimated block production time
wileyj Dec 3, 2021
77bfd5f
Merge pull request #5 from wileyj/draft/sip-012
kantai Dec 3, 2021
c0d44e0
chore: link SIP-012 as a ratified SIP
jcnelson Dec 7, 2021
80c0792
chore: SIP 012 is ratified!
jcnelson Dec 7, 2021
3c83e32
Merge branch 'draft/sip-012' of https://github.com/hirosystems/sips i…
jcnelson Dec 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added sips/sip-012/SIP-012-001.ods
Binary file not shown.
18 changes: 18 additions & 0 deletions sips/sip-012/scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SIP 012 Vote Tabulation Script

The main script is `count-votes.sh`. It will count up the votes for/against SIP 012 for a given reward cycle. See `count-votes.sh` for detailed usage information.

Sample run:

```
$ cat stackers-19.json delegating.json | ./count-votes.sh /tmp/tally-19 4933b0b002a854a9ca7305166238d17be018ce54e415530540aa7e620e9cd86d 705850
{"yes":"10194020608227","no":"0"}
$ cat stackers-20.json delegating.json | ./count-votes.sh /tmp/tally-20 7ae943351df455aab1aa69ce7ba6606f937ebab5f34322c982227cd9e0322176 707951
{"yes":"77064706545373","no":"0"}
```

To generate the artifacts `stackers-19.json`, `stackers-20.json`, and `delegating.json` from a Stacks node's debug log file, run the following:

```
$ ./generate-artifacts.sh /path/to/node/log.txt
```
Loading