lighthouse-pulse/lighthouse/sync/block.rs
Paul Hauner 33b1e6ddf4 Partially implemented db wrapper
Addresses issue #12
2018-09-17 17:52:32 +10:00

25 lines
354 B
Rust

use std::sync::Arc;
use super::db::ClientDB;
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>,
_log: Logger)
{
//
}