lighthouse-pulse/lighthouse/sync/block.rs

24 lines
318 B
Rust
Raw Normal View History

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