mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Merge new beacon block, Rust 2018
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
name = "attestation_validation"
|
||||
version = "0.1.0"
|
||||
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
bls = { path = "../utils/bls" }
|
||||
db = { path = "../../lighthouse/db" }
|
||||
hashing = { path = "../utils/hashing" }
|
||||
ssz = { path = "../utils/ssz" }
|
||||
ssz_helpers = { path = "../utils/ssz_helpers" }
|
||||
types = { path = "../types" }
|
||||
|
||||
@@ -2,7 +2,6 @@ extern crate bls;
|
||||
extern crate db;
|
||||
extern crate hashing;
|
||||
extern crate ssz;
|
||||
extern crate ssz_helpers;
|
||||
extern crate types;
|
||||
|
||||
#[macro_use]
|
||||
@@ -15,9 +14,9 @@ mod justified_slot;
|
||||
mod shard_block;
|
||||
mod signature;
|
||||
|
||||
pub use enums::{Invalid, Outcome, Error};
|
||||
pub use block_inclusion::validate_attestation_for_block;
|
||||
pub use justified_slot::validate_attestation_justified_slot;
|
||||
pub use justified_block::validate_attestation_justified_block_hash;
|
||||
pub use signature::validate_attestation_signature;
|
||||
pub use shard_block::validate_attestation_data_shard_block_hash;
|
||||
pub use crate::enums::{Invalid, Outcome, Error};
|
||||
pub use crate::block_inclusion::validate_attestation_for_block;
|
||||
pub use crate::justified_slot::validate_attestation_justified_slot;
|
||||
pub use crate::justified_block::validate_attestation_justified_block_hash;
|
||||
pub use crate::signature::validate_attestation_signature;
|
||||
pub use crate::shard_block::validate_attestation_data_shard_block_hash;
|
||||
|
||||
Reference in New Issue
Block a user