Commit Graph

308 Commits

Author SHA1 Message Date
Vitalik Buterin 318bf043ed Added a few utility files 2017-05-19 00:15:23 -04:00
Vitalik Buterin 2cd5415396 Reorganized pairing library 2017-05-12 02:27:24 -04:00
vub 797c311466 Small bugfix 2017-04-26 05:20:29 -04:00
vub f078d5b6a6 Added eip 96 test script 2017-04-26 03:15:07 -04:00
vub 8620eb406d Changed extension to .se.py 2017-04-26 02:40:53 -04:00
vub b0c163521d Added EIP 96 blockhash getter 2017-04-26 02:36:26 -04:00
vub 40a2df918c More optimizations 2017-04-25 20:56:32 -04:00
vub 8672819248 A bit more minor optimization 2017-04-23 20:15:16 -04:00
vub d800eafa2a One more optimization 2017-04-23 19:15:54 -04:00
vub 9721cf80eb Added a bunch of C++ optimizations 2017-04-23 19:14:46 -04:00
vub 3397bd982e Added some optimizations 2017-04-23 08:10:21 -04:00
vub 9cf2a9f889 Added c++ implementation 2017-04-18 07:26:05 -04:00
vub e3db8989b1 Added erasure code-based data availability checking code 2017-04-17 09:35:50 -04:00
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