Commit Graph

919 Commits

Author SHA1 Message Date
Danny Ryan
a9be1018d3 Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
2019-03-01 00:13:32 -06:00
Danny Ryan
19c3189c1c Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
2019-03-01 00:13:22 -06:00
Danny Ryan
087576a7bb Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
2019-03-01 00:12:45 -06:00
vbuterin
80ac62606c Unified deposit processing between genesis and transaction 2019-02-28 21:07:10 -06:00
Danny Ryan
8df7de150e Merge pull request #703 from Nashatyrev/strict-active-validator
Make 'Any active validator' statements stricter.
2019-02-28 17:24:30 -07:00
Hsiao-Wei Wang
bcb0b8bf87 Refactor exit_validator 2019-03-01 00:49:51 +08:00
Hsiao-Wei Wang
bdd6868736 Fix ToC 2019-03-01 00:49:51 +08:00
Hsiao-Wei Wang
b836b30bff Fix "is_ready_to_exit" condition 2019-03-01 00:49:45 +08:00
Anton Nashatyrev
f38dc048e4 Make 'Any active validator' statement more strict. 2019-02-28 17:17:00 +03:00
Danny Ryan
bb44d25665 Merge pull request #688 from decanus/patch-21
Use `slashed` bool more Pythonicly
2019-02-27 15:02:33 -07:00
Danny Ryan
5692b3483d Update 0_beacon-chain.md 2019-02-27 15:02:11 -07:00
Danny Ryan
769afa704e Merge pull request #684 from ethereum/vbuterin-patch-5
Developer notice
2019-02-27 14:58:29 -07:00
vbuterin
e9c3af5428 Update 1_shard-data-chains.md 2019-02-26 18:00:20 -06:00
Alex Stokes
e7d908f1f1 formatting nitpick
drop some parens in the spirit of consistency and parsimony
2019-02-26 14:45:25 -08:00
Dean Eigenmann
8b14a2bef5 Update 0_beacon-chain.md 2019-02-26 17:15:26 +01:00
vbuterin
05f6f68028 Made developer notice less committal 2019-02-25 16:45:57 -06:00
Dean Eigenmann
c9f1dfcbb3 Update 0_beacon-chain.md 2019-02-25 21:39:23 +01:00
Danny Ryan
b2a3ee4bbc skip bad proof of possession deposits 2019-02-25 09:36:52 -07:00
Danny Ryan
fbb70e91eb remove todo 2019-02-25 07:58:23 -07:00
Danny Ryan
b2ed80250a Merge pull request #678 from ethereum/JustinDrake-patch-6
Allow transfers from non-activated validators
2019-02-25 07:54:57 -07:00
vbuterin
6a92407702 Developer notice 2019-02-25 04:16:18 -06:00
Justin
6b5769a861 Update 0_beacon-chain.md 2019-02-25 10:30:03 +01:00
Justin
da6b5466d5 Allow transfers from non-activated validators
See item 6 in https://github.com/ethereum/eth2.0-specs/issues/675. This makes transfers more generic.
2019-02-23 20:25:55 +01:00
Justin
1d757aec74 Specify lexicographic ordering of crosslink_data_root
Fix #542.
2019-02-22 21:02:03 +01:00
Danny Ryan
060e3c36c5 fix up previous epoch logic around genesis (#672) 2019-02-22 20:51:09 +01:00
Danny Ryan
06e6496bca Merge pull request #662 from ethereum/vbuterin-patch-5
Rename shard_block_root -> crosslink_data_root
2019-02-22 08:51:01 -07:00
Danny Ryan
b89cd234f0 change shard_block_root to crosslink_data_root throughout 2019-02-22 08:50:03 -07:00
Danny Ryan
a683416537 Fix slot range for attestation inclusion (#669)
* Fix slot range for attestation inclusion

* Update specs/core/0_beacon-chain.md

Co-Authored-By: djrtwo <dannyjryan@gmail.com>
2019-02-22 23:36:36 +08:00
Danny Ryan
d27132cb0a Merge pull request #658 from ethereum/vbuterin-patch-3
Turned slashed and initiated_exit into booleans
2019-02-22 08:34:17 -07:00
Dean Eigenmann
e1fc8a5765 Update 0_beacon-chain.md 2019-02-22 13:00:29 +01:00
Dean Eigenmann
a8c3c45faf Update 0_beacon-chain.md 2019-02-22 12:58:59 +01:00
vbuterin
f77b9e2414 Changed name to crosslink data commitment 2019-02-22 00:21:56 -06:00
Danny Ryan
830ae3be9a Merge pull request #655 from ethereum/JustinDrake-patch-4
Reduce GENESIS_SLOT to 2**32
2019-02-21 14:51:12 -07:00
Justin
5f59aad00d Clarify use of FAR_FUTURE_EPOCH as a flag 2019-02-21 22:34:11 +01:00
Hsiao-Wei Wang
26908d5579 Fix constant name MIN_VALIDATOR_WITHDRAWABILITY_DELAY -> MIN_VALIDATOR_WITHDRAWABILITY_DELAY (#661) 2019-02-20 15:58:25 +00:00
Hsiao-Wei Wang
a79fa398f1 Minor fix: messages -> message_hashes (#664) 2019-02-20 11:42:53 +00:00
Justin
e25e87f003 Update 0_beacon-chain.md 2019-02-20 07:45:19 +00:00
Justin
9ac61e57c0 Update 0_beacon-chain.md 2019-02-20 07:18:12 +00:00
vbuterin
461cd8b599 Rename shard_block_root -> shard_data_commitment 2019-02-20 00:46:28 -06:00
vbuterin
09e8448763 Turned slashed and initiated_exit into booleans
Cuts validator record size from 120 to 106 bytes, and arguably is a simplification
2019-02-19 20:00:46 -06:00
Alex Stokes
8262ce1cc0 Fix typo from earlier renaming in #534. 2019-02-19 15:09:11 -07:00
Justin
9b7b35bc9d Reduce GENESIS_SLOT to 2**32
* Address the slot/epoch underflow problem, even for Java implementers! 🎉
* Squash a bug with `get_previous_epoch`
* Fix #642
* Address #626 (Vitalik, Danny, myself agree that avoiding signed integers is probably best)
2019-02-19 21:08:10 +00:00
terence tsao
a3d85c8405 Update 0_beacon-chain.md (#654) 2019-02-19 17:49:37 +00:00
vbuterin
2540f55c13 Updated phase 1: branch and early subkey reveal challenges (#587)
* Updated phase 1: branch challenges

* Removed unnecessary line

* Added early subkey reveal slashing

* Revealing during the active period is still revealing early

* Added....

* Machinery for publishing old subkeys
* Inability to withdraw until you published all subkeys
* After a validator exits the queue there's still a minimum 1-day delay before they can withdraw (in the future this delay will be used as an opportunity to start a PoC challenge game)

* Update 1_shard-data-chains.md

* formatting

* minor edits

* Added masking scheme for reveals

Secure under the aggregate extraction infeasibility assumption described on pages 11-12 of https://crypto.stanford.edu/~dabo/pubs/papers/aggreg.pdf

* Added rewards going to challengers

* Add ToC and reorg the constant tables

* Remove tags

* fix constant formatting

* normalize domain constants in phase 1

* Update 1_shard-data-chains.md

* Update 1_shard-data-chains.md

* Update 1_shard-data-chains.md

* Added transition logic

* Fix ToC

* Fix ToC

* Adjusted for #615

* Added more helpers

* epoch -> slot

* fix some type hints

* clean up `get_attestation_merkle_depth`
2019-02-19 05:26:35 -06:00
Danny Ryan
0bc3998c89 Merge pull request #641 from paulhauner/patch-11
Fix out-of-bounds in `get_shuffling`
2019-02-18 10:22:57 -07:00
Danny Ryan
75e649cc15 Merge pull request #634 from paulhauner/patch-10
Add explicit assert to get_permutated_index
2019-02-18 10:14:07 -07:00
Danny Ryan
9eb3be5471 Merge branch 'dev' into JustinDrake-patch-1 2019-02-17 21:16:45 -07:00
Cayman
5fbbb4f181 Clarify merkle_root documentation (#646)
This function is used to get the merkle root of some block roots which are themselves hashes, so the leaves do not need to be rehashed.
Unfortunately, it's easy to assume that a merkle_root function would hash its leaves, so it should be clarified.
2019-02-18 12:11:01 +08:00
Cayman
eea413bcc5 Fix typos (#648) 2019-02-17 22:53:59 +00:00
Justin
4baa13050e Update 0_beacon-chain.md 2019-02-16 21:13:46 +00:00