lighthouse-pulse/lighthouse/sync/block.rs

25 lines
354 B
Rust
Raw Normal View History

use std::sync::Arc;
use super::db::ClientDB;
2018-09-14 05:52:49 +00:00
use slog::Logger;
pub enum BlockStatus {
Valid,
AlreadyKnown,
TooOld,
TimeInvalid,
UnknownPoWHash,
NoAttestations,
InvalidAttestation,
NotProposerSigned,
}
pub fn process_unverified_blocks(
_serialized_block: &[u8],
_db: Arc<ClientDB>,
2018-09-14 05:52:49 +00:00
_log: Logger)
{
//
}