lighthouse/eth2/state_processing/src
blacktemplar 01054ecf2f Use SignatureBytes and PublicKeyBytes for deposits (#472)
* Replace deposit signatures with SignatureBytes, a struct which lazyly parsers signatures only on demand.

* check byte length when parsing SignatureBytes

* add comment to struct

* distinguish BadSignature and BadSignatureBytes in verify_deposit_signature

* add test for valid signature

* Implements TryInto<Signature> for &SignatureBytes and From<Signature> for &SignatureBytes

* add and use PublicKeyBytes + fix formatting

* fix compiler warning + docs for macro generated structs

* adds tests to ensure correct byte lengths

* small style improvement as suggested by michaelsproul
2019-08-06 13:49:11 +10:00
..
common Add v0.8 genesis tests (#466) 2019-07-30 17:02:38 +10:00
per_block_processing Use SignatureBytes and PublicKeyBytes for deposits (#472) 2019-08-06 13:49:11 +10:00
per_epoch_processing Update to frozen spec ❄️ (v0.8.1) (#444) 2019-07-30 12:44:51 +10:00
genesis.rs Add v0.8 genesis tests (#466) 2019-07-30 17:02:38 +10:00
lib.rs Add v0.8 genesis tests (#466) 2019-07-30 17:02:38 +10:00
macros.rs Refactor winning root logic 2019-03-07 11:32:53 +11:00
per_block_processing.rs Use SignatureBytes and PublicKeyBytes for deposits (#472) 2019-08-06 13:49:11 +10:00
per_epoch_processing.rs Update to frozen spec ❄️ (v0.8.1) (#444) 2019-07-30 12:44:51 +10:00
per_slot_processing.rs Update to frozen spec ❄️ (v0.8.1) (#444) 2019-07-30 12:44:51 +10:00