Commit Graph

19 Commits

Author SHA1 Message Date
vub e790aaf02f Removed the serpent dependency 2017-03-26 03:18:45 -04:00
vub 00db6345e5 Added tests for validators logging in, logging out, and multi-validator prepares and commits, as well as current/prev dynasty mechanics 2017-03-23 06:48:28 -04:00
vub 821e2e3be2 Added logout/login feature 2017-03-23 01:18:15 -04:00
vub addeda54cb Added tests for 4 slashing conditions 2017-03-22 16:58:53 -04:00
vub 294fe110ad Made simple casper kinda work in some places 2017-03-22 06:58:50 -04:00
vub 56dc142c51 A few more code changes 2017-03-11 09:43:39 -05:00
vub d06de33bc3 Whoops, actually added the file this time 2017-03-10 09:48:05 -05:00
vub f239603ff9 Added RLP tail shaver code 2017-03-10 09:47:04 -05:00
vbuterin 25085b74ee Merge pull request #4 from karlfloersch/feat/sim_validator_rotation
Add dynamic validator set logic
2017-03-09 03:08:08 -05:00
Karl Floersch 95603eb945 Update checkpoint scoring rule & fix bugs
Update comments & remove warning

Prevent inadvertent Node equivocation
2017-03-08 21:15:46 -05:00
Karl Floersch 93c9cc83ba Add validator rotation & finalization logic
Add block-based validator rotation

Add basic validator rotation

Add random validator sets per block

Add logging & junk for testing

Add block-based validator rotation

Add prev_dynasty

Add basic union logic

Clean up unused code & comments

Fix slow finalized with overzealous validators

Fix dynasty finalization logic
2017-03-08 21:09:18 -05:00
vub da7548deba Added a few clarificatory comments 2017-03-06 21:55:09 -05:00
vub f7bc338e4b Updated Casper viper contract 2017-03-06 21:51:13 -05:00
vub d2d2b216df Added description and link to doc 2017-02-24 07:13:42 -05:00
vub 3d257ef7f6 Removed warning as it does work :) 2017-02-24 07:12:59 -05:00
vub 0306183406 Fixed bugs, full algo including fork choice rule seems to work fine at the moment 2017-02-24 07:12:14 -05:00
vub dd3f3b8b7d First batch of bug fixes to simulator 2017-02-24 03:22:51 -05:00
vub e9c69f679d Added rough draft of casper4 simulator code 2017-02-23 13:34:29 -05:00
vub 317032273f Added a bunch of files 2017-02-21 07:27:32 -05:00