eth2.0-specs/specs/phase0
Jacek Sieka 6f7652d330
process_attestation: Validate epoch before using it
`data.target.epoch` is used to count the active validator set.

Because `get_committee_count_per_slot` is extremely inefficient the way
the spec is written, clients cache it, or the underlying active
validator set.

Performing the checks in the given order leads to a (very unlikely)
security issue where the a cold and above all, distant value may get
used which may be costly - reordering the checks brings the value into a
more reasonable range before using it.
2020-07-24 07:26:37 +02:00
..
beacon-chain.md process_attestation: Validate epoch before using it 2020-07-24 07:26:37 +02:00
deposit-contract.md reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07:00
fork-choice.md Merge branch 'dev' into hwwhww/strict-uint64 2020-06-25 17:18:16 +08:00
p2p-interface.md pr feedback 2020-07-23 10:03:43 -06:00
validator.md Merge branch 'dev' into hwwhww/new_int_to_bytes_dev 2020-07-16 01:36:19 +08:00