Commit Graph

6799 Commits

Author SHA1 Message Date
Vitalik Buterin 95b67a4fd0 Fixes Justin's issues except nitpicks 3,13,16,20, content 2,3,6 2018-10-02 11:20:07 -04:00
NatoliChris cd71c223d1
Add "WIP" to title to make it clear; @djrtwo's comment in #18 2018-10-02 23:46:22 +10:00
NatoliChris 8521bd93ad
Update List/Vectors with comments on #18 2018-10-02 23:42:25 +10:00
NatoliChris 78a830da27
Update Hash Types as per @mratsim's comments on #18 2018-10-02 23:33:11 +10:00
NatoliChris 6287573adc
Update misspelling; Use `LENGTH_BYTES` variable; Update for comments 2018-10-02 12:34:20 +10:00
Danny Ryan 6c13664b95
Merge pull request #19 from ethereum/clean-up
Some v2.1 cleanup
2018-10-01 21:27:09 -05:00
Danny Ryan 0043846ff9 [clean-up] Move all data structures to beginning of spec. Clean up a few things 2018-10-01 21:21:15 -05:00
Danny Ryan b0b509df8f
Merge pull request #17 from ethereum/validator-rotation
Add validator rotation and basic slashing
2018-10-01 21:06:55 -05:00
Danny Ryan b3d258e54e [validator-rotation] fix corner case in change_validators, add what to do with special ojects in active state 2018-10-01 21:02:46 -05:00
NatoliChris 0b0f618c61
Add check for byte serialization 2018-10-02 10:47:30 +10:00
NatoliChris b1c873c8f6
Remove int as per discussions, update implementations 2018-10-02 09:51:01 +10:00
NatoliChris 4c75cd0db2 Initial SimpleSerialize spec 2018-10-02 09:43:47 +10:00
Danny Ryan 11d6daf68c [validator-rotation] add WITHDRAWAL_PERIOD constant 2018-10-01 17:30:07 -05:00
Danny Ryan 52cf7f943d [validator-rotation] add validator rotation logic 2018-10-01 17:19:16 -05:00
Danny Ryan 4357f641de
Merge pull request #16 from ethereum/fix-crosslink-reward
Fix crosslink quadratic leak
2018-10-01 15:31:51 -05:00
Danny Ryan ca48b304f9 [fix-crosslink-reward] add 'B *' factor to quadratic leak term in crosslink rewards 2018-10-01 09:28:22 -05:00
Danny Ryan 767e8d8b50
Merge pull request #15 from ethereum/crosslink-reward-fix
fix crosslink rewards
2018-09-30 20:41:57 -05:00
Danny Ryan 0d4cd0e758 [crosslink-reward-fix] update crosslink reward logic to perform as expected 2018-09-30 20:40:48 -05:00
Danny Ryan c198dfadb9
Merge pull request #14 from ethereum/integer-sqrt
add more robust int_sqrt implementation
2018-09-30 18:40:17 -05:00
Danny Ryan 606cb477f6 [integer-sqrt] update int_sqrt to more robust implementation 2018-09-30 18:38:47 -05:00
Danny Ryan 64b8869810
Merge pull request #13 from ethereum/integer-sqrt
add int_sqrt function
2018-09-30 18:12:05 -05:00
Danny Ryan 2ef9bc9f06 Merge branch 'integer-sqrt' of github.com:ethereum/eth2.0-specs into integer-sqrt 2018-09-30 18:10:10 -05:00
Danny Ryan d25f536ec5 [integer-sqrt] add concrete implementation that meets the requirements 2018-09-30 18:02:09 -05:00
vbuterin 2f9b8b2f08
Update casper_sharding_v2.1.md 2018-09-30 14:38:51 -04:00
Danny Ryan 4cb9790ea8 [integer-sqrt] use abstract def of integer_sqrt 2018-09-30 11:50:44 -05:00
Danny Ryan ec1eee4133 [integer-sqrt] add comment to credit 'newton's method' 2018-09-30 10:04:02 -05:00
Danny Ryan 82ec8dfdc2 [integer-sqrt] add integer_sqrt helper function and use in rewards calculations 2018-09-30 09:56:43 -05:00
Danny Ryan 5cfa735482
Merge pull request #11 from hwwhww/blake2b
Added hash function description
2018-09-27 07:37:59 -05:00
Hsiao-Wei Wang e5af9ba254
PR feedback 2018-09-27 19:58:38 +08:00
Danny Ryan d20c757cff
Merge pull request #12 from ethereum/bound-committee-per-slot
enforce maximum committees per slot
2018-09-26 21:25:11 -05:00
Danny Ryan 815e597a49 [bound-committee-per-slot] enforce maximum committees per slot 2018-09-26 12:43:31 -05:00
Hsiao-Wei Wang 56e597187e
Added Appendix A - Hash function 2018-09-26 23:31:09 +08:00
Danny Ryan 3bef7c9fe8
Merge pull request #10 from nisdas/specFix
Update Variable Naming in Crosslink Rewards
2018-09-26 10:28:02 -05:00
nisdas a66db3cec8
Adding fix 2018-09-26 12:38:41 +08:00
Danny Ryan e8c8584df9
Merge pull request #9 from ethereum/fix-quadratic-penalty
fix quadratic_penalty_quotient
2018-09-25 14:58:06 -05:00
Danny Ryan 8fac47eb94 [fix-quadratic-penalty] fix quadratic_penalty_quotient 2018-09-25 14:56:03 -05:00
Danny Ryan 933d98f003
Merge pull request #8 from ethereum/reward-fixes
Minor rewards fixes
2018-09-25 11:19:15 -05:00
Danny Ryan 338a892cb4 [reward-fixes] remove extra term in crosslink rewards 2018-09-25 10:44:28 -05:00
Danny Ryan 8b9eb6fa0e [reward-fixes] ffg rewards fix time since finality calculation. crosslink rewards fix cycle in question 2018-09-25 08:27:54 -05:00
Danny Ryan 5bc73d2051
slight change to readme 2018-09-24 09:08:48 -05:00
Danny Ryan 1c0b4d06e4
Merge pull request #7 from Poseyy/patch-1
repo clarification
2018-09-24 09:07:52 -05:00
Poseyy 899b3e9b2f
repo clarification 2018-09-23 20:52:52 -05:00
Danny Ryan e712cd1f04
Merge pull request #4 from hwwhww/proofread
`EPOCH_LENGTH` -> `CYCLE_LENGTH`
2018-09-23 18:10:26 -05:00
vbuterin b87b1dc24a
Merge pull request #3 from hwwhww/license
Added CC0 copyright
2018-09-22 08:10:28 -04:00
Hsiao-Wei Wang 483e489e5d
`EPOCH_LENGTH` -> `CYCLE_LENGTH` 2018-09-22 15:09:34 +08:00
Hsiao-Wei Wang ff92171993
Added CC0 2018-09-22 15:06:53 +08:00
Hsiao-Wei Wang a2afac1bb5
Merge pull request #1 from hwwhww/sync
sync casper_sharding_v2.1.md
2018-09-22 12:54:48 +08:00
Hsiao-Wei Wang a1c853298e
20180921 1951 2018-09-22 12:36:02 +08:00
Hsiao-Wei Wang 0001b7b9de
first commit 2018-09-20 13:20:49 +08:00