Add pre-written validation code

This adds block and attestation validation code that was written
previously. There were many non-validation specific changes made whilst
building these functions (e.g., db, hashing, etc) -- these changes have
already been merged into master and this branch has been created just to
make it easy to review this code.
This commit is contained in:
Paul Hauner
2018-10-02 17:35:03 +10:00
parent 6a75aa3246
commit 117a207d49
19 changed files with 2104 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#![feature(test)]
extern crate lighthouse;
extern crate tests;
mod block_validation;