mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-26 01:03:40 +00:00
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:
12
beacon_chain/validation/tests/block_validation/mod.rs
Normal file
12
beacon_chain/validation/tests/block_validation/mod.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
mod helpers;
|
||||
mod tests;
|
||||
|
||||
use super::bls;
|
||||
use super::db;
|
||||
use super::hashing;
|
||||
use super::ssz;
|
||||
use super::ssz_helpers;
|
||||
use super::types;
|
||||
use super::validation;
|
||||
|
||||
use super::attestation_validation::helpers::generate_attestation;
|
||||
Reference in New Issue
Block a user