Commit Graph

1675 Commits

Author SHA1 Message Date
Danny Ryan f41caa713b
add circleci config 2019-03-18 13:06:45 -06:00
Danny Ryan 839590b5f4
initial pytests passing 2019-03-18 12:51:52 -06:00
Danny Ryan 828dd455ba
add basic dependencies and build script for phase0 testing 2019-03-18 10:18:57 -06:00
Danny Ryan aeb5bb9b11
Merge pull request #755 from ethereum/dev
v0.5.0 release
2019-03-14 15:49:49 -06:00
Danny Ryan 15bf3c4258
Merge pull request #771 from terenc3t/patch-55
Fix validator toc links
2019-03-13 20:29:39 -06:00
terence tsao c30018a716
Update 0_beacon-chain-validator.md 2019-03-13 18:45:52 -07:00
Danny Ryan c9f0cc9d6f
Merge pull request #770 from ralexstokes/fix-type-bug
Helper function returns correct type of `Gwei` instead of indices
2019-03-13 19:38:40 -06:00
Alex Stokes 9774a3d581
Helper function returns correct type of `Gwei` instead of indices 2019-03-13 17:01:47 -07:00
Danny Ryan 15263c4e06
Merge pull request #769 from ethereum/v0.5-val-guide
update v-guide to v0.5.0
2019-03-13 13:53:15 -06:00
Danny Ryan 0e837c3386
update v-guide to v0.5.0 2019-03-13 12:17:21 -06:00
Danny Ryan 60f42358ab
Merge pull request #767 from ethereum/v0.5-phase1-cleanups
v0.5.0 phase 1 quick cleanups
2019-03-13 09:14:26 -06:00
Hsiao-Wei Wang cdd59ae230
add return types to phase 1 functions
Co-Authored-By: djrtwo <dannyjryan@gmail.com>
2019-03-13 09:11:35 -06:00
Danny Ryan b40236685c
phase 1 nitpicks 2019-03-13 09:04:12 -06:00
Vitalik Buterin 34cd96be54 Added light client related files 2019-03-13 02:47:29 -05:00
Danny Ryan 9ee7ed061e
Merge pull request #756 from ethereum/store-justified-root
cache justified roots in state/rename attestation fields
2019-03-12 12:35:45 -06:00
Danny Ryan e8a5cd0747
fix up for tests 2019-03-12 12:32:11 -06:00
Danny Ryan 6e04b2118c
Merge branch 'dev' into store-justified-root 2019-03-12 12:08:59 -06:00
Danny Ryan 86247d046c
Merge pull request #733 from ethereum/JustinDrake-patch-1
Fair proposer sampling
2019-03-12 11:51:47 -06:00
Danny Ryan acf0f76d60
Merge branch 'dev' into JustinDrake-patch-1 2019-03-12 11:48:05 -06:00
Danny Ryan e8434478c4
Merge pull request #738 from ethereum/JustinDrake-patch-4
Semantic fork versions and signature domains
2019-03-12 11:45:40 -06:00
Danny Ryan a68b050053
set fork values in genesis as bytes4 2019-03-12 11:35:59 -06:00
Danny Ryan 7b829227ee
Merge branch 'dev' into JustinDrake-patch-4 2019-03-12 11:28:33 -06:00
Danny Ryan 54fae53ce6
Merge pull request #750 from ethereum/JustinDrake-patch-7
Do not check withdrawal credentials for existing validators
2019-03-12 11:22:28 -06:00
Danny Ryan 25f6647ef2
minor formatting 2019-03-12 11:07:20 -06:00
Danny Ryan bdaba00a58
Merge branch 'dev' into JustinDrake-patch-7 2019-03-12 10:56:22 -06:00
Danny Ryan c0fb46edfb
Merge pull request #761 from ethereum/JustinDrake-patch-9
CC0 1.0 Universal for repo
2019-03-12 10:55:17 -06:00
Danny Ryan a4a1763e98
Merge pull request #762 from ethereum/JustinDrake-patch-10
Epoch-based proposer slashing
2019-03-12 10:49:23 -06:00
Hsiao-Wei Wang 0f120415b5
Update specs/core/0_beacon-chain.md
Co-Authored-By: JustinDrake <drakefjustin@gmail.com>
2019-03-12 16:49:04 +01:00
Justin d8a3048f2c
Update 0_beacon-chain.md 2019-03-12 12:36:09 +00:00
Justin 64ba3a3107
Epoch-based proposer slashing
See #675 item 25.
2019-03-12 12:24:37 +00:00
Justin 2e6c517117
CC0 1.0 Universal for repo 2019-03-12 11:59:08 +00:00
Justin addf7b77ab
Update 0_beacon-chain.md 2019-03-12 10:26:34 +00:00
Justin 578bf02b6f
Update 0_beacon-chain.md 2019-03-12 10:17:34 +00:00
Danny Ryan 3916643ef6
only update justified epoch/root if changed 2019-03-11 18:23:17 -06:00
Danny Ryan f06a3b82e7
cache current and previous justified root in state 2019-03-11 14:38:10 -06:00
Justin 0704297480
Update 0_beacon-chain.md 2019-03-11 17:28:39 +01:00
Danny Ryan 8ca303efc5
Merge pull request #746 from ethereum/min-time-to-exit
Cannot exit until 2048 epochs (#675 item 21) [redo]
2019-03-11 10:04:06 -06:00
Danny Ryan 9c2d34d876
Merge branch 'dev' into min-time-to-exit 2019-03-11 09:45:39 -06:00
Danny Ryan 2c7c48a4e0
Merge pull request #751 from ethereum/JustinDrake-patch-8
Disallow duplicate voluntary exits
2019-03-11 09:09:53 -06:00
Danny Ryan 236c43b575
Merge pull request #752 from ethereum/JustinDrake-patch-9
Weaken criterion for attestation inclusion
2019-03-11 09:01:59 -06:00
Justin 2d3d7e33b3
Weaken criterion for attestation inclusion
The invariant that `get_current_epoch(state) in [get_current_epoch(state), get_previous_epoch(state)]` is preserved, as well as symmetry/fairness across blocks.
2019-03-10 21:58:32 +01:00
Danny Ryan 641bfc2f2c
Merge pull request #744 from ethereum/empty-attestation-bug
minor execution bugs
2019-03-10 08:26:21 -06:00
Justin d425ea26e2
Update 0_beacon-chain.md 2019-03-10 13:50:28 +01:00
Justin b7376aea5c
Disallow duplicate voluntary exits
Stricter processing of voluntary exits to remove an edge case
2019-03-10 13:49:37 +01:00
Justin 02428ec252
Do not check withdrawal credentials for existing validators
We should not invalidate blocks that contain a deposit with an inconsistent withdrawal credential as that would stall the chain.
2019-03-10 13:25:57 +01:00
Danny Ryan 902e65e072
add min persistent committee period resitriction on exits 2019-03-08 15:16:06 -07:00
Danny Ryan 0f3e0ef2ad
Merge pull request #743 from ethereum/JustinDrake-patch-9
Minor cleanups
2019-03-08 14:59:39 -07:00
Danny Ryan aa29cd7947
Merge pull request #739 from ethereum/JustinDrake-patch-7
Use hash_tree_root everywhere
2019-03-08 14:58:26 -07:00
Danny Ryan 30e64d7de6
fix get_inactivity_penalty function signature 2019-03-08 12:14:21 -07:00
Danny Ryan f88db44e81
skip proposer bonus if no attestation for v index 2019-03-08 12:07:57 -07:00