Commit Graph

1828 Commits

Author SHA1 Message Date
protolambda 883ea93545
update generator helper readme 2019-03-28 00:53:20 +08:00
protolambda bf951688b0
update pyspec readme 2019-03-28 00:49:39 +08:00
protolambda 645682553d
Update readme with links to spec contributor docs 2019-03-28 00:49:38 +08:00
protolambda c7da23e6da
update ci config and makefile 2019-03-28 00:49:38 +08:00
protolambda 64f012b276
Move test-generators to specs repo
Co-authored-by: Chih Cheng Liang <chihchengliang@gmail.com>
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
Co-authored-by: Dmitrii Shmatko <leodex23@gmail.com>
Co-authored-by: Jannik Luhn <jannik@brainbot.com>
Co-authored-by: Paul Hauner <paul@paulhauner.com>
Co-authored-by: protolambda <proto@protolambda.com>
2019-03-28 00:49:04 +08:00
protolambda 53e528e56c
work in progress: setup test libs, pyspec, pytests 2019-03-28 00:28:20 +08:00
Danny Ryan c978bb4a67
Merge pull request #826 from ethereum/vbuterin-patch-16
Simplify justification and finalization accounting logic
2019-03-26 13:31:57 -06:00
Danny Ryan a38e3525cd
ensure validator balances are losing when no finality 2019-03-26 13:18:18 -06:00
Danny Ryan 654351faea
Merge branch 'dev' into vbuterin-patch-16 2019-03-26 13:04:18 -06:00
Danny Ryan 8550d7597a
Merge pull request #808 from ethereum/vbuterin-patch-18
Replace committee exponential backoff with max progress
2019-03-26 13:03:00 -06:00
Danny Ryan 2c5a68b5b5
remove registry_change options from shuffling functions 2019-03-26 12:32:24 -06:00
Danny Ryan 9fa6055a8a
add more attestation tests 2019-03-26 11:41:15 -06:00
Danny Ryan a8410b8b84
add some attestation tests. fix genesi crosslink bug 2019-03-26 11:27:07 -06:00
Danny Ryan cdbba3e181
Merge branch 'vbuterin-patch-18' of github.com:ethereum/eth2.0-specs into vbuterin-patch-18 2019-03-26 10:16:29 -06:00
Danny Ryan 2c8e9a11e7
Merge branch 'dev' into vbuterin-patch-18 2019-03-26 10:13:17 -06:00
Danny Ryan 9bc1928bed
Merge pull request #780 from ethereum/JustinDrake-patch-7
Simplify deposits
2019-03-26 07:40:21 -06:00
Danny Ryan 5a708bae34
fix tests 2019-03-26 07:38:51 -06:00
Danny Ryan c5f1db27f5
Merge branch 'dev' into JustinDrake-patch-7 2019-03-26 07:38:39 -06:00
Danny Ryan 2d413be91f
Merge pull request #779 from ethereum/JustinDrake-patch-4
Move to SHA256
2019-03-26 07:19:46 -06:00
vbuterin d0c473dbf8
Merge branch 'dev' into vbuterin-patch-18 2019-03-26 09:17:35 -04:00
Danny Ryan be57cafbfb
switch utils hash-function to sha256 2019-03-26 07:17:08 -06:00
Danny Ryan 7f53f257cd
Merge branch 'dev' into JustinDrake-patch-4 2019-03-26 07:14:34 -06:00
Danny Ryan db63b3e013
Merge pull request #772 from ethereum/vbuterin-patch-13
Fair proposer selection probability
2019-03-26 07:14:07 -06:00
Danny Ryan 0121adea38
fix beacon proposer function and mod v-guide to not have lookahead for proposing 2019-03-26 07:09:48 -06:00
Danny Ryan fcc1c64acb
Merge branch 'dev' into vbuterin-patch-13 2019-03-26 06:45:40 -06:00
Danny Ryan 3e9a304b47
Merge pull request #840 from ethereum/port-839
backport v0.5.1 bugfixes and #839 into dev
2019-03-25 14:22:26 -06:00
Danny Ryan fceebeec4e
backport 839 into dev 2019-03-25 11:25:33 -06:00
vbuterin e8257db320
Removed hanging min 2019-03-22 05:40:41 -05:00
Hsiao-Wei Wang 40aa82beb7
Merge pull request #830 from ethereum/hwwhww/balance_functions
Fix type hints of the new balance functions
2019-03-22 16:31:40 +08:00
Hsiao-Wei Wang b34858c67b
Refactor `get_justification_and_finalization_deltas` 2019-03-22 14:21:33 +08:00
Hsiao-Wei Wang ae67e9513b
Fix type hinting and add docstrings 2019-03-22 12:56:54 +08:00
Hsiao-Wei Wang 49cdef54e9
Merge pull request #827 from ethereum/vbuterin-patch-20
Cosmetic improvement to reward/penalty functions
2019-03-22 11:59:23 +08:00
Hsiao-Wei Wang 512ceff1bb
Merge branch 'dev' into vbuterin-patch-20 2019-03-22 11:58:32 +08:00
Hsiao-Wei Wang 417d526ce9
Merge pull request #825 from terenc3t/patch-56
Add table fo contents for light client sync
2019-03-22 11:53:25 +08:00
Hsiao-Wei Wang 9e912e03d2
Merge pull request #829 from terenc3t/patch-57
Update sync_protocol.md
2019-03-22 11:52:53 +08:00
terence tsao 11c3291817
Update sync_protocol.md 2019-03-21 16:30:45 -07:00
Danny Ryan 750383ed71
Merge pull request #806 from ethereum/JustinDrake-patch-19
Stricter slashing criteria
2019-03-21 17:10:01 -06:00
Danny Ryan e313c5ba5a
add tests for proposer slashing 2019-03-21 17:08:54 -06:00
Danny Ryan 64e3db09d4
Merge branch 'dev' into JustinDrake-patch-19 2019-03-21 16:25:31 -06:00
Danny Ryan d8ad56f759
Merge pull request #828 from ethereum/vbuterin-patch-20-1
Small cosmetic change to slashable attestations
2019-03-21 15:50:08 -06:00
Danny Ryan c7172c4f5c
Merge pull request #728 from ethereum/vbuterin-patch-3
High/low balance separation
2019-03-21 15:45:50 -06:00
vbuterin 3ece05ccc1
Small cosmetic change to slashable attestations 2019-03-21 16:36:31 -05:00
vbuterin 3b403909e8
Cosmetic improvement to reward/penalty functions 2019-03-21 16:29:14 -05:00
vbuterin 38a5c3640b
Re-added some penalization in case of failure to finalize 2019-03-21 15:13:13 -05:00
vbuterin d1d1b73fb1
Simplify justification and finalization accounting logic
Much of the simplification is cosmetic. The following changes are substantive:

* Inactivity leak penalty specifically on missing the target, not both the target and the source
* Even outside of quadratic leak scenarios, slashing victims suffer offline penalties
2019-03-21 15:11:05 -05:00
terence tsao d3f175d728
Update sync_protocol.md 2019-03-21 11:33:36 -07:00
Danny Ryan f6da42ffb3
fix markdown issues 2019-03-21 10:04:20 -06:00
Danny Ryan 47477b8e55
cleanup tests to use get_balance and set_balance 2019-03-21 09:37:06 -06:00
Danny Ryan c99fe3fb38
Merge branch 'dev' into vbuterin-patch-3 2019-03-21 08:47:19 -06:00
Danny Ryan 5fef8ea339
Merge pull request #820 from ethereum/vbuterin-patch-16
Add docstring into get_split_offset
2019-03-21 08:26:13 -06:00