mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
25 lines
354 B
Rust
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)
|
|
{
|
|
//
|
|
}
|
|
|
|
|