Jacek Sieka fa1621db46
implement clock disparity for attestation validation (#1568)
This implements disparity, resolving a part of
https://github.com/status-im/nim-beacon-chain/issues/1367

* make BeaconTime a duration for fractional seconds
* factor out attestation/aggregate validation
* simplify recording of queued attestations
* simplify attestation signature check
* fix blocks_received metric
* add some trivial validation tests
* remove unresolved attestation table - attestations for unknown blocks
are dropped instead (cannot verify their signature)
2020-08-27 09:34:12 +02:00
..
2020-08-06 14:49:58 +03:00
2020-08-19 14:51:04 +03:00
2020-06-01 16:58:28 +03:00
2020-08-19 14:51:04 +03:00
2020-08-19 14:51:04 +03:00