Commit Graph

95 Commits

Author SHA1 Message Date
vub efb1a85848 Moved validator index inside the message 2017-04-16 14:42:19 -04:00
vub 87520a39b1 Added validation code mechanism 2017-04-14 15:35:35 -04:00
vub 470e7671fd Added RLP library optimizations 2017-04-14 14:59:33 -04:00
vub 941e8a6de5 Added bit mask features 2017-04-14 05:56:06 -04:00
vub 8094cb1a8a Added logging 2017-04-03 00:57:00 -04:00
vub e4ee923c93 Added the square root rewarding scheme, the per-epoch fee and fixed the PREPARE_REQ slashing function 2017-04-01 23:54:20 -04:00
vub 952179fc52 Added description of what's going on in the tests 2017-03-26 05:34:27 -04:00
vub e790aaf02f Removed the serpent dependency 2017-03-26 03:18:45 -04:00
vub eb049462e8 Added ABI printout 2017-03-24 01:53:49 -04:00
vub 5335845163 Added impurity checker code 2017-03-24 01:43:24 -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
vub ae326872d6 Merge branch 'master' of github.com:ethereum/research 2017-03-09 04:00:21 -05:00
vub 9e6599324e Added tests 2017-03-09 03:24:51 -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
vub 1bc1cb1d41 Switched to plain complex field extension 2017-03-09 02:11:12 -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
vub 88ea67aabe Added optimizations 2017-02-20 11:32:38 -05:00
vub 78f5968333 Added optimized FQ12 implementation, now 7x more efficient 2017-02-08 09:02:13 -05:00
vub 9a7b6825b0 Made pairing impl python3-friendly 2017-02-07 08:45:22 -05:00
vub 00b990d219 Made pairing impl python3-friendly 2017-02-07 08:39:28 -05:00
vub 2d1dd0227b Updated selfish validating sim for casper 2016-12-30 14:41:50 -05:00
vub 803be67d0e Removed warning, as pairing works now 2016-12-24 20:22:37 -05:00
vub 78f3c227fe Pairing works now! Yay!!! 2016-12-24 20:01:01 -05:00
vub 4b3e13de37 Fixed a few bugs in the pairing but not all of them 2016-12-24 14:06:58 -05:00
vub 05aa71bb1b Added very preliminary pairing code 2016-12-24 12:32:04 -05:00
vub 711bd9532b Added field and curve preliminaries for pairing math 2016-12-24 09:51:55 -05:00
vub eec84d1c0c Added QAP generator explainer code 2016-12-11 02:29:08 -05:00
vub 4d496f48ca Added BU evo model 2016-12-02 03:47:45 -05:00
vub 3f770f0ce7 Added casper selfish mining 2016-10-30 20:52:12 -04:00
vub 52198a64a6 Added a few more regressions 2016-10-30 20:51:54 -04:00
vub 304b92fc6c Modified to support new pyethereum api for arbitrary deposit sizes 2016-08-24 02:10:26 -04:00
vub 44a9056a5e Added deposit function 2016-08-21 04:22:01 -04:00
vub ae34648c9b Casper validator withdrawing works! 2016-08-20 23:24:58 -04:00
vub 29106975c0 Added random graph simulator 2016-08-20 00:28:22 -04:00
vub 768e21e523 Moved stuff from econ modeling to research 2016-08-15 08:04:03 -04:00