protolambda
103a66b2af
remove signing_root: see issue #1487
2019-12-03 21:10:19 +01:00
Danny Ryan
74253bdbaf
attestations for future blocks not valid in fork choice
2019-11-12 11:29:46 -07:00
Danny Ryan
e7f71886b0
Merge pull request #1466 from ethereum/decoy-flip-flop
...
Decoy flip flop resistance
2019-11-08 03:10:41 +08:00
Danny Ryan
f331b55b9e
Merge pull request #1465 from ethereum/bounce-attack
...
Bounce attack resistance
2019-11-08 02:56:46 +08:00
Danny Ryan
e1d2823810
Merge branch 'bounce-attack' into decoy-flip-flop
2019-11-06 17:20:59 -07:00
Danny Ryan
fc40bff2a8
use best_justified_checkpoint instead of queued_justified_checkpoints
2019-11-06 17:10:32 -07:00
Danny Ryan
4f42f63e4e
only allow attestatiosn to be considered from current and previous epoch
2019-11-05 13:01:58 -07:00
Danny Ryan
97d7cf5190
further test bounce attack
2019-11-05 10:58:45 -07:00
Danny Ryan
405e218598
add initial fork choice bounce prevention and tests
2019-11-05 08:55:34 -07:00
Danny Ryan
65b615a4d4
remove custody_bits from attestation
2019-11-01 21:02:53 -06:00
protolambda
96d4516889
fix forkchoice tests: fix test decorators, fix block state roots, clean up some logic
2019-10-28 09:35:19 +01:00
dankrad
b345dc0f5f
Legendre custody construction ( #1305 )
...
* Stab at Legendre custody construction + some tests
* Fix some problems and fix function puller to remove phase0 only lines in phase1
* Pass the linter
* Add headings
* Fix domain for BLS stub
* Change Jacobi to Legendre
* n -> q to clarify notation
* Headings
* Another missing heading
* Custody subchunks via padding
* Fix max_reveal_lateness stuff
* Better names for reveal period functions
* Better parametrization of max_reveal_lateness computation and tests for custody reveal processing
* Fix linter
* Allow challenging for one period after the custody reveal, shorter periods for minimal tests
* Fix lint
* Fix linter error
2019-08-11 13:05:17 -04:00
Hsiao-Wei Wang
1869cfed2e
test finalized_checkpoint update
2019-07-01 07:48:20 +08:00
Hsiao-Wei Wang
84d8ca740c
Improve fork choice rule test coverage
2019-07-01 06:33:10 +08:00
Justin Drake
d0acd81157
WIP
2019-06-30 10:02:18 +01:00
Justin Drake
196ac42025
Cleanup naming
2019-06-28 12:23:22 +01:00
Dankrad Feist
2622548ba7
Merge remote-tracking branch 'origin/dev' into dankrad-patch-8
...
# Conflicts:
# specs/core/0_beacon-chain.md
2019-06-28 08:36:45 +01:00
Danny Ryan
0827fbd7d5
Merge branch 'fork-choice-epoch' into checkpoints
2019-06-25 15:00:04 -06:00
Danny Ryan
c64289677f
fix gethead tests
2019-06-25 14:47:46 -06:00
Danny Ryan
228195d89d
get head tests
2019-06-25 11:48:55 -06:00
Danny Ryan
ac06362716
Merge branch 'fork-choice-epoch' into checkpoints
2019-06-25 10:37:04 -06:00
Danny Ryan
846ca649aa
properly construct genesis latest block header in tests
2019-06-25 10:36:11 -06:00
Danny Ryan
b8c0985e60
merge in fork choice. tests pass
2019-06-24 22:12:55 -06:00
Danny Ryan
d9b97578c0
lint
2019-06-24 21:23:24 -06:00
Danny Ryan
751738f411
enhance fork choice testing
2019-06-24 21:01:15 -06:00