1749 Commits

Author SHA1 Message Date
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
Justin
d25c18b320
Update 0_beacon-chain.md 2019-03-17 11:48:47 +00:00
vbuterin
91a0c1ba5f Persistent committee size per slot reduced to max 128 (#734)
* Persistent committee size per slot target 128 max 256

Cuts down the cost of verifying a shard chain and aggregating signatures for a shard chain, and also makes the shard chain signatures more usable by light clients for verification as they would only need to keep track of a max 256-sized committee.
2019-03-17 11:44:19 +00:00
Hsiao-Wei Wang
6b82f5e999 Set GENESIS_FORK_VERSION to a bytes4 constant (#792)
* Set `GENESIS_FORK_VERSION` to a `bytes4` constant

* Update 0_beacon-chain.md
2019-03-17 11:33:42 +00:00
Justin
390ece7fbe
Rename "vector" to "tuple" in SSZ spec (#794)
To be done in combination with #777.

Also:

* Define "fixed-size" and "variable-size" more rigorously
* Use `"` vs `'` consistently
* Add missing `"`
2019-03-17 11:33:29 +00:00
vbuterin
506fdf4042 Added FixedSizeList wrappers (#777)
* Added FixedSizeList wrappers

Requires corresponding changes to the spec pythonizer.

* FixedSizeList -> Vector
2019-03-17 11:33:19 +00:00
Sören Steiger
65162e0371 Update 0_beacon-chain.md (#791) 2019-03-16 20:56:10 +00:00
Sören Steiger
919b99e0ae Add missing word (#788) 2019-03-16 12:46:45 +00:00
NIC Lin
1a0938169b Fix get_split_offset (#790) 2019-03-16 12:45:39 +00:00
Justin
e5ff0d59ad
Update 0_beacon-chain.md 2019-03-16 11:23:41 +00:00
Sören Steiger
6b118d2398 Add trailing comma (#789) 2019-03-16 12:16:47 +08:00
Justin
3944fd4b15
Clarify empty sums in BLS spec (#782)
Fix #775.
2019-03-15 18:18:37 +00:00
Justin
709e0df39f
Update 0_beacon-chain.md 2019-03-15 13:54:33 +00:00
Justin
1236e8e1fa
Update 0_beacon-chain.md 2019-03-15 13:53:24 +00:00
Justin
4b461838d2
GENESIS_EPOCH - 1 for previous_shuffling_epoch and previous_justified_epoch
See item 26 in #675.
2019-03-15 13:32:24 +00:00
Justin
e912ed7fca
Include recently slashed churn in churn queue
Addresses #527 in combination with #784.
2019-03-15 13:12:03 +00:00
Justin
4a8d748c55
Milder ejections
See item 22 in https://github.com/ethereum/eth2.0-specs/issues/675. Also partially addresses https://github.com/ethereum/eth2.0-specs/issues/527.
2019-03-15 13:05:46 +00:00
Justin
d8d653dd94
Update 0_beacon-chain.md 2019-03-15 12:51:46 +00:00
Justin
96ab535704
Simplify and cleanup process_attestation
Improve readability and testability (by avoiding untriggerable `assert`). Fix #753.
2019-03-15 12:40:52 +00:00
Justin
68d1c74784
Update 0_beacon-chain.md 2019-03-15 09:45:20 +00:00
Justin
5d327b6364
Update 0_beacon-chain.md 2019-03-15 09:43:38 +00:00
vbuterin
24468de23b
Change get_shuffling to compute_committee
See #729 and #774 

The behavior now is that the first committee will consist of `get_permuted_index(0..n-1)`, the second committee `get_permuted_index(n....2n-1)`, etc.
2019-03-14 20:28:44 -05: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